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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Range/range-created-in-mutation-event-crash.xhtml

Issue 2532843002: Postpone DOM mutation event in Range::extractContents() (Closed)
Patch Set: 2016-11-28T18:02:27 Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/Range/range-created-in-mutation-event-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/Range/range-created-in-mutation-event-crash.xhtml
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Range/range-created-in-mutation-event-crash.xhtml b/third_party/WebKit/LayoutTests/fast/dom/Range/range-created-in-mutation-event-crash.xhtml
deleted file mode 100644
index 7f7c5e5e7f13747148d99cd41513f80e769480e2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Range/range-created-in-mutation-event-crash.xhtml
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-<style></style>
-<script>
-<![CDATA[
-
-window.onload = function () {
- document.execCommand("SelectAll", false);
-
- var range = null;
-
- document.addEventListener("DOMNodeRemovedFromDocument", function () {
- range = getSelection().getRangeAt(0);
- },true);
-
- getSelection().getRangeAt(0).extractContents();
- range.getBoundingClientRect();
-
- if (window.testRunner)
- testRunner.dumpAsText();
-
- alert("This test calls getBoundingClientRect on a range obtained inside a mutation event listener.\n"
- + "The test passes if WebKit doesn't crash.\n\n"
- + "PASS.");
-}
-
-]]>
-</script>
-<input/>
-</html>
-
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/Range/range-created-in-mutation-event-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698