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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/fullscreen/resources/report-full-screen-enabled.html

Issue 2898503002: Reenable feature policy control over fullscreen (Closed)
Patch Set: Reinstate original (same-origin) wpt tests with failing expectations 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>IFrame fullscreenEnabled attribute reporter</title>
4 <body>
5 <script>
6 reportFullscreenEnabled = (frame) => {
7 parent.postMessage({"report": {
8 "api": "fullscreen",
9 "enabled": document.webkitFullscreenEnabled,
10 "frame": frame
11 }}, "*");
12 }
13
14 window.addEventListener('message', (e) => {
15 if (e.data.action == "report") reportFullscreenEnabled(e.data.frame);
16 });
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698