commit | fcbb1bd7fd6a78847d95a422f10ca5908c02f521 | [log] [tgz] |
---|---|---|
author | Matt Menke <mmenke@chromium.org> | Wed Jan 31 21:53:12 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 31 21:53:12 2018 |
tree | f6746d36b46f39b721cfa0ac2d3ef500de9ace75 | |
parent | b031b933104a801a99ccdf403c327a128eb4d065 [diff] |
Don't sniff file URLs for HTML. If a file with an extension other than html / htm is downloaded, and Chrome was used to open the file, it could sniff it as being HTML, which seems unexpected. The new logic is not applied to WebView, as existing consumers may depend on the legacy behavior. Bug: 777737 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: Iaa72004a3a8de2df99f154c95014e4f6351ce532 Reviewed-on: https://chromium-review.googlesource.com/853036 Commit-Queue: Matt Menke <mmenke@chromium.org> Reviewed-by: Jacob Dufault <jdufault@chromium.org> Reviewed-by: Richard Coles <torne@chromium.org> Reviewed-by: Ben Wells <benwells@chromium.org> Reviewed-by: Daichi Hirono <hirono@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Asanka Herath <asanka@chromium.org> Cr-Commit-Position: refs/heads/master@{#533429}
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 .