OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src='../resources/multiple-iframe-plugin-test.js'></script> | 4 <script src='../resources/multiple-iframe-plugin-test.js'></script> |
5 <script> | 5 <script> |
6 var tests = [ | 6 var tests = [ |
7 [false, 'plugin-types;'], | 7 [false, 'plugin-types;'], |
8 [false, 'plugin-types ;'], | 8 [false, 'plugin-types ;'], |
| 9 [false, 'plugin-types \'none\''], |
9 [false, 'plugin-types text'], | 10 [false, 'plugin-types text'], |
10 [false, 'plugin-types text/'], | 11 [false, 'plugin-types text/'], |
11 [false, 'plugin-types /text'], | 12 [false, 'plugin-types /text'], |
12 [false, 'plugin-types text//plain'], | 13 [false, 'plugin-types text//plain'], |
13 [false, 'plugin-types text/plainapplication/nospace'], | 14 [false, 'plugin-types text/plainapplication/nospace'], |
14 [true, 'plugin-types text application/x-webkit-test-netscape'], | 15 [true, 'plugin-types text application/x-webkit-test-netscape'], |
15 ]; | 16 ]; |
16 </script> | 17 </script> |
17 </head> | 18 </head> |
18 <body onload="testExperimentalPolicy()"> | 19 <body onload="testExperimentalPolicy()"> |
19 <p> | 20 <p> |
20 This tests our handling of invalid `plugin-types` CSP directives. | 21 This tests our handling of invalid `plugin-types` CSP directives. |
21 Consider this test passing if each of the following frames contains | 22 Consider this test passing if each of the following frames contains |
22 either "PASS" or no text at all. | 23 either "PASS" or no text at all. |
23 </p> | 24 </p> |
OLD | NEW |