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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/resources/origin-exact-matching-iframe.html

Issue 48903019: Delete js-test-post.js. (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 <script src="../../js-test-resources/js-test-pre.js"></script> 4 <script src="../../js-test-resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script type="text/javascript"> 7 <script type="text/javascript">
8 description("Check that exact matching is used when comparing a request's origin ating url and the value provided by Access-Control-Allow-Origin."); 8 description("Check that exact matching is used when comparing a request's origin ating url and the value provided by Access-Control-Allow-Origin.");
9 var urlTemplate = "http://127.0.0.1:8000/xmlhttprequest/resources/access-control -allow-lists.php?origin="; 9 var urlTemplate = "http://127.0.0.1:8000/xmlhttprequest/resources/access-control -allow-lists.php?origin=";
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 shouldFail("\0" + location.protocol + "//" + location.host); 61 shouldFail("\0" + location.protocol + "//" + location.host);
62 shouldFail("null " + location.protocol + "//" + location.host); 62 shouldFail("null " + location.protocol + "//" + location.host);
63 shouldFail('http://example.net'); 63 shouldFail('http://example.net');
64 shouldFail('null'); 64 shouldFail('null');
65 shouldFail(''); 65 shouldFail('');
66 shouldFail(location.href); 66 shouldFail(location.href);
67 shouldFail(location.href.replace(/\/[^\/]*$/, '/')); 67 shouldFail(location.href.replace(/\/[^\/]*$/, '/'));
68 shouldFail(location.href.replace(location.hostname, "localhost")); 68 shouldFail(location.href.replace(location.hostname, "localhost"));
69 69
70 </script> 70 </script>
71 <script src="../../js-test-resources/js-test-post.js"></script>
72 </body> 71 </body>
73 </html> 72 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698