Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Side by Side Diff: LayoutTests/http/tests/htmlimports/csp-import-block-but-domain.html

Issue 183883004: Let ContentSecurityPolicy shared between imports and the master. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding guardRef()/guardDeref() Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/htmlimports/csp-import-block-but-domain-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <meta http-equiv="Content-Security-Policy" content="script-src http://localhost: 8000">
5 </script> 5 <link id="target" rel="import" href="http://localhost:8000/htmlimports/resources /having-domain-policy.cgi">
6 <link id="target" rel="import" href="resources/having-domain-policy.html">
7 <script src="/js-test-resources/js-test.js"></script>
8 </head> 6 </head>
9 <body> 7 <body>
10 <script> 8 <script src="http://localhost:8000/htmlimports/resources/csp-import-block-but-do main.js"></script>
11 shouldBe("document.inlineScriptHasRun", "undefined");
12 shouldBe("document.externalScriptHasRun", "undefined");
13 shouldBeTrue("document.corsExternalScriptHasRun");
14 shouldBe("document.evalFromInlineHasRun", "undefined");
15 shouldBe("document.evalFromExternalHasRun", "undefined");
16 shouldBe("document.evalFromCorsExternalHasRun", "undefined");
17 </script>
18 </body> 9 </body>
19 </html> 10 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/htmlimports/csp-import-block-but-domain-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698