Skip to content
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
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ <h4>
|data:ShareData|, run the following steps:
</p>
<ol class="algorithm">
<li>If the current settings object's responsible document is not
<a>allowed to use</a> the "[=web-share-feature|web-share=]"
permission, return [=a promise rejected with=] with a
{{"NotAllowedError"}} {{DOMException}}.
</li>
<li>Let |window| be [=relevant global object=] of [=this=].
</li>
<li>If |window| does not have [=transient activation=], return [=a
Expand Down Expand Up @@ -387,6 +392,23 @@ <h3>
</p>
</section>
</section>
<section id="feature-policy" data-cite="feature-policy">
<h2>
Permission Policy integration
</h2>
<p>
This specification defines a policy-controlled permission identified by
the string "<code><dfn>web-share</dfn></code>". Its <a>default
allowlist</a> is '`self`'.
</p>
<div class="note">
<p>
A <a>document</a>’s permission policy determines whether a
{{Navigator/share()}} call immediately rejects with a
{{"NotAllowedError"}} {{DOMException}}.
</p>
</div>
</section>
<section class="informative">
<h2>
Accessibility considerations
Expand Down