New issue
Advanced search Search tips
Starred by 5 users

Issue metadata

Status: Archived
Owner: ----
Closed: Feb 2017
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Sign in to add a comment

Issue 588062: Enable mime_types and mime_types_handler for all extensions

Reported by, Feb 19 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36

Steps to reproduce the problem:
1. Add to manifest.json
2. Load the extension
3. 'mime_types' is not allowed for specified extension ID

What is the expected behavior?
mime_types and mime_types_handler should be allowed. Today most chrome extension just rely on manual content-type sniffing making them uselessly load on every pages.

What went wrong?
Only PDF and browser_tests extensions are allowed to use this API (cf. _manifest_features.json).

WebStore page: 

Did this work before? No 

Chrome version: 48.0.2564.82  Channel: stable
OS Version: 
Flash Version: 

My specific use-case it is to improve the builtin chrome image viewer. So, to load only on mimetype `image/*`. Same thing for the json mimetype (to have a better json viewer).

Another solution would be to allow to load the extension based on the content-type.

Comment 1 by, Feb 20 2017

Project Member
Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit - Your friendly Sheriffbot

Sign in to add a comment