Bug 766112 - intermittent failure of events/test_docload.xul, r=tbsaunde

This commit is contained in:
Alexander Surkov 2012-09-26 10:30:01 +09:00
parent 295606e347
commit 7986a1c2b0

View File

@ -110,7 +110,8 @@
function getNestedDoc()
{
return currentTabDocument().getElementsByTagName("iframe")[0].firstChild;
var iframeNodes = currentTabDocument().getElementsByTagName("iframe");
return iframeNodes ? iframeNodes[0].firstChild : null;
}
}
@ -187,7 +188,7 @@
////////////////////////////////////////////////////////////////////////////
// Tests
gA11yEventDumpToConsole = true; // debug
//gA11yEventDumpToConsole = true; // debug
//gA11yEventDumpFeature = "parentchain:reorder";
var gQueue = null;