Skip to content

Commit f03b6d1

Browse files
mfalkenjakearchibald
authored andcommitted
Fix early return value from Handle Fetch (#1418)
1 parent 5c60822 commit f03b6d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2855,7 +2855,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
28552855
* |request| is a [=subresource request=] and |registration| is [=stale=].
28562856
1. If the result of running the [=Should Skip Event=] algorithm with "fetch" and |activeWorker| is true, then:
28572857
1. If |shouldSoftUpdate| is true, then [=in parallel=] run the [=Soft Update=] algorithm with |registration|.
2858-
1. Return.
2858+
1. Return null.
28592859
1. If |activeWorker|'s <a>state</a> is *activating*, wait for |activeWorker|'s <a>state</a> to become *activated*.
28602860
1. Invoke <a>Run Service Worker</a> algorithm with |activeWorker| as the argument.
28612861
1. <a>Queue a task</a> |task| to run the following substeps:

docs/v1/index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2652,7 +2652,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
26522652
* |request| is a [=subresource request=] and |registration| is [=stale=].
26532653
1. If the result of running the [=Should Skip Event=] algorithm with "fetch" and |activeWorker| is true, then:
26542654
1. If |shouldSoftUpdate| is true, then [=in parallel=] run the [=Soft Update=] algorithm with |registration|.
2655-
1. Return.
2655+
1. Return null.
26562656
1. If |activeWorker|'s <a>state</a> is *activating*, wait for |activeWorker|'s <a>state</a> to become *activated*.
26572657
1. Invoke <a>Run Service Worker</a> algorithm with |activeWorker| as the argument.
26582658
1. <a>Queue a task</a> |task| to run the following substeps:

0 commit comments

Comments
 (0)