3 <script src=
"../resources/js-test.js"></script>
8 testRunner
.waitUntilDone();
10 function runAXTest() {
13 description("This tests that an image map's hold on it's parent will be cleared if the parent goes away.");
15 // First access all children using AX
16 accessibilityController
.accessibleElementById('dummy');
18 var child
= document
.getElementById('img'); child
.parentNode
.removeChild(child
);
20 // Now verify we haven't crashed.
21 accessibilityController
.accessibleElementById('dummy');
23 if (window
.testRunner
)
24 testRunner
.notifyDone();
33 <area id=
"o20" href=
"#"></area></map>
35 <img id=
"img" usemap=
"#map"><span></span>
37 <script>setTimeout("runAXTest();", 1);</script>
39 <p id=
"description"></p>
40 <div id=
"console"></div>