Bug 845176 - Intermittent relations/test_embeds.xul, r=yzen

This commit is contained in:
Alexander Surkov 2016-02-23 18:45:34 -05:00
parent e0dd40d367
commit 749b04b187
2 changed files with 3 additions and 25 deletions

View File

@ -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]

View File

@ -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()