40 let ss =
Cc[
"@mozilla.org/browser/sessionstore;1"].
42 let
ww =
Cc[
"@mozilla.org/embedcomp/window-watcher;1"].
51 {
url:
"http://www.mozilla.org/projects/minefield/", title:
"Minefield Start Page" },
60 let theWin = aSubject.QueryInterface(
Ci.nsIDOMWindow);
63 case "domwindowopened":
64 theWin.addEventListener(
"load",
function () {
65 theWin.removeEventListener(
"load",
arguments.callee,
false);
66 executeSoon(
function() {
69 ss.setWindowState(theWin,
JSON.stringify(state),
true);
74 ok(!gotError,
"Didn't get a malformed URI error.");
75 executeSoon(
function() {
82 case "domwindowclosed":
83 ww.unregisterNotification(
this);
89 ww.registerNotification(windowObserver);
93 "chrome,all,dialog=no",
const NS_ERROR_MALFORMED_URI
getService(Ci.sbIFaceplateManager)
return!aWindow arguments!aWindow arguments[0]
_updateTextAndScrollDataForFrame aData
sbDeviceFirmwareAutoCheckForUpdate prototype observe