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