Bug 782991 - enable more logging of states/test_link.html

This commit is contained in:
Alexander Surkov 2012-09-24 20:07:35 +09:00
parent fe5455c217
commit 746828ddf8
2 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,8 @@
// a: traversal state
testStates("link_traversed", 0, 0, STATE_TRAVERSED);
enableLogging("docload");
registerA11yEventListener(EVENT_DOCUMENT_LOAD_COMPLETE,
traversedLinkTester);
@ -62,6 +64,7 @@
aEvent.accessible.rootDocument.window.close();
testStates("link_traversed", STATE_TRAVERSED);
disableLogging();
SimpleTest.finish();
}
};

View File

@ -20,6 +20,8 @@
<![CDATA[
function doTest()
{
disableLogging(); // a hack from failing test_link.html to stop logging.
// label with popup
testStates("labelWithPopup", STATE_HASPOPUP);