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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/foreign-domain-iframe-for-selection-test.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/http/tests/security/resources/foreign-domain-iframe-for-selection-test.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/foreign-domain-iframe-for-selection-test.html b/third_party/WebKit/LayoutTests/http/tests/security/resources/foreign-domain-iframe-for-selection-test.html
index 4073c534e3d07fe6ed4d7be0e50d71763a144034..1a360d9ed6e3364e92a29091e18d664604e9666c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/resources/foreign-domain-iframe-for-selection-test.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/foreign-domain-iframe-for-selection-test.html
@@ -4,7 +4,7 @@
window.onload = function() {
var selection = window.getSelection();
if (selection.setBaseAndExtent)
- selection.setBaseAndExtent(document.body, 0, document.body, 10);
+ selection.setBaseAndExtent(document.body, 0, document.body, 1);
else if (selection.selectAllChildren)
selection.selectAllChildren(document.body);
}

Powered by Google App Engine
This is Rietveld 408576698