Chromium Code Reviews| Index: content/test/data/service_worker/fetch_event_pass_through.js |
| diff --git a/content/test/data/service_worker/fetch_event_pass_through.js b/content/test/data/service_worker/fetch_event_pass_through.js |
| index fc23dd28b91ee5d63884caed8a73e01946c230e9..df76d0a094fd0d876c78cc9f327df6e213e056c2 100644 |
| --- a/content/test/data/service_worker/fetch_event_pass_through.js |
| +++ b/content/test/data/service_worker/fetch_event_pass_through.js |
| @@ -2,4 +2,6 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -this.onfetch = function(event) { }; |
| +this.onfetch = function(event) { |
| + event.respondWith(fetch(event.request)); |
|
falken
2016/04/06 04:41:37
We don't call this pass through. Pass through woul
Raj
2016/04/06 05:08:42
Done.
|
| +}; |