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