Index: LayoutTests/http/tests/fetch/script-tests/thorough/access-control.js |
diff --git a/LayoutTests/http/tests/fetch/script-tests/fetch-access-control.js b/LayoutTests/http/tests/fetch/script-tests/thorough/access-control.js |
similarity index 87% |
rename from LayoutTests/http/tests/fetch/script-tests/fetch-access-control.js |
rename to LayoutTests/http/tests/fetch/script-tests/thorough/access-control.js |
index 3fa0da5a5bfedcd85c5061bdf529cdfd93ef988d..c9426c74623d74ea2d2554541ee0473cfff549d4 100644 |
--- a/LayoutTests/http/tests/fetch/script-tests/fetch-access-control.js |
+++ b/LayoutTests/http/tests/fetch/script-tests/thorough/access-control.js |
@@ -1,7 +1,7 @@ |
// OPTIONS: ,-base-https-other-https |
if (self.importScripts) { |
- importScripts('../resources/fetch-test-helpers.js'); |
- importScripts('../resources/fetch-access-control-util.js'); |
+ importScripts('/fetch/resources/fetch-test-helpers.js'); |
+ importScripts('/fetch/resources/thorough-util.js'); |
} |
var referer; |
@@ -9,15 +9,14 @@ var referer; |
if (self.importScripts) { |
// fetch/workers or fetch/serviceworker |
referer = BASE_ORIGIN + |
- '/fetch/script-tests/fetch-access-control.js?' + TEST_OPTIONS; |
-} else if(location.pathname.startsWith( |
- '/fetch/serviceworker-proxied/fetch-access-control')) { |
+ '/fetch/script-tests/thorough/access-control.js?' + TEST_OPTIONS; |
+} else if(location.pathname.startsWith('/fetch/serviceworker-proxied/')) { |
// fetch/serviceworker-proxied |
referer = WORKER_URL; |
} else { |
// fetch/window |
referer = BASE_ORIGIN + |
- '/fetch/window/fetch-access-control' + TEST_OPTIONS + '.html'; |
+ '/fetch/window/thorough/access-control' + TEST_OPTIONS + '.html'; |
} |
var TEST_TARGETS = [ |