| OLD | NEW |
| 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-pre.js"></scrip
t> |
| 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 <script src="http://localhost:8000/js-test-resources/js-test-post.js"></scri
pt> | |
| 13 </head> | 12 </head> |
| 14 <body> | 13 <body> |
| 15 </html> | 14 </html> |
| OLD | NEW |