Skip to content

Commit df57639

Browse files
authored
Update spec to allow for the query algorithm to return "prompt" instead of "denied"
Allowing 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.
1 parent 77f8bc7 commit df57639

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,14 @@ <h3 id="reading-current-states">
800800
[=associated `Document`=].
801801
</li>
802802
<li>If <var>document</var> is not <a>allowed to use</a> |feature|, return
803-
{{PermissionState/"denied"}}.
803+
{{PermissionState/"denied"}} or {{PermissionState/"prompt"}}.
804+
805+
<p class="note">
806+
The {{PermissionState/"prompt"}} may be returned instead of
807+
{{PermissionState/"denied"}} to avoid exposing if the |feature| is
808+
<a>allowed to use</a> to developers. This is done to prevent retaliation against
809+
the user and repeated prompting to the detriment of the user experience.
810+
</p>
804811
</li>
805812
</ol>
806813
</li>

0 commit comments

Comments
 (0)