mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 845176 - Intermittent relations/test_embeds.xul, r=yzen
This commit is contained in:
parent
e0dd40d367
commit
749b04b187
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
[test_bindings.xhtml]
|
[test_bindings.xhtml]
|
||||||
[test_embeds.xul]
|
[test_embeds.xul]
|
||||||
skip-if = (os == "linux" && (debug || asan)) # Bug 845176
|
|
||||||
[test_general.html]
|
[test_general.html]
|
||||||
[test_general.xul]
|
[test_general.xul]
|
||||||
[test_tabbrowser.xul]
|
[test_tabbrowser.xul]
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.eventSeq = [
|
this.eventSeq = [
|
||||||
new invokerChecker(EVENT_REORDER, currentBrowser)
|
new invokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, currentTabDocument)
|
||||||
];
|
];
|
||||||
|
|
||||||
this.finalCheck = function loadURI_finalCheck()
|
this.finalCheck = function loadURI_finalCheck()
|
||||||
@ -52,27 +52,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function browserReorderChecker()
|
|
||||||
{
|
|
||||||
this.type = EVENT_REORDER;
|
|
||||||
|
|
||||||
this.match = function browserReorderChecker_match(aEvent)
|
|
||||||
{
|
|
||||||
if (!isAccessible(currentBrowser()))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
// Reorder event might be duped because of temporary document creation.
|
|
||||||
if (aEvent.accessible == getAccessible(currentBrowser())) {
|
|
||||||
this.cnt++;
|
|
||||||
return this.cnt != 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.cnt = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
function loadOneTab(aURI)
|
function loadOneTab(aURI)
|
||||||
{
|
{
|
||||||
this.invoke = function loadOneTab_invoke()
|
this.invoke = function loadOneTab_invoke()
|
||||||
@ -81,7 +60,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.eventSeq = [
|
this.eventSeq = [
|
||||||
new browserReorderChecker()
|
new invokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, currentTabDocument)
|
||||||
];
|
];
|
||||||
|
|
||||||
this.finalCheck = function loadURI_finalCheck()
|
this.finalCheck = function loadURI_finalCheck()
|
||||||
@ -99,7 +78,7 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
||||||
// Testing
|
// Testing
|
||||||
|
|
||||||
gA11yEventDumpToConsole = true; // debug
|
//gA11yEventDumpToConsole = true; // debug
|
||||||
|
|
||||||
var gQueue = null;
|
var gQueue = null;
|
||||||
function doTests()
|
function doTests()
|
||||||
|
Loading…
Reference in New Issue
Block a user