mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Backout be842b38277f for browser chrome mochitest failures.
This commit is contained in:
parent
d39140296f
commit
6840dc4460
@ -43,7 +43,6 @@
|
||||
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/test//browser/test-error.html";
|
||||
|
||||
function test() {
|
||||
expectUncaughtException();
|
||||
addTab(TEST_URI);
|
||||
browser.addEventListener("load", onLoad, true);
|
||||
}
|
||||
|
@ -44,7 +44,6 @@
|
||||
const TEST_DUPLICATE_ERROR_URI = "http://example.com/browser/browser/devtools/webconsole/test//browser/test-duplicate-error.html";
|
||||
|
||||
function test() {
|
||||
expectUncaughtException();
|
||||
addTab(TEST_DUPLICATE_ERROR_URI);
|
||||
browser.addEventListener("DOMContentLoaded", testDuplicateErrors, false);
|
||||
}
|
||||
@ -58,7 +57,6 @@ function testDuplicateErrors() {
|
||||
|
||||
Services.console.registerListener(consoleObserver);
|
||||
|
||||
expectUncaughtException();
|
||||
content.location.reload();
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,6 @@ function contentLoaded(aEvent) {
|
||||
browser.removeEventListener("load", contentLoaded, true);
|
||||
|
||||
let button = content.document.querySelector("button");
|
||||
expectUncaughtException();
|
||||
EventUtils.sendMouseEvent({ type: "click" }, button, content);
|
||||
executeSoon(buttonClicked);
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ function tabLoaded(aEvent) {
|
||||
HUDService.activateHUDForContext(gBrowser.selectedTab);
|
||||
|
||||
gBrowser.selectedBrowser.addEventListener("load", tabReloaded, true);
|
||||
expectUncaughtException();
|
||||
content.location.reload();
|
||||
}
|
||||
|
||||
@ -44,7 +43,6 @@ function tabReloaded(aEvent) {
|
||||
|
||||
newTabIsOpen = true;
|
||||
gBrowser.selectedBrowser.addEventListener("load", tabLoaded, true);
|
||||
expectUncaughtException();
|
||||
content.location = TEST_URI;
|
||||
});
|
||||
}
|
||||
@ -55,7 +53,6 @@ function testEnd() {
|
||||
}
|
||||
|
||||
function test() {
|
||||
expectUncaughtException();
|
||||
addTab(TEST_URI);
|
||||
browser.addEventListener("load", tabLoaded, true);
|
||||
}
|
||||
|
@ -64,7 +64,6 @@ function test()
|
||||
browser.removeEventListener(aEvent.type, arguments.callee, true);
|
||||
executeSoon(onContentLoaded);
|
||||
}, true);
|
||||
expectUncaughtException();
|
||||
content.location = TEST_URI;
|
||||
}, true);
|
||||
}
|
||||
|
@ -90,7 +90,6 @@ function test()
|
||||
registerCleanupFunction(testEnd);
|
||||
|
||||
executeSoon(function() {
|
||||
expectUncaughtException();
|
||||
content.location = TEST_URI;
|
||||
});
|
||||
}, true);
|
||||
|
@ -25,7 +25,6 @@ function onLoad(aEvent) {
|
||||
|
||||
gHudId = HUDService.getHudIdByWindow(content);
|
||||
browser.addEventListener("load", testWebDevLimits, true);
|
||||
expectUncaughtException();
|
||||
content.location = TEST_URI;
|
||||
}
|
||||
|
||||
@ -71,7 +70,6 @@ function testJsLimits(aEvent) {
|
||||
for (let i = 0; i < 11; i++) {
|
||||
var script = content.document.createElement("script");
|
||||
script.text = "fubar" + i + ".bogus(6);";
|
||||
expectUncaughtException();
|
||||
head.insertBefore(script, head.firstChild);
|
||||
}
|
||||
|
||||
|
@ -417,10 +417,7 @@ function testGen() {
|
||||
networkPanel = HUDService.openNetworkPanel(filterBox, httpActivity);
|
||||
networkPanel.isDoneCallback = function NP_doneCallback() {
|
||||
networkPanel.isDoneCallback = null;
|
||||
try {
|
||||
testDriver.next();
|
||||
} catch (e if e instanceof StopIteration) {
|
||||
}
|
||||
testDriver.next();
|
||||
}
|
||||
|
||||
yield;
|
||||
@ -481,5 +478,5 @@ function testGen() {
|
||||
networkPanel.panel.hidePopup(); */
|
||||
|
||||
// All done!
|
||||
finish();
|
||||
finishTest();
|
||||
}
|
||||
|
@ -7,7 +7,6 @@
|
||||
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/test//browser/test-error.html";
|
||||
|
||||
function test() {
|
||||
expectUncaughtException();
|
||||
addTab(TEST_URI);
|
||||
browser.addEventListener("DOMContentLoaded", testViewSource, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user