mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 992270 - ignoreAllUncaughtExceptions in the about:home test of browser_google_behavior.js/browser_bing_behavior.js. r=gavin
CLOSED TREE
This commit is contained in:
parent
2b17a8e8c9
commit
d4f09f5169
@ -69,6 +69,9 @@ function test() {
|
||||
name: "home page search",
|
||||
searchURL: base + "&form=MOZSPG",
|
||||
run: function () {
|
||||
// Bug 992270: Ignore uncaught about:home exceptions (related to snippets from IndexedDB)
|
||||
ignoreAllUncaughtExceptions(true);
|
||||
|
||||
// load about:home, but remove the listener first so it doesn't
|
||||
// get in the way
|
||||
gBrowser.removeProgressListener(listener);
|
||||
@ -101,6 +104,9 @@ function test() {
|
||||
];
|
||||
|
||||
function nextTest() {
|
||||
// Make sure we listen again for uncaught exceptions in the next test or cleanup.
|
||||
ignoreAllUncaughtExceptions(false);
|
||||
|
||||
if (gTests.length) {
|
||||
gCurrTest = gTests.shift();
|
||||
info("Running : " + gCurrTest.name);
|
||||
|
@ -99,6 +99,9 @@ function test() {
|
||||
name: "home page search",
|
||||
searchURL: base + "&channel=np&source=hp",
|
||||
run: function () {
|
||||
// Bug 992270: Ignore uncaught about:home exceptions (related to snippets from IndexedDB)
|
||||
ignoreAllUncaughtExceptions(true);
|
||||
|
||||
// load about:home, but remove the listener first so it doesn't
|
||||
// get in the way
|
||||
gBrowser.removeProgressListener(listener);
|
||||
@ -131,6 +134,9 @@ function test() {
|
||||
];
|
||||
|
||||
function nextTest() {
|
||||
// Make sure we listen again for uncaught exceptions in the next test or cleanup.
|
||||
ignoreAllUncaughtExceptions(false);
|
||||
|
||||
if (gTests.length) {
|
||||
gCurrTest = gTests.shift();
|
||||
info("Running : " + gCurrTest.name);
|
||||
|
Loading…
Reference in New Issue
Block a user