Skip to content

Commit

Permalink
Editorial: Update use of WebIDL "invoke a callback function" (#172)
Browse files Browse the repository at this point in the history
SHA: 9ae72d3
Reason: push, by reillyeon

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jeremyroman and github-actions[bot] committed Aug 9, 2024
1 parent 267529d commit 1a8f06d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
.mdn .samsunginternet_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/samsung-internet/samsung-internet.svg)}
.mdn .webview_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/android-webview/android-webview.png)}
</style>
<meta name="revision" content="b0ca499b233380b46ec7c4a2ad4beba4a8ec4521">
<meta name="revision" content="9ae72d30678b46b6c8c64953df1651f5ef6b7533">
<meta name="description" content="Geolocation provides access to geographical location information
associated with the hosting device.">
<style>
Expand Down Expand Up @@ -233,17 +233,17 @@
"xref": "web-platform",
"errata": "https://w3c.github.io/geolocation/errata.html",
"latestVersion": "https://www.w3.org/TR/geolocation/",
"gitRevision": "b0ca499b233380b46ec7c4a2ad4beba4a8ec4521",
"publishISODate": "2024-07-02T00:00:00.000Z",
"generatedSubtitle": "W3C Editor's Draft 02 July 2024"
"gitRevision": "9ae72d30678b46b6c8c64953df1651f5ef6b7533",
"publishISODate": "2024-08-09T00:00:00.000Z",
"generatedSubtitle": "W3C Editor's Draft 09 August 2024"
}</script>
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED">
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="https://www.w3.org/StyleSheets/TR/2021/dark.css"></head>
<body data-cite="WEBIDL secure-contexts permissions-policy permissions hr-time html HTML INFRA URL WEBIDL DOM FETCH" class="h-entry"><div class="head">
<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">
</a></p>
<h1 id="title" class="title">Geolocation</h1>
<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>
<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>
<details open="">
<summary>More details about this document</summary>
<dl>
Expand Down Expand Up @@ -1469,7 +1469,7 @@ <h1 id="title" class="title">Geolocation</h1>
set <var>position</var> to <var data-type="GeolocationPosition">cachedPosition</var>.</del> <ins cite="#c8">:
<ol>
<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>
<var data-type="PositionCallback">successCallback</var> with <var data-type="GeolocationPosition">cachedPosition</var>.
<var data-type="PositionCallback">successCallback</var> with « <var data-type="GeolocationPosition">cachedPosition</var> » and "<code>report</code>".
</li>
<li>Terminate this algorithm.
</li>
Expand Down Expand Up @@ -1591,7 +1591,8 @@ <h1 id="title" class="title">Geolocation</h1>
<li>Stop the <var>timeout</var>.
</li>
<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
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>.
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> »
and "<code>report</code>".
</li>
</ol>
</li>
Expand Down Expand Up @@ -1662,7 +1663,7 @@ <h1 id="title" class="title">Geolocation</h1>
<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>.
</li>
<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
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>.
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>".
</li>
</ol>
</section>
Expand Down Expand Up @@ -3117,7 +3118,7 @@ <h1 id="title" class="title">Geolocation</h1>
</dd><dt id="bib-permissions">[Permissions]</dt><dd>
<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>
</dd><dt id="bib-permissions-policy">[permissions-policy]</dt><dd>
<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>
<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>
</dd><dt id="bib-rfc2119">[RFC2119]</dt><dd>
<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>
</dd><dt id="bib-rfc8174">[RFC8174]</dt><dd>
Expand Down

0 comments on commit 1a8f06d

Please sign in to comment.