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

Revert part of "Allow <a>/<area> with download="" to not require user activation" #2140

Merged
merged 2 commits into from
Dec 7, 2016

Conversation

zcorpan
Copy link
Member

@zcorpan zcorpan commented Dec 7, 2016

This reverts part of commit 5de03c7.

The second condition should be kept, it is for the popup blocker and
preventing links in a sandbox to break out of the sandbox.

See https://github.com/whatwg/html/pull/2136/files#r91211559

… activation"

This reverts part of commit 5de03c7.

The second condition should be kept, it is for the popup blocker and
preventing links in a sandbox to break out of the sandbox.

See https://github.com/whatwg/html/pull/2136/files#r91211559
@domenic
Copy link
Member

domenic commented Dec 7, 2016

Thanks. However according to my testing nobody actually throws the InvalidAccessError: https://jsbin.com/jawuqeq/1/edit?html,console,output (haven't tested Safari)

(Gonna sleep now, but feel free to merge in order to get things un-broken and leave the InvalidAccessError question for a follow-up...)

@zcorpan
Copy link
Member Author

zcorpan commented Dec 7, 2016

"no exception thrown" in Safari Technology Preview.

Followup issue about the exception: #2141

@zcorpan zcorpan merged commit b359209 into master Dec 7, 2016
@zcorpan zcorpan deleted the zcorpan/revert-part-of-a-download branch December 7, 2016 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants