Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fullscreen / full-screen-no-style-sharing.html
index fbefbbf..15182eb 100644 (file)
@@ -5,13 +5,7 @@
     <script src=../media/media-file.js></script>
     <script>
         var video2 = document.getElementById('video2');
-        // 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', "video2.clientWidth==document.body.clientWidth");
-            runWithKeyDown(function(){video2.webkitRequestFullScreen()});
-        }
+        waitForEventTestAndEnd(document, 'webkitfullscreenchange', "video2.clientWidth==document.body.clientWidth");
+        runWithKeyDown(function(){video2.webkitRequestFullScreen()});
     </script>
 </body>