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

Unified Diff: LayoutTests/fast/dom/Range/detach-no-op-expected.txt

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 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: LayoutTests/fast/dom/Range/detach-no-op-expected.txt
diff --git a/LayoutTests/fast/dom/Range/detach-no-op-expected.txt b/LayoutTests/fast/dom/Range/detach-no-op-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7d47cff3157d17b5b1635449285efa354af4d9e
--- /dev/null
+++ b/LayoutTests/fast/dom/Range/detach-no-op-expected.txt
@@ -0,0 +1,23 @@
+CONSOLE WARNING: 'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).
+Tests that Range.detach() is a no-op.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS range.startContainer is link
+PASS range.startOffset is 0
+PASS range.endContainer is link
+PASS range.endOffset is 0
+PASS range.collapsed is true
+PASS range.commonAncestorContainer is link
+PASS range.detach() did not throw exception.
+PASS range.startContainer is link
+PASS range.startOffset is 0
+PASS range.endContainer is link
+PASS range.endOffset is 0
+PASS range.collapsed is true
+PASS range.commonAncestorContainer is link
+PASS successfullyParsed is true
+
+TEST COMPLETE
+testlink

Powered by Google App Engine
This is Rietveld 408576698