mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #22107 - CYBAI:update-spec-link, r=emilio
Update to new ServiceWorker spec link I think this is missing in #13408 --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because it just updates the spec link <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22107) <!-- Reviewable:end -->
This commit is contained in:
commit
348f5520ee
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