| 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="../fast/js/resources/js-test-pre.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."); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // the node will be destroyed. | 48 // the node will be destroyed. |
| 49 gc(); | 49 gc(); |
| 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 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 59 </body> | 58 </body> |
| 60 </html> | 59 </html> |
| OLD | NEW |