Bug 815646 - enable logging for accessible/states/test_link.html

This commit is contained in:
Alexander Surkov 2012-11-28 14:08:47 +09:00
parent 26ff0a1f10
commit 9d58b0d1a0

View File

@ -21,7 +21,7 @@
src="../events.js"></script> src="../events.js"></script>
<script type="application/javascript"> <script type="application/javascript">
//gA11yEventDumpToConsole = true; // debug stuff gA11yEventDumpToConsole = true; // debug stuff
var gLinkWindow = null; var gLinkWindow = null;
function closeDocChecker() function closeDocChecker()
@ -86,9 +86,11 @@
testStates("link_traversed", 0, 0, STATE_TRAVERSED); testStates("link_traversed", 0, 0, STATE_TRAVERSED);
// a: traversed state // a: traversed state
enableLogging("docload"); // debug stuff
gQueue = new eventQueue(); gQueue = new eventQueue();
gQueue.push(new clickLink("link_traversed")); gQueue.push(new clickLink("link_traversed"));
gQueue.onFinish = function() { gLinkWindow.close(); } gQueue.onFinish = function() { gLinkWindow.close(); disableLogging(); }
gQueue.invoke(); // will call SimpleTest.finsih(); gQueue.invoke(); // will call SimpleTest.finsih();
} }