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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/uncontrolled-page.https.html

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 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: 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');

Powered by Google App Engine
This is Rietveld 408576698