test_browserGlue_distribution.js File Reference

Go to the source code of this file.

Functions

function run_test ()
 
function continue_test ()
 
 do_register_cleanup (function(){let iniFile=dirSvc.get("XCurProcD", Ci.nsIFile);iniFile.append("distribution");iniFile.append("distribution.ini");iniFile.remove(false);do_check_false(iniFile.exists());})
 

Variables

const PREF_SMART_BOOKMARKS_VERSION = "browser.places.smartBookmarksVersion"
 
const PREF_BMPROCESSED = "distribution.516444.bookmarksProcessed"
 
const PREF_DISTRIBUTION_ID = "distribution.id"
 
const TOPIC_FINAL_UI_STARTUP = "final-ui-startup"
 
const TOPIC_PLACES_INIT_COMPLETE = "places-init-complete"
 
const TOPIC_CUSTOMIZATION_COMPLETE = "distribution-customization-complete"
 
let os
 
let observer
 

Function Documentation

function continue_test ( )

Definition at line 107 of file test_browserGlue_distribution.js.

Here is the call graph for this function:

do_register_cleanup ( function(){let iniFile=dirSvc.get("XCurProcD", Ci.nsIFile);iniFile.append("distribution");iniFile.append("distribution.ini");iniFile.remove(false);do_check_false(iniFile.exists());}  )
function run_test ( )

Definition at line 66 of file test_browserGlue_distribution.js.

Here is the call graph for this function:

Variable Documentation

let observer
Initial value:
= {
observe: function(aSubject, aTopic, aData) {
os.removeObserver(this, TOPIC_CUSTOMIZATION_COMPLETE);
do_timeout(0, "continue_test();");
}
}
}
const TOPIC_CUSTOMIZATION_COMPLETE
_updateTextAndScrollDataForFrame aData
sbDeviceFirmwareAutoCheckForUpdate prototype observe

Definition at line 56 of file test_browserGlue_distribution.js.

let os
Initial value:
= Cc["@mozilla.org/observer-service;1"].
getService(Ci.nsIObserverService)
const Cc
getService(Ci.sbIFaceplateManager)
const Ci

Definition at line 53 of file test_browserGlue_distribution.js.

const PREF_BMPROCESSED = "distribution.516444.bookmarksProcessed"

Definition at line 46 of file test_browserGlue_distribution.js.

const PREF_DISTRIBUTION_ID = "distribution.id"

Definition at line 47 of file test_browserGlue_distribution.js.

const PREF_SMART_BOOKMARKS_VERSION = "browser.places.smartBookmarksVersion"

Tests that nsBrowserGlue does not overwrite bookmarks imported from the migrators. They usually run before nsBrowserGlue, so if we find any bookmark on init, we should not try to import.

Definition at line 45 of file test_browserGlue_distribution.js.

const TOPIC_CUSTOMIZATION_COMPLETE = "distribution-customization-complete"

Definition at line 51 of file test_browserGlue_distribution.js.

const TOPIC_FINAL_UI_STARTUP = "final-ui-startup"

Definition at line 49 of file test_browserGlue_distribution.js.

const TOPIC_PLACES_INIT_COMPLETE = "places-init-complete"

Definition at line 50 of file test_browserGlue_distribution.js.