Index: third_party/WebKit/LayoutTests/accessibility/loading-iframe-updates-axtree.html |
diff --git a/third_party/WebKit/LayoutTests/accessibility/loading-iframe-updates-axtree.html b/third_party/WebKit/LayoutTests/accessibility/loading-iframe-updates-axtree.html |
deleted file mode 100644 |
index dbb726c0158864cfe2048f4ee72aeac8bd8fd909..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/accessibility/loading-iframe-updates-axtree.html |
+++ /dev/null |
@@ -1,61 +0,0 @@ |
-<html> |
-<head> |
-<script src="../resources/js-test.js"></script> |
- |
- <script> |
- if (window.testRunner) |
- testRunner.waitUntilDone(); |
- |
- function runTest() |
- { |
- description("This tests that if an iframe loads new content after its accessibility object has already been accessed, the iframe accessibility object's descendants are the new scroll area and web area, not the old deleted ones."); |
- |
- if (window.accessibilityController) { |
- window.iframe = accessibilityController.accessibleElementById('iframe'); |
- window.subwebarea = iframe.childAtIndex(0); |
- } |
- |
- window.iframeElement = document.getElementById("iframe"); |
- iframeElement.addEventListener("load", function() { |
- if (window.accessibilityController) { |
- window.newIframe = accessibilityController.accessibleElementById('iframe'); |
- window.newSubwebarea = newIframe.childAtIndex(0); |
- |
- shouldBeTrue("iframe.isEqual(newIframe)"); |
- shouldBeFalse("subwebarea.isEqual(newSubwebarea)"); |
- shouldBeTrue("newSubwebarea.childrenCount > 0"); |
- } |
- |
- debug('<br /><span class="pass">TEST COMPLETE</span>'); |
- if (window.testRunner) |
- testRunner.notifyDone(); |
- }, false); |
- |
- // Load content into the iframe. This will trigger the event |
- // handler above, which will check that the accessibility tree |
- // was updated with new content. |
- window.iframeElement.src = "data:text/html,<body><button>Click me</button></body>"; |
- |
- } |
- |
- window.addEventListener('load', function() { |
- runTest(); |
- }, false); |
- |
- </script> |
-</head> |
-<body> |
- |
-<p>Before</p> |
- |
-<iframe id="iframe" role="group"></iframe> |
- |
-<p>After</p> |
- |
-<p>End of test</p> |
- |
-<p id="description"></p> |
-<div id="console"></div> |
- |
-</body> |
-</html> |