Index: LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt |
diff --git a/LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt b/LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ecbafd26610841bc3571493914523dfeacf91c56 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt |
@@ -0,0 +1,20 @@ |
+Range::didSplitTextNode() should not yield an invalid Range object nor cause a crash inside 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 range.startOffset is 1 |
+PASS range.endContainer === textContainer is true |
+PASS range.endOffset is 3 |
+PASS Did not crash. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |