47 var
os =
Cc[
"@mozilla.org/observer-service;1"].
53 var
hs =
Cc[
"@mozilla.org/browser/nav-history-service;1"].
57 do_check_eq(hs.databaseStatus, hs.DATABASE_STATUS_CORRUPT);
60 var tm =
Cc[
"@mozilla.org/thread-manager;1"].
62 tm.mainThread.dispatch({
66 },
Ci.nsIThread.DISPATCH_NORMAL);
85 db.append(
"places.sqlite");
88 do_check_false(db.exists());
92 corruptDB.append(
"corruptDB.sqlite");
93 corruptDB.copyTo(
gProfD,
"places.sqlite");
94 do_check_true(db.exists());
97 Cc[
"@mozilla.org/browser/browserglue;1"].getService(
Ci.nsIBrowserGlue);
100 var
hs =
Cc[
"@mozilla.org/browser/nav-history-service;1"].
108 var
bs =
Cc[
"@mozilla.org/browser/nav-bookmarks-service;1"].
113 do_check_true(itemId > 0);
do_check_eq(typeof PlacesUtils,"object")
const SMART_BOOKMARKS_ON_TOOLBAR
getService(Ci.sbIFaceplateManager)
const NS_PLACES_INIT_COMPLETE_TOPIC
function remove_all_JSON_backups()
function remove_bookmarks_html()
_updateTextAndScrollDataForFrame aData
sbDeviceFirmwareAutoCheckForUpdate prototype observe