Go to the source code of this file.
Functions | |
| function | test () |
| function | startTest () |
| function | finishTest () |
| function | getNodeForTreeItem (aItemId, aTree) |
Variables | |
| const | Cc = Components.classes |
| const | Ci = Components.interfaces |
| var | gLibrary = null |
| var | bookmarksObserver |
| function finishTest | ( | ) |
Restores browser state and calls finish.
Definition at line 178 of file browser_library_views_liveupdate.js.
| function getNodeForTreeItem | ( | aItemId, | |
| aTree | |||
| ) |
Get places node and index for an itemId in a tree view.
| aItemId | item id of the item to search. |
Definition at line 272 of file browser_library_views_liveupdate.js.
| function startTest | ( | ) |
Adds bookmarks observer, and executes a bunch of bookmarks operations.
Definition at line 80 of file browser_library_views_liveupdate.js.
| function test | ( | ) |
Definition at line 47 of file browser_library_views_liveupdate.js.
| var bookmarksObserver |
The observer is where magic happens, for every change we do it will look for nodes positions in the affected views.
Definition at line 188 of file browser_library_views_liveupdate.js.
| const Cc = Components.classes |
Tests Library Left pane view for liveupdate.
Definition at line 42 of file browser_library_views_liveupdate.js.
| const Ci = Components.interfaces |
Definition at line 43 of file browser_library_views_liveupdate.js.
| var gLibrary = null |
Definition at line 45 of file browser_library_views_liveupdate.js.