mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 815646 - enable logging for accessible/states/test_link.html
This commit is contained in:
parent
26ff0a1f10
commit
9d58b0d1a0
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user