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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/base-uri-allow.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <meta http-equiv="Content-Security-Policy" content="base-uri http://example. com"> 4 <meta http-equiv="Content-Security-Policy" content="base-uri http://example. com">
5 <base href="http://example.com/"> 5 <base href="http://example.com/">
6 <script src="http://localhost:8000/js-test-resources/js-test-pre.js"></scrip t> 6 <script src="http://localhost:8000/js-test-resources/js-test.js"></script>
7 <script> 7 <script>
8 description('Check that base URIs can be set if they do not violate the page\'s policy.'); 8 description('Check that base URIs can be set if they do not violate the page\'s policy.');
9 9
10 shouldBeEqualToString('document.baseURI', 'http://example.com/'); 10 shouldBeEqualToString('document.baseURI', 'http://example.com/');
11 </script> 11 </script>
12 </head> 12 </head>
13 <body> 13 <body>
14 </html> 14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698