mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 679588 - Fix intermittent test timeout of browser_select_update.js, browser_select_confirm.js, and browser_select_selection.js. r=dtownsend
This commit is contained in:
parent
6b792d8111
commit
d2fdb7f5b3
@ -9,6 +9,11 @@ var gWin;
|
||||
|
||||
function waitForView(aView, aCallback) {
|
||||
var view = gWin.document.getElementById(aView);
|
||||
if (view.parentNode.selectedPanel == view) {
|
||||
aCallback();
|
||||
return;
|
||||
}
|
||||
|
||||
view.addEventListener("ViewChanged", function() {
|
||||
view.removeEventListener("ViewChanged", arguments.callee, false);
|
||||
try {
|
||||
|
@ -59,6 +59,11 @@ var ADDONS = [
|
||||
|
||||
function waitForView(aView, aCallback) {
|
||||
var view = gWin.document.getElementById(aView);
|
||||
if (view.parentNode.selectedPanel == view) {
|
||||
aCallback();
|
||||
return;
|
||||
}
|
||||
|
||||
view.addEventListener("ViewChanged", function() {
|
||||
view.removeEventListener("ViewChanged", arguments.callee, false);
|
||||
aCallback();
|
||||
|
@ -9,6 +9,11 @@ var gWin;
|
||||
|
||||
function waitForView(aView, aCallback) {
|
||||
var view = gWin.document.getElementById(aView);
|
||||
if (view.parentNode.selectedPanel == view) {
|
||||
aCallback();
|
||||
return;
|
||||
}
|
||||
|
||||
view.addEventListener("ViewChanged", function() {
|
||||
view.removeEventListener("ViewChanged", arguments.callee, false);
|
||||
aCallback();
|
||||
|
Loading…
Reference in New Issue
Block a user