browser_library_views_liveupdate.js File Reference

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 Documentation

function finishTest ( )

Restores browser state and calls finish.

Definition at line 178 of file browser_library_views_liveupdate.js.

Here is the caller graph for this function:

function getNodeForTreeItem (   aItemId,
  aTree 
)

Get places node and index for an itemId in a tree view.

Parameters
aItemIditem id of the item to search.
Returns
[node, index] or [null, null] if not found.

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.

Here is the call graph for this function:

Here is the caller graph for this function:

function test ( )

Definition at line 47 of file browser_library_views_liveupdate.js.

Here is the call graph for this function:

Variable Documentation

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.

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.