Bug 1020039 - Intermittent relations/test_embeds.xul, add extra output

This commit is contained in:
Alexander Surkov 2014-09-11 15:58:28 -04:00
parent 64b1d63b03
commit 2ba0063174
2 changed files with 6 additions and 3 deletions

View File

@ -239,7 +239,7 @@ function getAccessible(aAccOrElmOrID, aInterfaces, aElmObj, aDoNotFailIf)
if (!acc) {
if (!(aDoNotFailIf & DONOTFAIL_IF_NO_ACC))
ok(false, "Can't get accessible for " + aAccOrElmOrID);
ok(false, "Can't get accessible for " + prettyName(aAccOrElmOrID));
return null;
}

View File

@ -83,8 +83,11 @@
this.finalCheck = function loadURI_finalCheck()
{
testRelation(browserDocument(), RELATION_EMBEDS,
getAccessible(currentTabDocument()));
var acc = getAccessible(currentTabDocument());
if (!acc)
ok(false, "ahahahaha");
testRelation(browserDocument(), RELATION_EMBEDS, acc);
}
this.getID = function loadOneTab_getID()