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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt

Issue 2738213004: Range: surroundContents() should postpone DOM mutation events. (Closed)
Patch Set: Created 3 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/fast/dom/Range/surroundContents-crash-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt
index ecbafd26610841bc3571493914523dfeacf91c56..80e74e57194dd67c35f37580d31d4b8101f9f780 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt
@@ -1,18 +1,13 @@
-Range::didSplitTextNode() should not yield an invalid Range object nor cause a crash inside surroundContents().
+DOM mutation events should not be dispatched during DOM mutations in surroundContents().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS textContainer.childNodes.length is 1
-PASS range.startContainer === textToBeSplit is true
-PASS range.startOffset is 7
-PASS range.endContainer === textContainer is true
-PASS range.endOffset is 1
-PASS textContainer.childNodes.length is 3
-PASS range.startContainer === newTextNode is true
+PASS textContainer.childNodes.length is 2
+PASS range.startContainer === textContainer is true
PASS range.startOffset is 1
PASS range.endContainer === textContainer is true
-PASS range.endOffset is 3
+PASS range.endOffset is 2
PASS Did not crash.
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698