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

Side by Side Diff: LayoutTests/http/tests/cache/xhr-vary-header.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 <p>Test that XMLHttpRequest doesn't return a wrong cached answer when there is a Vary header in response.</p> 1 <p>Test that XMLHttpRequest doesn't return a wrong cached answer when there is a Vary header in response.</p>
2 2
3 <script src="/js-test-resources/js-test-pre.js"></script> 3 <script src="/js-test-resources/js-test-pre.js"></script>
4 <script> 4 <script>
5 window.jsTestIsAsync = true; 5 window.jsTestIsAsync = true;
6 6
7 if (location.protocol != "http:" || location.host != "127.0.0.1:8000") 7 if (location.protocol != "http:" || location.host != "127.0.0.1:8000")
8 debug("This test must be run from http://127.0.0.1:8000"); 8 debug("This test must be run from http://127.0.0.1:8000");
9 9
10 var testStep = 1; 10 var testStep = 1;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 window.onmessage = function(msg) { receivedResponse(msg.data) } 51 window.onmessage = function(msg) { receivedResponse(msg.data) }
52 window.onload = testCrossOrigin; 52 window.onload = testCrossOrigin;
53 53
54 </script> 54 </script>
55 55
56 <button onclick="testCrossOrigin()">Make cross origin request</button> 56 <button onclick="testCrossOrigin()">Make cross origin request</button>
57 <br> 57 <br>
58 <iframe src="http://localhost:8000/cache/resources/xhr-vary-header-subframe.html " frameborder=0 height=50></iframe> 58 <iframe src="http://localhost:8000/cache/resources/xhr-vary-header-subframe.html " frameborder=0 height=50></iframe>
59 <pre id=console></pre> 59 <pre id=console></pre>
60 <script src="/js-test-resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698