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; script-nonce 1/1;', 'resources/script.js
', '1/1'], | |
8 ['yes', 'script-src 127.0.0.1:8000; script-nonce {};', 'resources/script.js'
, '{}'], | |
9 ['yes', 'script-src 127.0.0.1:8000; script-nonce /\\;', 'resources/script.js
', '/\\'], | |
10 ]; | |
11 </script> | |
12 </head> | |
13 <body onload="testExperimentalPolicy()"> | |
14 <p> | |
15 All of these scripts should execute, as all the nonces are valid. | |
16 </p> | |
OLD | NEW |