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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/event-on-deleted-iframe-causes-crash.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/event-on-deleted-iframe-causes-crash.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/event-on-deleted-iframe-causes-crash.html b/third_party/WebKit/LayoutTests/accessibility/event-on-deleted-iframe-causes-crash.html
deleted file mode 100644
index e70a968e164b29a0a64c5b25b78b75ca55b78466..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/accessibility/event-on-deleted-iframe-causes-crash.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<div contenteditable="true">
- <span id="item1">Lorem
- <br/>
- more Lorem!
- <blockquote>
- ipsum
- <span id="item2">
-</div>
-
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var s = window.getSelection();
- var p1 = document.getElementById("item1");
- var p2 = document.getElementById("item2");
- s.setBaseAndExtent(p1, 0, p2);
- document.execCommand("Indent");
-
- // This code doesn't do anything initially, but the code below creates an iframe
- // with the same url as this one, and that time it will delete itself.
- var frame = window.parent.document.querySelector('iframe');
- if (frame)
- frame.remove();
-</script>
-<script>
- // This creates an iframe with the same url as this one, which triggers
- // the code above that deletes this iframe, and then triggers a possible crash
- // when the execCommand fires accessibility notifications that trigger creation
- // of the AXScrollArea corresponding to the frame that's in the process of
- // being deleted.
- var iframe = document.createElement('iframe');
- iframe.src = window.location;
- document.body.appendChild(iframe);
-</script>

Powered by Google App Engine
This is Rietveld 408576698