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

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/paste-visible-script.html

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests 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/pasteboard/paste-visible-script.html
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/paste-visible-script.html b/third_party/WebKit/LayoutTests/editing/pasteboard/paste-visible-script.html
index fe27476894e21d9cfd7ef04699b5c78cd3ef42c1..0ac3a8053b994e5faefabb4f7e06eaa6b9f8f21a 100644
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/paste-visible-script.html
+++ b/third_party/WebKit/LayoutTests/editing/pasteboard/paste-visible-script.html
@@ -28,7 +28,7 @@ if (window.testRunner)
var s = window.getSelection();
var p1 = document.getElementById("test1");
s.collapse(p1, 0);
-s.setBaseAndExtent(p1, 0, document.getElementById("test2"), 2);
+s.setBaseAndExtent(p1, 0, document.getElementById("test2"), 1);
document.execCommand("Copy");
p1 = document.getElementById("pastehere");
s.collapse(p1, 0);

Powered by Google App Engine
This is Rietveld 408576698