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

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

Issue 19762002: [HTML Imports] Let script of imported document running. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made a test more robust. Created 7 years, 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 </script>
6 <link id="target" rel="import" href="resources/child-having-unsafe-inline-policy .html">
7 <script src="/js-test-resources/js-test-pre.js"></script>
8 </head>
9 <body>
10 <script>
11 shouldBeTrue("document.inlineScriptHasRun");
12 shouldBe("document.externalScriptHasRun", "undefined");
13 shouldBe("document.corsExternalScriptHasRun", "undefined");
14 shouldBe("document.evalFromInlineHasRun", "undefined");
15 shouldBe("document.evalFromExternalHasRun", "undefined");
16 shouldBe("document.evalFromCorsExternalHasRun", "undefined");
17 </script>
18 <script src="/js-test-resources/js-test-post.js"></script>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698