mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 835924 - (hopefully) fix intermittent error page test failure. r=felipe.
This commit is contained in:
parent
4624281c15
commit
72bcbaa72b
@ -153,12 +153,15 @@ var tests = {
|
||||
function() { // the "load" callback.
|
||||
executeSoon(function() {
|
||||
todo_is(panelCallbackCount, 0, "Bug 833207 - should be no callback when error page loads.");
|
||||
ok(SocialChatBar.chatbar.selectedChat.iframe.contentDocument.location.href.indexOf("about:socialerror?")==0, "is on social error page");
|
||||
SocialChatBar.chatbar.selectedChat.close();
|
||||
next();
|
||||
let iframe = SocialChatBar.chatbar.selectedChat.iframe;
|
||||
waitForCondition(function() iframe.contentDocument.location.href.indexOf("about:socialerror?")==0,
|
||||
function() {
|
||||
SocialChatBar.chatbar.selectedChat.close();
|
||||
next();
|
||||
},
|
||||
"error page didn't appear");
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user