OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 | 5 |
6 <canvas id="canvas" tabindex="-1"></canvas> | 6 <canvas id="canvas" tabindex="-1"></canvas> |
7 | 7 |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description("This test makes sure that AccessibilityNodeObjects are properly det
ached when the node they point to is deleted."); | 10 description("This test makes sure that AccessibilityNodeObjects are properly det
ached when the node they point to is deleted."); |
11 | 11 |
12 if (window.testRunner && window.accessibilityController) { | 12 if (window.testRunner && window.accessibilityController) { |
13 window.testRunner.dumpAsText(); | 13 window.testRunner.dumpAsText(); |
14 | 14 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 // Ensure that the accessibility object is detached by checking its role. | 51 // Ensure that the accessibility object is detached by checking its role. |
52 window.detachedCanvasButtonRole = axElement.role; | 52 window.detachedCanvasButtonRole = axElement.role; |
53 shouldBe("detachedCanvasButtonRole", "expectedDetachedRole"); | 53 shouldBe("detachedCanvasButtonRole", "expectedDetachedRole"); |
54 } | 54 } |
55 | 55 |
56 </script> | 56 </script> |
57 | 57 |
58 </body> | 58 </body> |
59 </html> | 59 </html> |
OLD | NEW |