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

Unified Diff: LayoutTests/fast/dom/Range/surroundContents-for-invalid-state-error-expected.txt

Issue 441853003: Range.surroundContents should throw InvalidStateError if a non-Text node is partially contained (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take review comment into consideration Created 6 years, 4 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
« no previous file with comments | « LayoutTests/fast/dom/Range/surroundContents-for-invalid-state-error.html ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Range/surroundContents-for-invalid-state-error-expected.txt
diff --git a/LayoutTests/fast/dom/Range/surroundContents-for-invalid-state-error-expected.txt b/LayoutTests/fast/dom/Range/surroundContents-for-invalid-state-error-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac1b547c901af89173ca816086c56e0d27f7b83e
--- /dev/null
+++ b/LayoutTests/fast/dom/Range/surroundContents-for-invalid-state-error-expected.txt
@@ -0,0 +1,5 @@
+PASS range.surroundContents(start) threw exception InvalidStateError: Failed to execute 'surroundContents' on 'Range': The Range has partially selected a non-Text node..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/Range/surroundContents-for-invalid-state-error.html ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698