mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +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) => {
|
Response(mediator) => {
|
||||||
// TODO XXXcreativcoder This will eventually use a FetchEvent interface to fire event
|
// TODO XXXcreativcoder This will eventually use a FetchEvent interface to fire event
|
||||||
// when we have the Request and Response dom api's implemented
|
// 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"));
|
self.upcast::<EventTarget>().fire_event(atom!("fetch"));
|
||||||
let _ = mediator.response_chan.send(None);
|
let _ = mediator.response_chan.send(None);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue