| <!DOCTYPE html> |
| <html> |
| <head> |
| <script src='resources/multiple-iframe-test.js'></script> |
| <script> |
| var tests = [ |
| ['yes', 'script-src http://127.0.0.1:8000', 'resources/script.js'], |
| ['no', 'script-src https://127.0.0.1:8000', 'resources/script.js'], |
| ['no', 'script-src https://127.0.0.1:*', 'resources/script.js'], |
| ['no', 'script-src https://127.0.0.1:* ', 'resources/script.js'] |
| ]; |
| </script> |
| </head> |
| <body onload="test()"> |
| <p> |
| None of these scripts should execute even though there are parse errors in the policy. |
| </p> |