[w3c/permissions] Allow for the query algorithm to return `prompt` or `denied` when document is not `allowed to use` (PR #458)

Updated language to allow the query algorithm to return `prompt` or`denied` helps protect the user from exposing their available features and helps prevent retaliation against the user from developers.

closes [#388](https://github.com/w3c/permissions/issues/388)

The following tasks have been completed:

 * [ ] Modified Web platform tests (link)

Implementation commitment:

 * [ ] WebKit (link to issue)
 * [ ] Blink (link to issue)
 * [ ] Gecko (link to issue)


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/aselya/permissions/pull/458.html" title="Last updated on Jan 27, 2025, 7:13 PM UTC (df57639)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/permissions/458/77f8bc7...aselya:df57639.html" title="Last updated on Jan 27, 2025, 7:13 PM UTC (df57639)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/permissions/pull/458

-- Commit Summary --

  * Update spec to allow for the query algorithm to return "prompt" instead of "denied"

-- File Changes --

    M index.html (9)

-- Patch Links --

https://github.com/w3c/permissions/pull/458.patch
https://github.com/w3c/permissions/pull/458.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/458
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/permissions/pull/458@github.com>

Received on Monday, 27 January 2025 19:14:03 UTC