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

Unified Diff: LayoutTests/fast/dom/Range/bug-19527.html

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/bug-19527.html
diff --git a/LayoutTests/fast/dom/Range/bug-19527.html b/LayoutTests/fast/dom/Range/bug-19527.html
index 1767d1f36dc2493401f1e4e167f3724cbe6eaffc..80f7f5cbdcaea2182b60c49032f99b4c56950048 100644
--- a/LayoutTests/fast/dom/Range/bug-19527.html
+++ b/LayoutTests/fast/dom/Range/bug-19527.html
@@ -46,15 +46,6 @@ shouldBe("ra.isPointInRange(document.documentElement, 0)", false);
shouldBe("ra.isPointInRange(document.body, 0)", false);
shouldThrow("ra.isPointInRange(null, 0)", "HIERARCHY_REQUEST_ERR");
-ra.detach();
-
-shouldThrow("ra.comparePoint(document.createElement('b'), 0)", "INVALID_STATE_ERR");
-shouldThrow("ra.comparePoint(document.body, 0)", "INVALID_STATE_ERR");
-shouldThrow("ra.comparePoint(null, 0)", "INVALID_STATE_ERR");
-shouldThrow("ra.isPointInRange(document.createElement('b'), 0)", "INVALID_STATE_ERR");
-shouldThrow("ra.isPointInRange(document.body, 0)", "INVALID_STATE_ERR");
-shouldThrow("ra.isPointInRange(null, 0)", "INVALID_STATE_ERR");
-
if (!hadError)
document.getElementById("log").innerHTML = "PASS";
« no previous file with comments | « LayoutTests/editing/text-iterator/rtl-selection-crash-expected.txt ('k') | LayoutTests/fast/dom/Range/detach-no-op.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698