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

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: Automatic tests added 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
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..42988bf1b5ca4fbd4d7215c30b8921922b1eb5ad 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 in text)
esprehn 2013/07/26 11:00:02 I don't know if it's standard to iterate over a st
Krzysztof Olczyk 2013/07/26 11:10:46 Done.
+ eventSender.keyDown(text[i]);
+ shouldBeEqualToString("document.getElementById('start').value", text);
+
+ testRunner.notifyDone();
}
window.onload = runTest;

Powered by Google App Engine
This is Rietveld 408576698