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).
Did this work before? No
Chrome version: 48.0.2564.82 Channel: stable
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.