зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1020039 - Intermittent relations/test_embeds.xul
This commit is contained in:
Родитель
3be1dd8ef3
Коммит
4613ab9dab
|
@ -58,12 +58,11 @@
|
|||
|
||||
this.match = function browserReorderChecker_match(aEvent)
|
||||
{
|
||||
// Reorder event might be duped because of temporary document creation.
|
||||
var browserAcc = getAccessible(currentBrowser());
|
||||
if (!browserAcc)
|
||||
ok(false, "opa opa sralslasya");
|
||||
if (!isAccessible(currentBrowser()))
|
||||
return false;
|
||||
|
||||
if (aEvent.accessible == browserAcc) {
|
||||
// Reorder event might be duped because of temporary document creation.
|
||||
if (aEvent.accessible == getAccessible(currentBrowser())) {
|
||||
this.cnt++;
|
||||
return this.cnt != 2;
|
||||
}
|
||||
|
@ -87,11 +86,8 @@
|
|||
|
||||
this.finalCheck = function loadURI_finalCheck()
|
||||
{
|
||||
var acc = getAccessible(currentTabDocument());
|
||||
if (!acc)
|
||||
ok(false, "ahahahaha");
|
||||
|
||||
testRelation(browserDocument(), RELATION_EMBEDS, acc);
|
||||
testRelation(browserDocument(), RELATION_EMBEDS,
|
||||
getAccessible(currentTabDocument()));
|
||||
}
|
||||
|
||||
this.getID = function loadOneTab_getID()
|
||||
|
|
Загрузка…
Ссылка в новой задаче