diff options
Diffstat (limited to 'testing/web-platform/tests/service-workers/service-worker/resources/pass-through-worker.js')
-rw-r--r-- | testing/web-platform/tests/service-workers/service-worker/resources/pass-through-worker.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/service-workers/service-worker/resources/pass-through-worker.js b/testing/web-platform/tests/service-workers/service-worker/resources/pass-through-worker.js new file mode 100644 index 0000000000..5eaf48d588 --- /dev/null +++ b/testing/web-platform/tests/service-workers/service-worker/resources/pass-through-worker.js @@ -0,0 +1,3 @@ +addEventListener('fetch', evt => { + evt.respondWith(fetch(evt.request)); +}); |