commit | 6449de840aec46116c234a5865c4ba120a0e38d9 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Thu Sep 28 03:28:51 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Sep 28 03:28:51 2017 |
tree | 25f129a51f0239353016307b4a158f35f21978cd | |
parent | f89822b546ecb36d3799443172adba8e12c26fdc [diff] |
[Extensions] Include mime type in served extension files Modules enforce strict mime type requirements, but files served through extension protocols don't specify a mime type. Include it in the response headers. This enables modules for chrome extensions. Add a test to exercise basic module use. Bug: 769012 Change-Id: I1eba64e9194c00b9feb39f5fb0f5576a53d34930 Reviewed-on: https://chromium-review.googlesource.com/685802 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#504885}
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 .