Clobbering window.console is not cool
[WebKit-https.git] / LayoutTests / fullscreen / full-screen-keyboard-enabled.html
index e1726cb..69bb286 100644 (file)
@@ -19,7 +19,7 @@
         var spanEnteredFullScreen = function() {
             callback = null;
             testExpected("document.webkitIsFullScreen", true);
-            if (window.layoutTestController && eventSender.keyDown) {
+            if (window.testRunner && eventSender.keyDown) {
                 waitForEvent(document, 'keypress', keyPressed);
                 eventSender.keyDown('a', []);
             }