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

user activation must survive postMessage() to call show() #10090

Merged
merged 2 commits into from
Mar 21, 2018

Conversation

marcoscaceres
Copy link
Contributor

@marcoscaceres marcoscaceres commented Mar 19, 2018

Check that we can call pr.show() in an iframe via postMessage(), which
is triggered by user activation.

Check that we can call pr.show() in an iframe via postMessage(), which
is triggered by user activation.
@marcoscaceres
Copy link
Contributor Author

This passes in Chrome, but fails in Firefox ATM.

@ghost
Copy link

ghost commented Mar 19, 2018

Build PASSED

Started: 2018-03-19 06:06:14
Finished: 2018-03-19 06:11:49

View more information about this build on:

@marcoscaceres
Copy link
Contributor Author

May help make progress on whatwg/html#1903 ?

@marcoscaceres marcoscaceres merged commit 92885ac into master Mar 21, 2018
@marcoscaceres marcoscaceres deleted the user_activation_iframe branch March 21, 2018 01:49
@mnoorenberghe
Copy link
Member

mnoorenberghe commented Mar 21, 2018

On second thought… I think this is testing more than what's in the spec (correct me if I'm wrong) so I'm not sure the test is appropriate for now.
Update: Marcos pointed out that the 3rd bullet of "triggered by user activation" could allow this.

@marcoscaceres
Copy link
Contributor Author

@domenic wrote the spec text in HTML, so he can confirm :)

@domenic
Copy link
Member

domenic commented Mar 21, 2018

Sorry, I'm on vacation until April :)

@marcoscaceres
Copy link
Contributor Author

Sorry, I'm on vacation until April :)

Np! Enjoy! 🏖⛰🏙

vinicius0197 pushed a commit to vinicius0197/web-platform-tests that referenced this pull request Mar 23, 2018
…rm-tests#10090)

Check that we can call pr.show() in an iframe via postMessage(), which is triggered by user activation.
vinicius0197 pushed a commit to vinicius0197/web-platform-tests that referenced this pull request Mar 23, 2018
…rm-tests#10090)

Check that we can call pr.show() in an iframe via postMessage(), which is triggered by user activation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants