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

Side by Side Diff: LayoutTests/http/tests/htmlimports/import-script-nosniff.html

Issue 19762002: [HTML Imports] Let script of imported document running. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to ToT 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link id="target" rel="import" href="http://localhost:8080/htmlimports/resources /hello.html"> 4 <script>
5 </script>
abarth-chromium 2013/07/26 17:17:34 Is there a reason to have this empty script block?
6 <link id="target" rel="import" href="resources/having-sniffing-script.html">
5 <script src="/js-test-resources/js-test-pre.js"></script> 7 <script src="/js-test-resources/js-test-pre.js"></script>
6 </head> 8 </head>
7 <body> 9 <body>
10 <pre id="result"></pre>
8 <script> 11 <script>
9 shouldBeNull("target.import"); 12 shouldBe("document.sniffing", "undefined");
10 </script> 13 </script>
11 <script src="/js-test-resources/js-test-post.js"></script> 14 <script src="/js-test-resources/js-test-post.js"></script>
12 </body> 15 </body>
13 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698