mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 824662 - Intermittent test_takeFocus.html | Can't get accessible for plugin, r=tbsaunde
This commit is contained in:
parent
2acc60f7a6
commit
8d089b8186
@ -42,12 +42,11 @@
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Test
|
||||
|
||||
gA11yEventDumpToConsole = true; // debug stuff
|
||||
//gA11yEventDumpToConsole = true; // debug stuff
|
||||
|
||||
var gQueue = null;
|
||||
function doTest()
|
||||
{
|
||||
enableLogging("tree");
|
||||
gQueue = new eventQueue();
|
||||
|
||||
gQueue.push(new takeFocusInvoker("aria-link"));
|
||||
@ -58,12 +57,16 @@
|
||||
gQueue.push(new takeFocusInvoker(document));
|
||||
gQueue.push(new takeFocusInvoker("lb_item2"));
|
||||
|
||||
gQueue.onFinish = function() { disableLogging(); }
|
||||
gQueue.invoke(); // Will call SimpleTest.finish();
|
||||
}
|
||||
|
||||
function waitForPlugin()
|
||||
{
|
||||
window.setTimeout((isAccessible("plugin") ? doTest : waitForPlugin), 0);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
addA11yLoadEvent(doTest);
|
||||
addA11yLoadEvent(waitForPlugin);
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@ -97,7 +100,7 @@
|
||||
<span id="aria-link" role="link" tabindex="0">link</span>
|
||||
<span id="aria-link2" role="link" tabindex="0">link</span>
|
||||
|
||||
<a id="link" href="">link</span>
|
||||
<a id="link" href="">link</a>
|
||||
|
||||
<div role="listbox" aria-activedescendant="item1" id="container" tabindex="1">
|
||||
<div role="option" id="item1">item1</div>
|
||||
|
@ -59,8 +59,6 @@
|
||||
var gQueue = null;
|
||||
function doTests()
|
||||
{
|
||||
disableLogging(); // from test_takeFocus.html
|
||||
|
||||
// Test focus events.
|
||||
gQueue = new eventQueue();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user