mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 831400 - Intermittent devtools/webconsole/test/browser_webconsole_bug_764572_output_open_url.js | Timed out while waiting for: complete to initialize the opening tab; r=vporof
This commit is contained in:
parent
4744f71f6a
commit
b0874a13a4
@ -125,10 +125,11 @@ function testOnNetActivity_command() {
|
||||
// check TabOpen event
|
||||
function onTabOpen(aTab) {
|
||||
waitForSuccess({
|
||||
timeout: 10000,
|
||||
name: "complete to initialize the opening tab",
|
||||
validatorFn: function()
|
||||
{
|
||||
// wait to complete initializing the opend tab.
|
||||
// wait to complete initialization for the new tab.
|
||||
let url = aTab.linkedBrowser.currentURI.spec;
|
||||
return url === TEST_URI;
|
||||
},
|
||||
@ -137,7 +138,11 @@ function onTabOpen(aTab) {
|
||||
gBrowser.removeTab(aTab);
|
||||
executeSoon(testOnNetActivity_contextmenu);
|
||||
},
|
||||
failureFn: testOnNetActivity_contextmenu,
|
||||
failureFn: function()
|
||||
{
|
||||
info("new tab currentURI " + aTab.linkedBrowser.currentURI.spec);
|
||||
testOnNetActivity_contextmenu();
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user