Index: LayoutTests/fullscreen/full-screen-keyboard-disabled.html |
diff --git a/LayoutTests/fullscreen/full-screen-keyboard-disabled.html b/LayoutTests/fullscreen/full-screen-keyboard-disabled.html |
deleted file mode 100644 |
index 8d6ed140a44bd196815fa8d075ffff6c21b78679..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fullscreen/full-screen-keyboard-disabled.html |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-<body> |
-<script src="full-screen-test.js"></script> |
-<p>This tests that full screen mode does not allow alphanumeric key events. Press space to continue, then press an alphanumeric key, followed by space. |
-<span></span> |
-<script> |
- var callback; |
- var fullscreenChanged = function(event) |
- { |
- if (callback) |
- callback(event) |
- }; |
- waitForEvent(document, 'webkitfullscreenchange', fullscreenChanged); |
- |
- var spanEnteredFullScreen = function() { |
- callback = null; |
- testExpected("document.webkitIsFullScreen", true); |
- if (window.testRunner && eventSender.keyDown) { |
- waitForEvent(document, 'keypress', keyPressed); |
- eventSender.keyDown('a', []); |
- eventSender.keyDown(' ', []); |
- } |
- }; |
- |
- var keyPressed = function(event) { |
- testExpected('event.keyCode', 32); // Space |
- endTest(); |
- document.webkitCancelFullScreen(); |
- } |
- waitForEvent(document, 'webkitfullscreenchange', fullscreenChanged); |
- |
- var span = document.getElementsByTagName('span')[0]; |
- callback = spanEnteredFullScreen; |
- runWithKeyDown(function(){span.webkitRequestFullScreen()}); |
-</script> |