Skip to content

Correction: check for non-secure contexts #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,23 @@ <h2>
</li>
</ol>
</li>
<li>
<aside class="correction" id="c7">
<span class="marker">Candidate Correction:</span> Added missing
step to handle [=non-secure contexts=].
</aside><ins cite="#c7">If |geolocation|'s [=environment settings
object=] is a [=non-secure context=]:
<ol>
<li>If |watchId| was passed, [=List/remove=] |watchId| from
|watchIDs|.
</li>
<li>[=Call back with error=] passing |errorCallback| and
{{GeolocationPositionError/PERMISSION_DENIED}}.
</li>
<li>Terminate this algorithm.
</li>
</ol></ins>
</li>
<li>If |document:Document|'s [=Document/visibility state=] is
"hidden", wait for the following [=page visibility change steps=] to
run:
Expand Down Expand Up @@ -1293,8 +1310,14 @@ <h3>
<dfn>PERMISSION_DENIED</dfn> (numeric value 1)
</dt>
<dd>
[=Request a position=] failed because the user denied permission to
use the API.
<aside class="correction" id="c6">
<span class="marker">Candidate Correction:</span> Updated the
description of the `PERMISSION_DENIED` constant to clarify the
reasons for permission denial, including [=non-secure context=]
and user denials.
</aside>[=Request a position=] failed because the user denied
permission to use the API <ins cite="#c6">or the request was made
from an [=non-secure context=]</ins>.
</dd>
<dt>
<dfn>POSITION_UNAVAILABLE</dfn> (numeric value 2)
Expand Down
Loading