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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/getResponseHeader.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 <title>Testing XMLHttpRequest.getReponseHeader behavior</title> 4 <title>Testing XMLHttpRequest.getReponseHeader behavior</title>
5 <script src="/js-test-resources/js-test-pre.js"></script> 5 <script src="/js-test-resources/js-test.js"></script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 description("Test the required behavior of XMLHttpRequest.getResponseHeader()"); 7 description("Test the required behavior of XMLHttpRequest.getResponseHeader()");
8 8
9 window.jsTestIsAsync = true; 9 window.jsTestIsAsync = true;
10 10
11 var savedHeader = null; 11 var savedHeader = null;
12 var headerName = "Content-Type"; 12 var headerName = "Content-Type";
13 var nullTests = [ "SeT-COoKie", 13 var nullTests = [ "SeT-COoKie",
14 "sEt-coOkIE2", 14 "sEt-coOkIE2",
15 "xxx-mytest-headerabc", 15 "xxx-mytest-headerabc",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 testGetResponseHeader(xhr, headerName, true); 59 testGetResponseHeader(xhr, headerName, true);
60 shouldNotThrow('xhr.open("GET", "resources/1251.html", true);'); 60 shouldNotThrow('xhr.open("GET", "resources/1251.html", true);');
61 // Test for readyState = 1 61 // Test for readyState = 1
62 testGetResponseHeader(xhr, headerName, true); 62 testGetResponseHeader(xhr, headerName, true);
63 shouldNotThrow("xhr.send(null);"); 63 shouldNotThrow("xhr.send(null);");
64 } 64 }
65 runTest(); 65 runTest();
66 </script> 66 </script>
67 </head> 67 </head>
68 </html> 68 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698