| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="X-WebKit-CSP" content="script-src 'unsafe-inline'; script-src 'none'"> | |
| <script> | |
| if (window.testRunner) { | |
| testRunner.dumpAsText(); | |
| } | |
| </script> | |
| <script> | |
| alert('PASS (1/1)'); | |
| </script> | |
| </head> | |
| <body> | |
| <p> | |
| This tests the effect of duplicated directives. It passes if a | |
| console warning is visible, and the alert() is executed. | |
| </p> | |
| </body> | |
| </html> |