2 handleEvent : function(e) {
3 if (e.target == theBrowser.contentDocument)
12 waitForExplicitFinish();
14 theTab = gBrowser.addTab();
15 theBrowser = gBrowser.getBrowserForTab(theTab);
16 theBrowser.addEventListener("load", listener, true);
17 theBrowser.contentWindow.location = "chrome://mochikit/content/browser/layout/style/test/bug453896_iframe.html";
21 theBrowser.removeEventListener("load", listener, true);
22 var fake_window = { ok: ok, SimpleTest: { finish: finish } };
23 theBrowser.contentWindow.wrappedJSObject.run(fake_window);
24 gBrowser.removeTab(theTab);