| Index: LayoutTests/fullscreen/full-screen-request-not-supported.html
|
| diff --git a/LayoutTests/fullscreen/full-screen-request-not-supported.html b/LayoutTests/fullscreen/full-screen-request-not-supported.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..db7d24ed0fa44fab0d53b35570277e5c18c8c218
|
| --- /dev/null
|
| +++ b/LayoutTests/fullscreen/full-screen-request-not-supported.html
|
| @@ -0,0 +1,18 @@
|
| +<body>
|
| +<script src="full-screen-test.js"></script>
|
| +<video id="video" width="300"></video>
|
| +<div>Tests for the fullscreenSupported setting which will be set to false
|
| +in those platforms where fullscreen is not supported.
|
| +<script>
|
| + if (window.internals) {
|
| + window.internals.settings.setFullscreenSupported(false);
|
| +
|
| + waitForEvent(document, 'webkitfullscreenchange', function() {
|
| + logResult(false, 'Entered fullscreen.');
|
| + endTest();
|
| + });
|
| + waitForEventAndEnd(document, 'webkitfullscreenerror');
|
| + runWithKeyDown(function(){document.getElementById('video').webkitRequestFullScreen()});
|
| + }
|
| +</script>
|
| +</body>
|
|
|