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

Side by Side Diff: LayoutTests/http/tests/fetch/script-tests/thorough/auth-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 // Auth check 7 // Auth check
8 // Test that default mode is no-cors in serviceworker-proxied tests. 8 // Test that default mode is no-cors in serviceworker-proxied tests.
9 onlyOnServiceWorkerProxiedTest( 9 onlyOnServiceWorkerProxiedTest(
10 [BASE_URL + 'Auth', 10 [BASE_URL + 'Auth',
11 [fetchResolved, hasBody], [authCheck1]]), 11 [fetchResolved, hasBody], [authCheck1]]),
12 onlyOnServiceWorkerProxiedTest( 12 onlyOnServiceWorkerProxiedTest(
13 [BASE_URL + 'Auth&credentials=omit', 13 [BASE_URL + 'Auth&credentials=omit',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 onlyOnServiceWorkerProxiedTest([authCheck2])], 54 onlyOnServiceWorkerProxiedTest([authCheck2])],
55 [OTHER_BASE_URL + 'Auth&mode=no-cors&credentials=same-origin', 55 [OTHER_BASE_URL + 'Auth&mode=no-cors&credentials=same-origin',
56 [fetchResolved, noBody, typeOpaque], 56 [fetchResolved, noBody, typeOpaque],
57 onlyOnServiceWorkerProxiedTest([authCheck2])], 57 onlyOnServiceWorkerProxiedTest([authCheck2])],
58 ]; 58 ];
59 59
60 if (self.importScripts) { 60 if (self.importScripts) {
61 executeTests(TEST_TARGETS); 61 executeTests(TEST_TARGETS);
62 done(); 62 done();
63 } 63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698