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

Unified Diff: LayoutTests/fast/dom/Range/detach-range-during-deletecontents-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-range-during-deletecontents-expected.txt
diff --git a/LayoutTests/fast/dom/Range/detach-range-during-deletecontents-expected.txt b/LayoutTests/fast/dom/Range/detach-range-during-deletecontents-expected.txt
index 4a96a9ec96b0b448eebe4db743c719fdf1ba3c73..9bd025536a0fa466eea1b8609cb15ccc5b029f07 100644
--- a/LayoutTests/fast/dom/Range/detach-range-during-deletecontents-expected.txt
+++ b/LayoutTests/fast/dom/Range/detach-range-during-deletecontents-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 12: Uncaught InvalidStateError: Failed to execute 'deleteContents' on 'Range': The range has no container. Perhaps 'detach()' has been invoked on this object?
+CONSOLE WARNING: 'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).
Detaching a Range while deleteContents() is running should not cause a crash.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
« no previous file with comments | « LayoutTests/fast/dom/Range/detach-no-op-expected.txt ('k') | LayoutTests/fast/dom/Range/range-compareNode.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698