Index: LayoutTests/fullscreen/full-screen-request.html |
diff --git a/LayoutTests/fullscreen/full-screen-request.html b/LayoutTests/fullscreen/full-screen-request.html |
index aac695e25e76ff55247c5b2521f3b84d48fb7272..ad1b9cfc83355f494150925a6c247b9a02b2b793 100644 |
--- a/LayoutTests/fullscreen/full-screen-request.html |
+++ b/LayoutTests/fullscreen/full-screen-request.html |
@@ -1,12 +1,6 @@ |
<body> |
<script src="full-screen-test.js"></script> |
<script> |
- // Bail out early if the full screen API is not enabled or is missing: |
- if (Element.prototype.webkitRequestFullScreen == undefined) { |
- logResult(false, "Element.prototype.webkitRequestFullScreen == undefined"); |
- endTest(); |
- } else { |
- waitForEventTestAndEnd(document, 'webkitfullscreenchange', "document.webkitIsFullScreen==true"); |
- runWithKeyDown(function(){document.documentElement.webkitRequestFullScreen()}); |
- } |
+ waitForEventTestAndEnd(document, 'webkitfullscreenchange', "document.webkitIsFullScreen==true"); |
+ runWithKeyDown(function(){document.documentElement.webkitRequestFullScreen()}); |
</script> |