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

Side by Side Diff: LayoutTests/http/tests/fetch/script-tests/thorough/nocors.js

Issue 1267263003: Rename fetch layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months 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 if (self.importScripts) { 1 if (self.importScripts) {
2 importScripts('../resources/fetch-test-helpers.js'); 2 importScripts('/fetch/resources/fetch-test-helpers.js');
3 importScripts('../resources/fetch-access-control-util.js'); 3 importScripts('/fetch/resources/thorough-util.js');
4 } 4 }
5 5
6 var TEST_TARGETS = [ 6 var TEST_TARGETS = [
7 // Test that default mode is no-cors in serviceworker-proxied tests. 7 // Test that default mode is no-cors in serviceworker-proxied tests.
8 onlyOnServiceWorkerProxiedTest( 8 onlyOnServiceWorkerProxiedTest(
9 [BASE_URL + 'method=GET', 9 [BASE_URL + 'method=GET',
10 [fetchResolved, hasContentLength, hasServerHeader, hasBody, typeBasic], 10 [fetchResolved, hasContentLength, hasServerHeader, hasBody, typeBasic],
11 [methodIsGET, authCheck1]]), 11 [methodIsGET, authCheck1]]),
12 onlyOnServiceWorkerProxiedTest( 12 onlyOnServiceWorkerProxiedTest(
13 [BASE_URL + 'method=GET&headers={}', 13 [BASE_URL + 'method=GET&headers={}',
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 [OTHER_BASE_URL + 'mode=no-cors&method=PUT&headers=CUSTOM', 70 [OTHER_BASE_URL + 'mode=no-cors&method=PUT&headers=CUSTOM',
71 [fetchError]], 71 [fetchError]],
72 [OTHER_BASE_URL + 'mode=no-cors&method=XXX&headers=CUSTOM', 72 [OTHER_BASE_URL + 'mode=no-cors&method=XXX&headers=CUSTOM',
73 [fetchError]], 73 [fetchError]],
74 ]; 74 ];
75 75
76 if (self.importScripts) { 76 if (self.importScripts) {
77 executeTests(TEST_TARGETS); 77 executeTests(TEST_TARGETS);
78 done(); 78 done();
79 } 79 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698