mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Update to new ServiceWorker spec link
This commit is contained in:
parent
4ec7dedce1
commit
0a82cea555
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue