зеркало из https://github.com/mozilla/gecko-dev.git
Bug 845176 - Intermittent relations/test_embeds.xul, r=yzen
This commit is contained in:
Родитель
eea0bcec45
Коммит
2d15c87cb3
|
@ -2,7 +2,6 @@
|
|||
|
||||
[test_bindings.xhtml]
|
||||
[test_embeds.xul]
|
||||
skip-if = (os == "linux" && (debug || asan)) # Bug 845176
|
||||
[test_general.html]
|
||||
[test_general.xul]
|
||||
[test_tabbrowser.xul]
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
}
|
||||
|
||||
this.eventSeq = [
|
||||
new invokerChecker(EVENT_REORDER, currentBrowser)
|
||||
new invokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, currentTabDocument)
|
||||
];
|
||||
|
||||
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)
|
||||
{
|
||||
this.invoke = function loadOneTab_invoke()
|
||||
|
@ -81,7 +60,7 @@
|
|||
}
|
||||
|
||||
this.eventSeq = [
|
||||
new browserReorderChecker()
|
||||
new invokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, currentTabDocument)
|
||||
];
|
||||
|
||||
this.finalCheck = function loadURI_finalCheck()
|
||||
|
@ -99,7 +78,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////
|
||||
// Testing
|
||||
|
||||
gA11yEventDumpToConsole = true; // debug
|
||||
//gA11yEventDumpToConsole = true; // debug
|
||||
|
||||
var gQueue = null;
|
||||
function doTests()
|
||||
|
|
Загрузка…
Ссылка в новой задаче