Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/update-worker.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/update-worker.php b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/update-worker.js |
similarity index 64% |
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/update-worker.php |
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/update-worker.js |
index 6a18bcafc846b1c0a1fbc0b04df470ebed5318b4..63c4534b7ef147e1b1096cecbe5db21a94d804a1 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/update-worker.php |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/update-worker.js |
@@ -1,14 +1,4 @@ |
-<?php |
-// update() does not bypass cache so set the max-age to 0 such that update() |
-// can find a new version in the network. |
-header('Cache-Control: max-age=0'); |
- |
-// Return a different script for each access. |
-header('Content-Type:application/javascript'); |
-echo '// ' . microtime(); |
-?> |
- |
-importScripts('../../resources/test-helpers.js'); |
+importScripts('../../resources/test-helpers.sub.js'); |
importScripts('../../resources/worker-testharness.js'); |
var events_seen = []; |