Skip to content

Commit 9ae72d3

Browse files
authored
Editorial: Update use of WebIDL "invoke a callback function" (#172)
This algorithm can now handle the need to report an exception thrown by the callback. Some small tweaks are made for consistency with other specifications. Part of whatwg/webidl#1425.
1 parent b0ca499 commit 9ae72d3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ <h2>
849849
<ol>
850850
<li>[=Queue a task=] on the [=geolocation task
851851
source=] with a step that [=invokes=]
852-
|successCallback| with |cachedPosition|.
852+
|successCallback| with « |cachedPosition| » and "`report`".
853853
</li>
854854
<li>Terminate this algorithm.
855855
</li>
@@ -971,7 +971,8 @@ <h2>
971971
<li>Stop the |timeout|.
972972
</li>
973973
<li>[=Queue a task=] on the [=geolocation task source=] with
974-
a step that [=invokes=] |successCallback| with |position|.
974+
a step that [=invokes=] |successCallback| with « |position| »
975+
and "`report`".
975976
</li>
976977
</ol>
977978
</li>
@@ -1043,7 +1044,7 @@ <h2>
10431044
{{GeolocationPositionError/code}} attribute is initialized to |code|.
10441045
</li>
10451046
<li>[=Queue a task=] on the [=geolocation task source=] with a step
1046-
that [=invokes=] |callback| with |error|.
1047+
that [=invokes=] |callback| with « |error| » and "`report`".
10471048
</li>
10481049
</ol>
10491050
</section>

0 commit comments

Comments
 (0)