Commit 0a2f29f
authored
Correct ServiceWorkerRegistration's update() Web IDL
As mentioned in #1472, https://w3c.github.io/ServiceWorker/#resolve-job-promise-algorithm is written to return Promise<ServiceWorkerRegistration>.
Also, according to https://wpt.fyi/results/service-workers/service-worker/update-result.https.html?label=experimental&label=master&aligned, all implementations are actually returning a ServiceWorkerRegistration.1 parent 479b8ae commit 0a2f29f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| |||
0 commit comments