![]() cvsroot/mozilla/toolkit/mozapps/downloads/tests/browser/browser_bug_410289.js,v <- browser_bug_410289.jsĬhecking in toolkit/mozapps/downloads/tests/browser/browser_bug_411172.js New revision: 1.2 previous revision: 1.1Ĭhecking in toolkit/mozapps/downloads/tests/browser/browser_bug_410289.js cvsroot/mozilla/toolkit/mozapps/downloads/tests/browser/browser_bug_394039.js,v <- browser_bug_394039.js cvsroot/mozilla/toolkit/mozapps/downloads/tests/browser/browser_basic_functionality.js,v <- browser_basic_functionality.jsĬhecking in toolkit/mozapps/downloads/tests/browser/browser_bug_394039.js New revision: 1.10 previous revision: 1.9Ĭhecking in toolkit/mozapps/downloads/tests/browser/browser_basic_functionality.js cvsroot/mozilla/toolkit/mozapps/downloads/tests/browser/Makefile.in,v <- Makefile.in New revision: 1.6 previous revision: 1.5Ĭhecking in toolkit/mozapps/downloads/tests/browser/Makefile.in cvsroot/mozilla/toolkit/mozapps/downloads/src/DownloadUtils.jsm,v <- DownloadUtils.jsm New revision: 1.138 previous revision: 1.137Ĭhecking in toolkit/mozapps/downloads/src/DownloadUtils.jsm cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v <- downloads.js New revision: 1.4 previous revision: 1.3Ĭhecking in toolkit/mozapps/downloads/content/downloads.js cvsroot/mozilla/toolkit/components/downloads/test/browser/browser_nsIDownloadManagerUI.js,v <- browser_nsIDownloadManagerUI.js New revision: 1.3 previous revision: 1.2Ĭhecking in toolkit/components/downloads/test/browser/browser_nsIDownloadManagerUI.js cvsroot/mozilla/toolkit/components/downloads/test/browser/browser_bug414214.js,v <- browser_bug414214.js New revision: 1.7 previous revision: 1.6Ĭhecking in toolkit/components/downloads/test/browser/browser_bug414214.js cvsroot/mozilla/toolkit/components/downloads/src/nsDownloadManagerUI.js,v <- nsDownloadManagerUI.js You should talk to Enn about it.Ĭhecking in toolkit/components/downloads/src/nsDownloadManagerUI.js I'm not sure why you have to do all this. >+ let doEscape = function(aType) EventUtils.synthesizeKey("VK_ESCAPE",, win) >+ win = wm.getMostRecentWindow("Download:Manager") You need to actually register a listener with the window watcher, and then register a DOMContentLoaded event like so: >+ // Wait for the UI to show up then do stuffĪctually, setTimeout is bad, and sayrer will be angry with you. functions like 'fmap' and 'toList' on a 'FocusList'.Comment on attachment 302221 | 'FocusList' is an instance of 'Functor' and 'Foldable', so you can use PrependFL "bye" (appendFL (singletonFL "hello") "foobar") (Focus 1) ["bye", "hello", :: FocusList String 'myFocusListAppended' will have a value of That single element will have the 'Focus'. 'singletonFL' creates a 'FocusList' with a single element. | You can append to either side of a 'FocusList'. MyFocusElement focuslist = getFocusItemFL focuslist MyFocusElement :: FocusList String -> Maybe String If the 'FocusList' is empty, this returns 'Nothing'. | You can get the focused element from an existing 'FocusList' If you try to specify a 'Focus' out of range from the input list, The 'Focus' is counting from zero, so the element should | Create a new 'FocusList' from a list. ![]() ![]() ( Focus(Focus), FocusList, appendFL, fromListFL, getFocusItemFL, prependFL Here is a short example of using FocusList. For operations where linked lists perform better the other packages are likely to be superior, though for other operations focuslist is likely to be faster. Focuslist however is optimised for fast indexing and insertion at any point, and can be empty. The focuslist package is similar to pointed-list or list-zipper. Supports quick insertion and indexing by its implementation with A FocusList is a sequence of elements which has one element as its Focus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |