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

Side by Side Diff: LayoutTests/http/tests/fetch/script-tests/thorough/auth.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 [BASE_URL + 'Auth&mode=same-origin&credentials=omit', 8 [BASE_URL + 'Auth&mode=same-origin&credentials=omit',
9 [fetchResolved, hasBody], [checkJsonpError]], 9 [fetchResolved, hasBody], [checkJsonpError]],
10 [BASE_URL + 'Auth&mode=same-origin&credentials=include', 10 [BASE_URL + 'Auth&mode=same-origin&credentials=include',
11 [fetchResolved, hasBody], [authCheck1]], 11 [fetchResolved, hasBody], [authCheck1]],
12 [BASE_URL + 'Auth&mode=same-origin&credentials=same-origin', 12 [BASE_URL + 'Auth&mode=same-origin&credentials=same-origin',
13 [fetchResolved, hasBody], [authCheck1]], 13 [fetchResolved, hasBody], [authCheck1]],
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 [OTHER_BASE_URL + 'Auth&mode=cors&credentials=include&ACAOrigin=' + 127 [OTHER_BASE_URL + 'Auth&mode=cors&credentials=include&ACAOrigin=' +
128 BASE_ORIGIN + '&PACAOrigin=' + BASE_ORIGIN + 128 BASE_ORIGIN + '&PACAOrigin=' + BASE_ORIGIN +
129 '&PACACredentials=true&method=PUT&PACAMethods=PUT&PreflightTest=200', 129 '&PACACredentials=true&method=PUT&PACAMethods=PUT&PreflightTest=200',
130 [fetchRejected]], 130 [fetchRejected]],
131 ]; 131 ];
132 132
133 if (self.importScripts) { 133 if (self.importScripts) {
134 executeTests(TEST_TARGETS); 134 executeTests(TEST_TARGETS);
135 done(); 135 done();
136 } 136 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698