-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allowed to download shouldn't consult browsing contexts #5597
Comments
To actually solve this in the way @annevk prefers, we would probably need to switch the entire sandboxing flags infrastructure to be document based instead of BC-based. It sounds like that's a future goal of policy container (#4926), but not happening soon. /cc @ArthurSonzogni In the meantime, I think we can make this better (in particular to help #1130) by computing "allowed to download" in the synchronous section. That appears to match what Chrome does: https://source.chromium.org/chromium/chromium/src/+/master:content/renderer/render_frame_impl.cc;l=5906-5922;drc=587068ee20325543d40cbd4bf50bed6af51ee23e |
They have no authority, documents/globals do.
The text was updated successfully, but these errors were encountered: