Skip to content

Commit 522a17c

Browse files
Merge pull request #1715 from yoshisatoyanagisawa/fix
Editorial: fixed the bikeshed errors
2 parents e23f928 + 57d7612 commit 522a17c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/index.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
14541454
1. Run these substeps <a>in parallel</a>:
14551455
1. Let |newContext| be a new [=top-level browsing context=].
14561456
1. [=Queue a task=] to run the following steps on |newContext|'s {{Window}} object's [=environment settings object=]'s [=responsible event loop=] using the [=user interaction task source=]:
1457-
1. *HandleNavigate*: [=Navigate=] |newContext| to |url| with [=exceptionsEnabled=] true, and [=historyHandling=] "<code>replace</code>".
1457+
1. *HandleNavigate*: [=Navigate=] |newContext| to |url| with [=navigate/exceptionsEnabled=] true, and <i>[=navigate/historyHandling=]</i> "<code>replace</code>".
14581458
1. If the algorithm steps invoked in the step labeled *HandleNavigate* [=throws=] an exception, [=queue a task=] to reject |promise| with the exception, on |serviceWorkerEventLoop| using the [=DOM manipulation task source=], and abort these steps.
14591459
1. Let |frameType| be the result of running [=Get Frame Type=] with |newContext|.
14601460
1. Let |visibilityState| be |newContext|'s <a>active document</a>'s {{Document/visibilityState}} attribute value.
@@ -2096,7 +2096,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
20962096
1. Invoke [=Batch Cache Operations=] with |operations|. If this [=throws=] an exception, set |errorData| to the exception.
20972097
1. [=Queue a task=], on |cacheJobPromise|'s [=relevant settings object=]'s [=responsible event loop=] using the [=DOM manipulation task source=], to perform the following substeps:
20982098
1. If |errorData| is null, resolve |cacheJobPromise| with undefined.
2099-
1. Else, reject |cacheJobPromise| with a [=exception/create|new=] [=exception=] with |errorData| and a user agent-defined [=exception/message=], in |realm|.
2099+
1. Else, reject |cacheJobPromise| with a [=exception/create|new=] [=exception=] with |errorData|, in |realm|.
21002100
1. Return |cacheJobPromise|.
21012101
</section>
21022102

@@ -2141,7 +2141,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
21412141
1. Invoke [=Batch Cache Operations=] with |operations|. If this [=throws=] an exception, set |errorData| to the exception.
21422142
1. [=Queue a task=], on |cacheJobPromise|'s [=relevant settings object=]'s [=responsible event loop=] using the [=DOM manipulation task source=], to perform the following substeps:
21432143
1. If |errorData| is null, resolve |cacheJobPromise| with undefined.
2144-
1. Else, reject |cacheJobPromise| with a [=exception/create|new=] [=exception=] with |errorData| and a user agent-defined [=exception/message=], in |realm|.
2144+
1. Else, reject |cacheJobPromise| with a [=exception/create|new=] [=exception=] with |errorData|, in |realm|.
21452145
</section>
21462146

21472147
<section algorithm="cache-delete">
@@ -2170,7 +2170,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
21702170
1. If |errorData| is null, then:
21712171
1. If |requestResponses| [=list/is not empty=], resolve |cacheJobPromise| with true.
21722172
1. Else, resolve |cacheJobPromise| with false.
2173-
1. Else, reject |cacheJobPromise| with a [=exception/create|new=] [=exception=] with |errorData| and a user agent-defined [=exception/message=], in |realm|.
2173+
1. Else, reject |cacheJobPromise| with a [=exception/create|new=] [=exception=] with |errorData|, in |realm|.
21742174
1. Return |cacheJobPromise|.
21752175
</section>
21762176

@@ -2642,10 +2642,10 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
26422642
: Output
26432643
:: none
26442644

2645-
1. If |job|'s [=job/client=] is not null, [=queue a task=], on |job|'s [=job/client=]'s [=responsible event loop=] using the [=DOM manipulation task source=], to reject |job|'s [=job/job promise=] with a [=exception/create|new=] [=exception=] with |errorData| and a user agent-defined [=exception/message=], in |job|'s [=job/client=]'s [=environment settings object/Realm=].
2645+
1. If |job|'s [=job/client=] is not null, [=queue a task=], on |job|'s [=job/client=]'s [=responsible event loop=] using the [=DOM manipulation task source=], to reject |job|'s [=job/job promise=] with a [=exception/create|new=] [=exception=] with |errorData|, in |job|'s [=job/client=]'s [=environment settings object/Realm=].
26462646
1. For each |equivalentJob| in |job|'s [=list of equivalent jobs=]:
26472647
1. If |equivalentJob|'s [=job/client=] is null, [=iteration/continue=].
2648-
1. [=Queue a task=], on |equivalentJob|'s [=job/client=]'s [=responsible event loop=] using the [=DOM manipulation task source=], to reject |equivalentJob|'s [=job/job promise=] with a [=exception/create|new=] [=exception=] with |errorData| and a user agent-defined [=exception/message=], in |equivalentJob|'s [=job/client=]'s [=environment settings object/Realm=].
2648+
1. [=Queue a task=], on |equivalentJob|'s [=job/client=]'s [=responsible event loop=] using the [=DOM manipulation task source=], to reject |equivalentJob|'s [=job/job promise=] with a [=exception/create|new=] [=exception=] with |errorData|, in |equivalentJob|'s [=job/client=]'s [=environment settings object/Realm=].
26492649
</section>
26502650

26512651
<section algorithm>
@@ -3115,7 +3115,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
31153115
1. Otherwise, set |callback| to the result of [=convert to an ECMAScript value|converting to an ECMAScript value=] |eventListenerCallback|.
31163116
1. If [$IsCallable$](|callback|) is false, then return false.
31173117

3118-
Note: [=Event listener/Callback=] objects that use {{handleEvent}} are assumed to be non-empty. This avoids calling the {{handleEvent}} getters, which could modify the event listeners during this check.
3118+
Note: [=event listener/Callback=] objects that use {{EventListener/handleEvent(event)}} are assumed to be non-empty. This avoids calling the {{EventListener/handleEvent(event)}} getters, which could modify the event listeners during this check.
31193119

31203120
1. If |callback|'s [=function body=] is not empty (i.e. either a [=statement=] or [=declaration=] exist), then return false.
31213121

0 commit comments

Comments
 (0)