OLD | NEW |
---|---|
(Empty) | |
1 <?php | |
2 // Copyright 2016 The Chromium Authors. All rights reserved. | |
3 // Use of this source code is governed by a BSD-style license that can be | |
4 // found in the LICENSE file. | |
5 | |
6 // This test ensures that fullscreen feature when disabled may not be called by | |
7 // any iframe even when allowfullscreen is set. | |
8 | |
9 Header("Feature-Policy: {\"fullscreen\": []}"); | |
10 ?> | |
11 | |
12 <!DOCTYPE html> | |
13 <html> | |
foolip
2016/11/28 23:33:22
Tests can omit html, head and body.
lunalu1
2016/12/01 20:10:07
Done.
| |
14 <head> | |
15 <script src="../../resources/testharness.js"></script> | |
16 <script src="../../resources/testharnessreport.js"></script> | |
17 <script> | |
18 if (window.testRunner) { | |
19 testRunner.dumpAsText(); | |
20 testRunner.dumpChildFramesAsText(); | |
21 } | |
22 </script> | |
23 </head> | |
24 <body> | |
25 <iframe id="f1" src="resources/feature-policy-fullscreen-disabled.html"></iframe > | |
26 <iframe id="f2" src="http://localhost:8000/feature-policy/resources/feature-poli cy-fullscreen-disabled.html"></iframe> | |
27 <iframe id="f3" src="resources/feature-policy-fullscreen-disabled.html" allowful lscreen></iframe> | |
28 <iframe id="f4" src="http://localhost:8000/feature-policy/resources/feature-poli cy-fullscreen-disabled.html" allowfullscreen></iframe> | |
29 </body> | |
30 </html> | |
OLD | NEW |