Skip to content

Commit 1a8f06d

Browse files
Editorial: Update use of WebIDL "invoke a callback function" (#172)
SHA: 9ae72d3 Reason: push, by reillyeon Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 267529d commit 1a8f06d

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

index.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
.mdn .samsunginternet_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/samsung-internet/samsung-internet.svg)}
160160
.mdn .webview_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/android-webview/android-webview.png)}
161161
</style>
162-
<meta name="revision" content="b0ca499b233380b46ec7c4a2ad4beba4a8ec4521">
162+
<meta name="revision" content="9ae72d30678b46b6c8c64953df1651f5ef6b7533">
163163
<meta name="description" content="Geolocation provides access to geographical location information
164164
associated with the hosting device.">
165165
<style>
@@ -233,17 +233,17 @@
233233
"xref": "web-platform",
234234
"errata": "https://w3c.github.io/geolocation/errata.html",
235235
"latestVersion": "https://www.w3.org/TR/geolocation/",
236-
"gitRevision": "b0ca499b233380b46ec7c4a2ad4beba4a8ec4521",
237-
"publishISODate": "2024-07-02T00:00:00.000Z",
238-
"generatedSubtitle": "W3C Editor's Draft 02 July 2024"
236+
"gitRevision": "9ae72d30678b46b6c8c64953df1651f5ef6b7533",
237+
"publishISODate": "2024-08-09T00:00:00.000Z",
238+
"generatedSubtitle": "W3C Editor's Draft 09 August 2024"
239239
}</script>
240240
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED">
241241
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="https://www.w3.org/StyleSheets/TR/2021/dark.css"></head>
242242
<body data-cite="WEBIDL secure-contexts permissions-policy permissions hr-time html HTML INFRA URL WEBIDL DOM FETCH" class="h-entry"><div class="head">
243243
<p class="logos"><a class="logo" href="https://www.w3.org/"><img crossorigin="" alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72">
244244
</a></p>
245245
<h1 id="title" class="title">Geolocation</h1>
246-
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">W3C Editor's Draft</a> <time class="dt-published" datetime="2024-07-02">02 July 2024</time></p>
246+
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">W3C Editor's Draft</a> <time class="dt-published" datetime="2024-08-09">09 August 2024</time></p>
247247
<details open="">
248248
<summary>More details about this document</summary>
249249
<dl>
@@ -1469,7 +1469,7 @@ <h1 id="title" class="title">Geolocation</h1>
14691469
set <var>position</var> to <var data-type="GeolocationPosition">cachedPosition</var>.</del> <ins cite="#c8">:
14701470
<ol>
14711471
<li><a data-link-type="dfn|abstract-op" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task" id="ref-for-index-term-queue-a-task-1">Queue a task</a> on the <a data-link-type="dfn|abstract-op" href="#dfn-geolocation-task-source" class="internalDFN" id="ref-for-dfn-geolocation-task-source-1">geolocation task source</a> with a step that <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#invoke-a-callback-function" id="ref-for-index-term-invokes-1">invokes</a>
1472-
<var data-type="PositionCallback">successCallback</var> with <var data-type="GeolocationPosition">cachedPosition</var>.
1472+
<var data-type="PositionCallback">successCallback</var> with « <var data-type="GeolocationPosition">cachedPosition</var> » and "<code>report</code>".
14731473
</li>
14741474
<li>Terminate this algorithm.
14751475
</li>
@@ -1591,7 +1591,8 @@ <h1 id="title" class="title">Geolocation</h1>
15911591
<li>Stop the <var>timeout</var>.
15921592
</li>
15931593
<li><a data-link-type="dfn|abstract-op" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task" id="ref-for-index-term-queue-a-task-2">Queue a task</a> on the <a data-link-type="dfn|abstract-op" href="#dfn-geolocation-task-source" class="internalDFN" id="ref-for-dfn-geolocation-task-source-2">geolocation task source</a> with
1594-
a step that <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#invoke-a-callback-function" id="ref-for-index-term-invokes-2">invokes</a> <var data-type="PositionCallback">successCallback</var> with <var>position</var>.
1594+
a step that <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#invoke-a-callback-function" id="ref-for-index-term-invokes-2">invokes</a> <var data-type="PositionCallback">successCallback</var> with « <var>position</var> »
1595+
and "<code>report</code>".
15951596
</li>
15961597
</ol>
15971598
</li>
@@ -1662,7 +1663,7 @@ <h1 id="title" class="title">Geolocation</h1>
16621663
<a data-link-type="idl" href="#dom-geolocationpositionerror-code" class="internalDFN" id="ref-for-dom-geolocationpositionerror-code-1"><code>code</code></a> attribute is initialized to <var data-type="unsigned short">code</var>.
16631664
</li>
16641665
<li><a data-link-type="dfn|abstract-op" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task" id="ref-for-index-term-queue-a-task-3">Queue a task</a> on the <a data-link-type="dfn|abstract-op" href="#dfn-geolocation-task-source" class="internalDFN" id="ref-for-dfn-geolocation-task-source-3">geolocation task source</a> with a step
1665-
that <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#invoke-a-callback-function" id="ref-for-index-term-invokes-3">invokes</a> <var data-type="PositionErrorCallback?">callback</var> with <var data-type="GeolocationPositionError">error</var>.
1666+
that <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#invoke-a-callback-function" id="ref-for-index-term-invokes-3">invokes</a> <var data-type="PositionErrorCallback?">callback</var> with « <var data-type="GeolocationPositionError">error</var> » and "<code>report</code>".
16661667
</li>
16671668
</ol>
16681669
</section>
@@ -3117,7 +3118,7 @@ <h1 id="title" class="title">Geolocation</h1>
31173118
</dd><dt id="bib-permissions">[Permissions]</dt><dd>
31183119
<a href="https://www.w3.org/TR/permissions/"><cite>Permissions</cite></a>. Marcos Caceres; Mike Taylor. W3C. 19 March 2024. W3C Working Draft. URL: <a href="https://www.w3.org/TR/permissions/">https://www.w3.org/TR/permissions/</a>
31193120
</dd><dt id="bib-permissions-policy">[permissions-policy]</dt><dd>
3120-
<a href="https://www.w3.org/TR/permissions-policy-1/"><cite>Permissions Policy</cite></a>. Ian Clelland. W3C. 28 June 2024. W3C Working Draft. URL: <a href="https://www.w3.org/TR/permissions-policy-1/">https://www.w3.org/TR/permissions-policy-1/</a>
3121+
<a href="https://www.w3.org/TR/permissions-policy-1/"><cite>Permissions Policy</cite></a>. Ian Clelland. W3C. 24 July 2024. W3C Working Draft. URL: <a href="https://www.w3.org/TR/permissions-policy-1/">https://www.w3.org/TR/permissions-policy-1/</a>
31213122
</dd><dt id="bib-rfc2119">[RFC2119]</dt><dd>
31223123
<a href="https://www.rfc-editor.org/rfc/rfc2119"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. S. Bradner. IETF. March 1997. Best Current Practice. URL: <a href="https://www.rfc-editor.org/rfc/rfc2119">https://www.rfc-editor.org/rfc/rfc2119</a>
31233124
</dd><dt id="bib-rfc8174">[RFC8174]</dt><dd>

0 commit comments

Comments
 (0)