OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script src='../resources/multiple-iframe-test.js'></script> | |
5 <script> | |
6 var tests = [ | |
7 ['yes', 'script-src 127.0.0.1:8000', 'resources/script.js', 'nonce'], | |
8 ['yes', 'script-src 127.0.0.1:8000; script-nonce nonce', 'resources/script.j
s', 'nonce'], | |
9 ['no', 'script-src 127.0.0.1:8000; script-nonce nonce', 'resources/script.js
', 'notnonce'], | |
10 ['no', 'script-src 127.0.0.1:8000; script-nonce notnonce', 'resources/script
.js', 'nonce'], | |
11 ]; | |
12 </script> | |
13 </head> | |
14 <body onload="testExperimentalPolicy()"> | |
15 <p> | |
16 None of these scripts should execute even though there are parse errors in t
he policy. | |
17 </p> | |
OLD | NEW |