Skip to content
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

Do 'triggered by user activation' check earlier #118

Closed
wants to merge 2 commits into from
Closed
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
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ <h4>
|data:ShareData|, run the following steps:
</p>
<ol class="algorithm">
<li>If the method call was not <a>triggered by user activation</a>,
return <a>a promise rejected with</a> with a {{"NotAllowedError"}}
{{DOMException}}.
</li>
<li>If none of |data|'s members {{ShareData/title}},
{{ShareData/text}}, or {{ShareData/url}} are present, return <a>a
promise rejected with</a> a {{TypeError}}.
Expand All @@ -136,10 +140,6 @@ <h4>
</li>
</ol>
</li>
<li>If the method call was not <a>triggered by user activation</a>,
return <a>a promise rejected with</a> with a {{"NotAllowedError"}}
{{DOMException}}.
</li>
<li>Let |p:Promise| be <a>a new promise</a>.
</li>
<li>Return |p| and <a>in parallel</a>:
Expand Down