| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b7678bab65ae7be06199b22651de12cf1c752a7b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php
|
| @@ -0,0 +1,19 @@
|
| +<?php
|
| +header("Cache-Control: no-cache, must-revalidate");
|
| +header("Pragma: no-cache");
|
| +header('Content-Type:application/javascript');
|
| +
|
| +echo '// ', microtime();
|
| +?>
|
| +
|
| +addEventListener('fetch', event => {
|
| + return;
|
| + });
|
| +
|
| +addEventListener('install', event => {
|
| + event.waitUntil(self.skipWaiting());
|
| + });
|
| +
|
| +addEventListener('activate', event => {
|
| + event.waitUntil(self.clients.claim());
|
| + });
|
|
|