@@ -961,10 +961,10 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
961
961
962
962
1. Let |promise| be [=a new promise=] .
963
963
1. Run the following steps [=in parallel=] :
964
- 1. Let |registration| be [=this=] 's associated [=/service worker registration=] .
965
- 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}} " {{DOMException}} , and abort these steps.
966
- 1. Set |registration|'s [=navigation preload enabled flag=] .
967
- 1. Resolve |promise| with undefined.
964
+ 1. Let |registration| be [=this=] 's associated [=/service worker registration=] .
965
+ 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}} " {{DOMException}} , and abort these steps.
966
+ 1. Set |registration|'s [=navigation preload enabled flag=] .
967
+ 1. Resolve |promise| with undefined.
968
968
1. Return |promise|.
969
969
</section>
970
970
@@ -975,10 +975,10 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
975
975
976
976
1. Let |promise| be [=a new promise=] .
977
977
1. Run the following steps [=in parallel=] :
978
- 1. Let |registration| be [=this=] 's associated [=/service worker registration=] .
979
- 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}} " {{DOMException}} , and abort these steps.
980
- 1. Unset |registration|'s [=navigation preload enabled flag=] .
981
- 1. Resolve |promise| with undefined.
978
+ 1. Let |registration| be [=this=] 's associated [=/service worker registration=] .
979
+ 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}} " {{DOMException}} , and abort these steps.
980
+ 1. Unset |registration|'s [=navigation preload enabled flag=] .
981
+ 1. Resolve |promise| with undefined.
982
982
1. Return |promise|.
983
983
</section>
984
984
@@ -989,10 +989,10 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
989
989
990
990
1. Let |promise| be [=a new promise=] .
991
991
1. Run the following steps [=in parallel=] :
992
- 1. Let |registration| be [=this=] 's associated [=/service worker registration=] .
993
- 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}} " {{DOMException}} , and abort these steps.
994
- 1. Set |registration|'s [=navigation preload header value=] to |value|.
995
- 1. Resolve |promise| with undefined.
992
+ 1. Let |registration| be [=this=] 's associated [=/service worker registration=] .
993
+ 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}} " {{DOMException}} , and abort these steps.
994
+ 1. Set |registration|'s [=navigation preload header value=] to |value|.
995
+ 1. Resolve |promise| with undefined.
996
996
1. Return |promise|.
997
997
</section>
998
998
@@ -1003,11 +1003,11 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
1003
1003
1004
1004
1. Let |promise| be [=a new promise=] .
1005
1005
1. Run the following steps [=in parallel=] :
1006
- 1. Let |registration| be [=this=] 's associated [=/service worker registration=] .
1007
- 1. Let |state| be a new {{NavigationPreloadState}} dictionary.
1008
- 1. If |registration|'s [=navigation preload enabled flag=] is set, set |state|["{{NavigationPreloadState/enabled}}"] to true.
1009
- 1. Set |state|["{{NavigationPreloadState/headerValue}}"] to |registration|'s [=navigation preload header value=] .
1010
- 1. Resolve |promise| with |state|.
1006
+ 1. Let |registration| be [=this=] 's associated [=/service worker registration=] .
1007
+ 1. Let |state| be a new {{NavigationPreloadState}} dictionary.
1008
+ 1. If |registration|'s [=navigation preload enabled flag=] is set, set |state|["{{NavigationPreloadState/enabled}}"] to true.
1009
+ 1. Set |state|["{{NavigationPreloadState/headerValue}}"] to |registration|'s [=navigation preload header value=] .
1010
+ 1. Resolve |promise| with |state|.
1011
1011
1. Return |promise|.
1012
1012
</section>
1013
1013
0 commit comments