Index: LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth-nocors.js |
diff --git a/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth-nocors.js b/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth-nocors.js |
deleted file mode 100644 |
index ea76967dd1e96ce9c2cecaa4429166e167080711..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-auth-nocors.js |
+++ /dev/null |
@@ -1,63 +0,0 @@ |
-if (self.importScripts) { |
- importScripts('../resources/fetch-test-helpers.js'); |
- importScripts('../resources/fetch-access-control-util.js'); |
-} |
- |
-var TEST_TARGETS = [ |
- // Auth check |
- // Test that default mode is no-cors in serviceworker-proxied tests. |
- onlyOnServiceWorkerProxiedTest( |
- [BASE_URL + 'Auth', |
- [fetchResolved, hasBody], [authCheck1]]), |
- onlyOnServiceWorkerProxiedTest( |
- [BASE_URL + 'Auth&credentials=omit', |
- [fetchResolved, hasBody], [checkJsonpError]]), |
- onlyOnServiceWorkerProxiedTest( |
- [BASE_URL + 'Auth&credentials=include', |
- [fetchResolved, hasBody], [authCheck1]]), |
- onlyOnServiceWorkerProxiedTest( |
- [BASE_URL + 'Auth&credentials=same-origin', |
- [fetchResolved, hasBody], [authCheck1]]), |
- |
- // Tests for same-origin requests. |
- [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]], |
- |
- // Test that default mode is no-cors in serviceworker-proxied tests. |
- onlyOnServiceWorkerProxiedTest( |
- [OTHER_BASE_URL + 'Auth', |
- [fetchResolved, noBody, typeOpaque], |
- [authCheck2]]), |
- onlyOnServiceWorkerProxiedTest( |
- [OTHER_BASE_URL + 'Auth&credentials=omit', |
- [fetchResolved, noBody, typeOpaque], |
- [checkJsonpError]]), |
- onlyOnServiceWorkerProxiedTest( |
- [OTHER_BASE_URL + 'Auth&credentials=include', |
- [fetchResolved, noBody, typeOpaque], |
- [authCheck2]]), |
- onlyOnServiceWorkerProxiedTest( |
- [OTHER_BASE_URL + 'Auth&credentials=same-origin', |
- [fetchResolved, noBody, typeOpaque], |
- [authCheck2]]), |
- |
- // Tests for cross-origin requests. |
- [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])], |
-]; |
- |
-if (self.importScripts) { |
- executeTests(TEST_TARGETS); |
- done(); |
-} |