Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/uncontrolled-page.https.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/uncontrolled-page.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/uncontrolled-page.https.html |
similarity index 83% |
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/uncontrolled-page.html |
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/uncontrolled-page.https.html |
index 5da0e9701369ee2b892b1272e1f48d4c16c71d56..a9523a54cdce27ccddb5860121101cdd1bdb50cc 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/uncontrolled-page.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/uncontrolled-page.https.html |
@@ -1,8 +1,8 @@ |
<!DOCTYPE html> |
<title>Service Worker: Registration</title> |
-<script src="../resources/testharness.js"></script> |
-<script src="../resources/testharnessreport.js"></script> |
-<script src="resources/test-helpers.js"></script> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script src="resources/test-helpers.sub.js"></script> |
<script> |
function fetch_url(url) { |
return new Promise(function(resolve, reject) { |
@@ -26,7 +26,7 @@ async_test(function(t) { |
return wait_for_state(t, reg.installing, 'activated'); |
}) |
.then(function() { |
- return fetch_url('/serviceworker/resources/simple.txt'); |
+ return fetch_url('resources/simple.txt'); |
}) |
.then(function(text) { |
assert_equals(text, 'a simple text file\n'); |