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

Unified Diff: LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth.js

Issue 921673003: [Fetch] Split layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth.js
diff --git a/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth.js b/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth.js
index 73ac77a5f3445796ff01b2312c3b0c9f5efdb350..19d75575d6c6e3e21ac9f8b7aeda6527b49365fb 100644
--- a/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth.js
+++ b/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth.js
@@ -5,22 +5,6 @@ if (self.importScripts) {
var TEST_TARGETS = [
// Auth check
- [BASE_URL + 'Auth',
- [fetchResolved, hasBody], [authCheck1]],
- [BASE_URL + 'Auth&credentials=omit',
- [fetchResolved, hasBody], [checkJsonpError]],
- [BASE_URL + 'Auth&credentials=include',
- [fetchResolved, hasBody], [authCheck1]],
- [BASE_URL + 'Auth&credentials=same-origin',
- [fetchResolved, hasBody], [authCheck1]],
-
- [BASE_URL + 'Auth&mode=no-cors&credentials=omit',
- [fetchResolved, hasBody], [checkJsonpError]],
- [BASE_URL + 'Auth&mode=no-cors&credentials=include',
- [fetchResolved, hasBody], [authCheck1]],
- [BASE_URL + 'Auth&mode=no-cors&credentials=same-origin',
- [fetchResolved, hasBody], [authCheck1]],
-
[BASE_URL + 'Auth&mode=same-origin&credentials=omit',
[fetchResolved, hasBody], [checkJsonpError]],
[BASE_URL + 'Auth&mode=same-origin&credentials=include',
@@ -35,29 +19,6 @@ var TEST_TARGETS = [
[BASE_URL + 'Auth&mode=cors&credentials=same-origin',
[fetchResolved, hasBody], [authCheck1]],
- [OTHER_BASE_URL + 'Auth',
- [fetchResolved, noBody, typeOpaque],
- onlyOnServiceWorkerProxiedTest([authCheck2])],
- [OTHER_BASE_URL + 'Auth&credentials=omit',
- [fetchResolved, noBody, typeOpaque],
- onlyOnServiceWorkerProxiedTest([checkJsonpError])],
- [OTHER_BASE_URL + 'Auth&credentials=include',
- [fetchResolved, noBody, typeOpaque],
- onlyOnServiceWorkerProxiedTest([authCheck2])],
- [OTHER_BASE_URL + 'Auth&credentials=same-origin',
- [fetchResolved, noBody, typeOpaque],
- onlyOnServiceWorkerProxiedTest([authCheck2])],
-
- [OTHER_BASE_URL + 'Auth&mode=no-cors&credentials=omit',
- [fetchResolved, noBody, typeOpaque],
- onlyOnServiceWorkerProxiedTest([checkJsonpError])],
- [OTHER_BASE_URL + 'Auth&mode=no-cors&credentials=include',
- [fetchResolved, noBody, typeOpaque],
- onlyOnServiceWorkerProxiedTest([authCheck2])],
- [OTHER_BASE_URL + 'Auth&mode=no-cors&credentials=same-origin',
- [fetchResolved, noBody, typeOpaque],
- onlyOnServiceWorkerProxiedTest([authCheck2])],
-
[OTHER_BASE_URL + 'Auth&mode=same-origin&credentials=omit',
[fetchRejected]],
[OTHER_BASE_URL + 'Auth&mode=same-origin&credentials=include',

Powered by Google App Engine
This is Rietveld 408576698