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; |