55 db.append(
"places.sqlite");
58 do_check_false(db.exists());
62 Cc[
"@mozilla.org/browser/browserglue;1"].getService(
Ci.nsIBrowserGlue);
65 let
hs =
Cc[
"@mozilla.org/browser/nav-history-service;1"].
69 do_check_eq(hs.databaseStatus, hs.DATABASE_STATUS_CREATE);
74 do_timeout(1000,
"continue_test();");
78 let
bs =
Cc[
"@mozilla.org/browser/nav-bookmarks-service;1"].
81 if (bs.getIdForItemAt(bs.toolbarFolder, 0) == -1) {
83 do_timeout(1000,
"continue_test();");
89 do_check_eq(bs.getItemTitle(itemId),
"examplejson");
do_check_eq(typeof PlacesUtils,"object")
function create_bookmarks_html(aFilename)
const SMART_BOOKMARKS_ON_TOOLBAR
getService(Ci.sbIFaceplateManager)
function create_JSON_backup(aFilename)