Bug 739455 - intermittent failure of relations/test_tabbrowser.xul and tree/test_tabbrowser.xul, r=tbsaunde

This commit is contained in:
Alexander Surkov 2012-09-26 09:55:07 +09:00
parent 5ca2bb0c0b
commit 09fe8ca7d4
2 changed files with 7 additions and 5 deletions

View File

@ -29,8 +29,8 @@
function testTabRelations()
{
this.eventSeq = [
new invokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, tabDocumentAt, 0),
new invokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, tabDocumentAt, 1)
new asyncInvokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, tabDocumentAt, 0),
new asyncInvokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, tabDocumentAt, 1)
];
this.invoke = function testTabRelations_invoke()
@ -61,8 +61,10 @@
////////////////////////////////////////////////////////////////////////////
// Test
//gA11yEventDumpToConsole = true; // debug stuff
var gQueue = null;
gA11yEventDumpToConsole = true;
function doTest()
{
// Load documents into tabs and wait for DocLoadComplete events caused by

View File

@ -28,8 +28,8 @@
function testTabHierarchy()
{
this.eventSeq = [
new invokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, tabDocumentAt, 0),
new invokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, tabDocumentAt, 1)
new asyncInvokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, tabDocumentAt, 0),
new asyncInvokerChecker(EVENT_DOCUMENT_LOAD_COMPLETE, tabDocumentAt, 1)
];
this.invoke = function testTabHierarchy_invoke()