Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: LayoutTests/fullscreen/full-screen-not-enabled-when-unsupported.html

Issue 426593010: Set fullscreenEnabled to false when fullscreen is not supported. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <body>
2 <div>This tests that the <code>fullscreenEnabled</code> property is false when f ullscreen
3 is not supported as laid out in section 4 of the
4 <a href="http://fullscreen.spec.whatwg.org/#api">Fullscreen API</a> living
5 standard</div>
6 <script src="full-screen-test.js"></script>
7 <script>
8 window.internals.settings.setFullscreenEnabled(false);
9
10 var iframe = document.documentElement.appendChild(document.createElement('if rame'));
philipj_slow 2014/08/04 09:24:13 You don't need an iframe to test this, just testin
Ignacio Solla 2014/08/04 11:43:33 I need it, 'allowfullscreen' is not a property of
philipj_slow 2014/08/04 12:18:51 For a top-level document, webkitFullscreenEnabled
11 iframe.setAttribute('allowfullscreen', 'true');
12 testExpected('iframe.contentDocument.webkitFullscreenEnabled', false);
13 endTest();
14 </script>
15 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698