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

Unified Diff: LayoutTests/fast/spatial-navigation/snav-input.html

Issue 20560005: (spatnav) Space&enter should be entered to box instead of simulating click on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review fixes Created 7 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/spatial-navigation/snav-input-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/spatial-navigation/snav-input.html
diff --git a/LayoutTests/fast/spatial-navigation/snav-input.html b/LayoutTests/fast/spatial-navigation/snav-input.html
index 02a5b0e71c24042a39c6549e4122d51ce04be0fc..16ec44c2d01ea0fea622820e5f6bdb5a7ef1dfc2 100644
--- a/LayoutTests/fast/spatial-navigation/snav-input.html
+++ b/LayoutTests/fast/spatial-navigation/snav-input.html
@@ -67,8 +67,15 @@
function testCompleted()
{
- if (window.testRunner)
- testRunner.notifyDone();
+ if (!window.testRunner)
+ return;
+
+ var text = 'A text containing a space';
+ for (var i = 0; i < text.length; ++i)
+ eventSender.keyDown(text.charAt(i));
+ shouldBeEqualToString("document.getElementById('start').value", text);
+
+ testRunner.notifyDone();
}
window.onload = runTest;
« no previous file with comments | « no previous file | LayoutTests/fast/spatial-navigation/snav-input-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698