You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>If the <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object" id="ref-for-index-term-current-settings-object-1">current settings object</a>'s <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global" id="ref-for-index-term-relevant-global-object-1">relevant global object</a>'s
1161
-
<adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window" id="ref-for-index-term-associated-document-1">associated <code>Document</code></a> is not <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#fully-active" id="ref-for-index-term-fully-active-for-document-1">fully active</a>:
1160
+
<li>If the <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-1">this</a>'s <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global" id="ref-for-index-term-relevant-global-object-1">relevant global object</a>'s <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window" id="ref-for-index-term-associated-document-1">associated <code>Document</code></a> is not <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#fully-active" id="ref-for-index-term-fully-active-for-document-1">fully active</a>:
1162
1161
<ol>
1163
1162
<li><adata-link-type="dfn" href="#dfn-call-back-with-error" class="internalDFN" id="ref-for-dfn-call-back-with-error-1">Call back with error</a><vardata-type="PositionErrorCallback?">errorCallback</var> and
<li>If the <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object" id="ref-for-index-term-current-settings-object-2">current settings object</a>'s <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global" id="ref-for-index-term-relevant-global-object-2">relevant global object</a>'s
1229
-
<adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window" id="ref-for-index-term-associated-document-2">associated <code>Document</code></a> is not <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#fully-active" id="ref-for-index-term-fully-active-for-document-2">fully active</a>:
1227
+
<li>If the <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-2">this</a>'s <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global" id="ref-for-index-term-relevant-global-object-2">relevant global object</a>'s <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window" id="ref-for-index-term-associated-document-2">associated <code>Document</code></a> is not <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#fully-active" id="ref-for-index-term-fully-active-for-document-2">fully active</a>:
1230
1228
<ol>
1231
1229
<li><adata-link-type="dfn" href="#dfn-call-back-with-error" class="internalDFN" id="ref-for-dfn-call-back-with-error-2">Call back with error</a> passing <vardata-type="PositionErrorCallback?">errorCallback</var> and
<li>Let <vardata-type="unsigned long">watchId</var> be an <adata-link-type="dfn" data-type="dfn" href="https://infra.spec.whatwg.org/#implementation-defined" id="ref-for-index-term-implementation-defined-1">implementation-defined</a>
1239
1237
<adata-link-type="idl" data-lt="unsigned long" data-type="interface" href="https://webidl.spec.whatwg.org/#idl-unsigned-long" id="ref-for-index-term-unsigned-long-type-2"><code>unsigned long</code></a> that is greater than zero.
1240
1238
</li>
1241
-
<li><adata-link-type="dfn" data-type="dfn" href="https://infra.spec.whatwg.org/#list-append" id="ref-for-index-term-append-for-list-1">Append</a><vardata-type="unsigned long">watchId</var> to <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-1">this</a>'s
1239
+
<li><adata-link-type="dfn" data-type="dfn" href="https://infra.spec.whatwg.org/#list-append" id="ref-for-index-term-append-for-list-1">Append</a><vardata-type="unsigned long">watchId</var> to <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-3">this</a>'s
When <dfndata-export="" data-dfn-type="method" id="dom-geolocation-clearwatch" data-idl="operation" data-title="clearWatch()" data-dfn-for="Geolocation" data-type="undefined" data-lt="clearWatch()|clearWatch(watchId)" data-local-lt="Geolocation.clearWatch|Geolocation.clearWatch()|clearWatch" tabindex="0" aria-haspopup="dialog"><code>clearWatch()</code></dfn> is invoked, the user agent <emclass="rfc2119">MUST</em>:
1300
1298
</p>
1301
1299
<olclass="algorithm">
1302
-
<li><adata-link-type="dfn" data-type="dfn" href="https://infra.spec.whatwg.org/#list-remove" id="ref-for-index-term-remove-for-list-1">Remove</a><var>watchId</var> from <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-2">this</a>'s
1300
+
<li><adata-link-type="dfn" data-type="dfn" href="https://infra.spec.whatwg.org/#list-remove" id="ref-for-index-term-remove-for-list-1">Remove</a><var>watchId</var> from <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-4">this</a>'s
<li>Let <vardata-type="Document">document</var> be the <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object" id="ref-for-index-term-current-settings-object-3">current settings object</a>'s
<li>Let <vardata-type="Document">document</var> be the <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-6">this</a>'s <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global" id="ref-for-index-term-relevant-global-object-3">relevant global object</a>'s <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window" id="ref-for-index-term-associated-document-3">associated <code>Document</code></a>.
1322
1319
</li>
1323
1320
<lidata-tests="">If <vardata-type="Document">document</var> is not <adata-link-type="dfn" data-type="dfn" href="https://html.spec.whatwg.org/multipage/iframe-embed-object.html#allowed-to-use" id="ref-for-index-term-allowed-to-use-1">allowed to use</a> the
<li>If <vardata-type="unsigned long">watchId</var> was passed and <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-4">this</a>'s
1411
+
<li>If <vardata-type="unsigned long">watchId</var> was passed and <adata-link-type="dfn" data-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-index-term-this-7">this</a>'s
1415
1412
<adata-lt="[[watchIDs]]" href="#dfn-watchids" class="internalDFN" data-link-type="idl" id="ref-for-dfn-watchids-4"><code>[[watchIDs]]</code></a> does not <adata-link-type="dfn" data-type="dfn" href="https://infra.spec.whatwg.org/#list-contain" id="ref-for-index-term-contains-for-list-2">contain</a><vardata-type="unsigned long">watchId</var>,
<ahref="#ref-for-index-term-associated-document-3" title="§ 6.5 Request a position">§ 6.5 Request a position</a>
3574
3569
</li>
3575
-
</ul>
3576
-
</div><divclass="dfn-panel" hidden="" role="dialog" aria-modal="true" id="dfn-panel-for-index-term-current-settings-object" aria-label="Links in this document to definition: current settings object">
3577
-
<spanclass="caret"></span>
3578
-
<div>
3579
-
<aclass="self-link" href="https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object" aria-label="Permalink for definition: current settings object. Activate to close this dialog.">Permalink</a>
<ahref="#ref-for-index-term-current-settings-object-3" title="§ 6.5 Request a position">§ 6.5 Request a position</a>
3590
-
</li>
3591
3570
</ul>
3592
3571
</div><divclass="dfn-panel" hidden="" role="dialog" aria-modal="true" id="dfn-panel-for-index-term-fully-active-for-document" aria-label="Links in this document to definition: fully active (for Document)">
<ahref="#ref-for-index-term-this-3" title="§ 6.5 Request a position">§ 6.5 Request a position</a>
4164
+
<ahref="#ref-for-index-term-this-5" title="§ 6.5 Request a position">§ 6.5 Request a position</a><ahref="#ref-for-index-term-this-6" title="Reference 2">(2)</a>
4184
4165
</li><li>
4185
-
<ahref="#ref-for-index-term-this-4" title="§ 6.6 Acquire a position">§ 6.6 Acquire a position</a><ahref="#ref-for-index-term-this-5" title="Reference 2">(2)</a><ahref="#ref-for-index-term-this-6" title="Reference 3">(3)</a>
4166
+
<ahref="#ref-for-index-term-this-7" title="§ 6.6 Acquire a position">§ 6.6 Acquire a position</a><ahref="#ref-for-index-term-this-8" title="Reference 2">(2)</a><ahref="#ref-for-index-term-this-9" title="Reference 3">(3)</a>
4186
4167
</li>
4187
4168
</ul>
4188
4169
</div><divclass="dfn-panel" hidden="" role="dialog" aria-modal="true" id="dfn-panel-for-index-term-undefined-type" aria-label="Links in this document to definition: undefined type">
0 commit comments