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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype.html

Issue 2706033004: Don't throw when getting selection(Direction|Start|End) on input (Closed)
Patch Set: Refine test 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/fast/forms/selection-wrongtype.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype.html b/third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype.html
index f7d790d3f85e902ca2cd9cb351cb6962baad900a..0c94f9f62fd0a6874f8bfe8398cf81939ace1446 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype.html
@@ -18,11 +18,11 @@ for (var i = 0; i < tests.children.length; i++) {
var test = tests.children[i];
test.focus();
- shouldThrow('test.selectionStart');
+ shouldBe('test.selectionStart', 'null');
shouldThrow('test.selectionStart = 0');
- shouldThrow('test.selectionEnd');
+ shouldBe('test.selectionEnd', 'null');
shouldThrow('test.selectionEnd = 0');
- shouldThrow('test.selectionDirection');
+ shouldBe('test.selectionDirection', 'null');
shouldThrow('test.selectionDirection = 0');
shouldThrow('test.selectionRange()');
}

Powered by Google App Engine
This is Rietveld 408576698