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

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/script-tests/dataTransfer-setData-getData.js

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/script-tests/dataTransfer-setData-getData.js
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/script-tests/dataTransfer-setData-getData.js b/third_party/WebKit/LayoutTests/editing/pasteboard/script-tests/dataTransfer-setData-getData.js
index ac7eaeca0df85483d7a0aa44ec1a770251960313..3e917ea1de5f1ec906fec08f4a43a51947345ce6 100644
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/script-tests/dataTransfer-setData-getData.js
+++ b/third_party/WebKit/LayoutTests/editing/pasteboard/script-tests/dataTransfer-setData-getData.js
@@ -47,7 +47,7 @@ function moveMouseToCenterOfElement(element)
function dragOntoDragTarget() {
var e = document.getElementById("dragme");
- window.getSelection().setBaseAndExtent(e, 0, e, 4);
+ window.getSelection().setBaseAndExtent(e, 0, e, 1);
x = e.offsetLeft + 10;
y = e.offsetTop + e.offsetHeight / 2;
eventSender.mouseMoveTo(x, y);

Powered by Google App Engine
This is Rietveld 408576698