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
15 changes: 11 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ <h4>
|data:ShareData|, run the following steps:
</p>
<ol class="algorithm">
<li>Let |window| be [=relevant global object=] of [=this=].
</li>
<li>If |window| does not have [=transient activation=], return [=a
promise rejected with=] with a {{"NotAllowedError"}}
{{DOMException}}.
</li>
<li>[=Consume user activation=] of |window|.
</li>
<li>If {{[[sharePromise]]}} is not `null`, return <a>a promise
rejected with</a> {{InvalidStateError}}.
</li>
Expand Down Expand Up @@ -170,10 +178,9 @@ <h4>
</li>
</ol>
</li>
<li>If the [=relevant global object=] of [=this=] does not have
[=transient activation=], or a file type is being blocked due to
security considerations, return <a>a promise rejected with</a> with
a {{"NotAllowedError"}} {{DOMException}}.
<li>If a file type is being blocked due to security considerations,
return <a>a promise rejected with</a> with a {{"NotAllowedError"}}
{{DOMException}}.
</li>
<li>Set {{[[sharePromise]]}} to be <a>a new promise</a>.
</li>
Expand Down