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

Unified Diff: LayoutTests/http/tests/fetch/script-tests/thorough/access-control.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 side-by-side diff with in-line comments
Download patch
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 = [

Powered by Google App Engine
This is Rietveld 408576698