Navigation Menu

Skip to content

Commit

Permalink
Update to new ServiceWorker spec link
Browse files Browse the repository at this point in the history
  • Loading branch information
CYBAI committed Nov 4, 2018
1 parent 4ec7ded commit 0a82cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/serviceworkerglobalscope.rs
Expand Up @@ -402,7 +402,7 @@ impl ServiceWorkerGlobalScope {
Response(mediator) => {
// TODO XXXcreativcoder This will eventually use a FetchEvent interface to fire event
// when we have the Request and Response dom api's implemented
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker_1/index.html#fetch-event-section
// https://w3c.github.io/ServiceWorker/#fetchevent-interface
self.upcast::<EventTarget>().fire_event(atom!("fetch"));
let _ = mediator.response_chan.send(None);
},
Expand Down

0 comments on commit 0a82cea

Please sign in to comment.