From cd5af057aa6f839e1d69989b250c6e3d40b124ad Mon Sep 17 00:00:00 2001 From: Matt Falkenhagen Date: Thu, 6 Jun 2019 12:49:23 +0900 Subject: [PATCH] Fix early return value from Handle Fetch --- docs/index.bs | 2 +- docs/v1/index.bs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.bs b/docs/index.bs index 992afcf4..6e0369d4 100644 --- a/docs/index.bs +++ b/docs/index.bs @@ -2856,7 +2856,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe * |request| is a [=subresource request=] and |registration| is [=stale=]. 1. If the result of running the [=Should Skip Event=] algorithm with "fetch" and |activeWorker| is true, then: 1. If |shouldSoftUpdate| is true, then [=in parallel=] run the [=Soft Update=] algorithm with |registration|. - 1. Return. + 1. Return null. 1. If |activeWorker|'s state is *activating*, wait for |activeWorker|'s state to become *activated*. 1. Invoke Run Service Worker algorithm with |activeWorker| as the argument. 1. Queue a task |task| to run the following substeps: diff --git a/docs/v1/index.bs b/docs/v1/index.bs index acfe6bc5..6ded82e8 100644 --- a/docs/v1/index.bs +++ b/docs/v1/index.bs @@ -2652,7 +2652,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe * |request| is a [=subresource request=] and |registration| is [=stale=]. 1. If the result of running the [=Should Skip Event=] algorithm with "fetch" and |activeWorker| is true, then: 1. If |shouldSoftUpdate| is true, then [=in parallel=] run the [=Soft Update=] algorithm with |registration|. - 1. Return. + 1. Return null. 1. If |activeWorker|'s state is *activating*, wait for |activeWorker|'s state to become *activated*. 1. Invoke Run Service Worker algorithm with |activeWorker| as the argument. 1. Queue a task |task| to run the following substeps: