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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/full-screen-enabled.html

Issue 2898503002: Reenable feature policy control over fullscreen (Closed)
Patch Set: Reworking tests a bit Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fullscreen/full-screen-enabled.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-enabled.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-enabled.html
index 6617c4dae32475ac65806f613a56991e9ca5a093..63a58b44ec9726cb6126035789a661d013074b3e 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/full-screen-enabled.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-enabled.html
@@ -3,10 +3,11 @@
<a href="http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html">Full Screen API</a></div>
<script src="full-screen-test.js"></script>
<script>
+ <!-- Fullscreen is enabled in same-origin frames regardless of allowfullscreen -->
var iframe = document.documentElement.appendChild(document.createElement('iframe'));
iframe.setAttribute('allowfullscreen', 'true');
var iframe2 = document.documentElement.appendChild(document.createElement('iframe'));
testExpected('iframe.contentDocument.webkitFullscreenEnabled', true);
- testExpected('iframe2.contentDocument.webkitFullscreenEnabled', false);
+ testExpected('iframe2.contentDocument.webkitFullscreenEnabled', true);
endTest();
</script>

Powered by Google App Engine
This is Rietveld 408576698