Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1962)

Unified Diff: third_party/WebKit/LayoutTests/accessibility/loading-iframe-updates-axtree.html

Issue 1761633002: One accessibility tree per frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix is-richly-editable test Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698