зеркало из https://github.com/mozilla/gecko-dev.git
Bug 815646 - enable logging for accessible/states/test_link.html
This commit is contained in:
Родитель
26ff0a1f10
Коммит
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче