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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-crossing-document.js

Issue 2698413002: selection: Align collapse-NN.html and extend-NN.html to the latest draft. (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-crossing-document.js
diff --git a/third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-crossing-document.js b/third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-crossing-document.js
index e06a9c1236f6cfb1e5c1ab78daef55253580dfd8..67a57258de078c58365836d26981b3bb6a6911f7 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-crossing-document.js
+++ b/third_party/WebKit/LayoutTests/editing/selection/script-tests/DOMSelection-crossing-document.js
@@ -36,7 +36,8 @@ shouldBeNull("foreignSel.anchorNode");
shouldBeNull("mainSel.anchorNode");
clear();
-shouldThrow("mainSel.extend(foreignElement, 1)");
+// An element in a different root should not throw.
+mainSel.extend(foreignElement, 1);
shouldBeNull("foreignSel.anchorNode");
shouldBeNull("mainSel.anchorNode");

Powered by Google App Engine
This is Rietveld 408576698