commit | a98d07b33d3897a42090496f9c1421dafe6bea99 | [log] [tgz] |
---|---|---|
author | Yao Xiao <yaoxia@chromium.org> | Fri Feb 15 00:42:49 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 15 00:42:49 2019 |
tree | 4a240e3af786a7ec06b12d6309f6617e2c6abd2e | |
parent | b6671fc69729b938d51fae701c4d86192771f997 [diff] |
Support |allow-downloads-without-user-activation| flag It should be okay to support the flag without enabling the intervention feature (i.e. when a website adapts by adding the "allow-downloads-" token, we should no longer give deprecation warnings & should not give console errors "...invalid sandbox flag". Both would happen if we don't support the token.). Supporting the token will also change the result of IsSandboxed(kSandboxDownloads): previously it was always True; now it will be False if the "allow-downloads-" token is set. It will make the UseCounter DownloadInSandbox keep decreasing as more and more websites are adapting to the change. This also looks positive as it gives an idea of ongoing compatibility risk rather than the maximum risk. Bug: 539938 Change-Id: I002f1a556205344953dabf094849af7e1222dd9f Reviewed-on: https://chromium-review.googlesource.com/c/1471002 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Reviewed-by: Josh Karlin <jkarlin@chromium.org> Commit-Queue: Yao Xiao <yaoxia@chromium.org> Cr-Commit-Position: refs/heads/master@{#632417}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .