Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-eval-blocked.html
blobdf988bf45d72ef0b5558f9548899af3fc5951096
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline'">
6 <script>
7 function test()
9 InspectorTest.evaluateInConsole("1+2", step1);
10 function step1()
12 InspectorTest.dumpConsoleMessages();
13 InspectorTest.completeTest();
16 </script>
17 </head>
18 <body onload="runTest()">
19 <p>
20 Tests that evaluation in console still works even if script evals are prohibited by Content-Security-Policy.
21 <a href="https://bugs.webkit.org/show_bug.cgi?id=60800">Bug 60800.</a>
22 </p>
23 </body>
24 </html>