mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815646 - enable logging for accessible/states/test_link.html
This commit is contained in:
parent
465c1134c9
commit
94853961be
@ -176,10 +176,13 @@ static void
|
||||
LogPresShell(nsIDocument* aDocumentNode)
|
||||
{
|
||||
nsIPresShell* ps = aDocumentNode->GetShell();
|
||||
printf("presshell: %p, is %s destroying", static_cast<void*>(ps),
|
||||
(ps->IsDestroying() ? "" : "not"));
|
||||
nsIScrollableFrame *sf = ps ?
|
||||
ps->GetRootScrollFrameAsScrollableExternal() : nullptr;
|
||||
printf("presshell: %p", static_cast<void*>(ps));
|
||||
|
||||
nsIScrollableFrame* sf = nullptr;
|
||||
if (ps) {
|
||||
printf(", is %s destroying", (ps->IsDestroying() ? "" : "not"));
|
||||
sf = ps->GetRootScrollFrameAsScrollable();
|
||||
}
|
||||
printf(", root scroll frame: %p", static_cast<void*>(sf));
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
src="../events.js"></script>
|
||||
|
||||
<script type="application/javascript">
|
||||
//gA11yEventDumpToConsole = true; // debug stuff
|
||||
gA11yEventDumpToConsole = true; // debug stuff
|
||||
|
||||
var gLinkWindow = null;
|
||||
function closeDocChecker()
|
||||
@ -86,9 +86,11 @@
|
||||
testStates("link_traversed", 0, 0, STATE_TRAVERSED);
|
||||
|
||||
// a: traversed state
|
||||
enableLogging("docload"); // debug stuff
|
||||
|
||||
gQueue = new eventQueue();
|
||||
gQueue.push(new clickLink("link_traversed"));
|
||||
gQueue.onFinish = function() { gLinkWindow.close(); }
|
||||
gQueue.onFinish = function() { gLinkWindow.close(); disableLogging(); }
|
||||
gQueue.invoke(); // will call SimpleTest.finsih();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user