New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 677855 link

Starred by 5 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Feature



Sign in to add a comment

Extensions manifest should recognize “applications” key

Reported by jtoj...@gmail.com, Jan 2 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

Steps to reproduce the problem:
Install the extension

What is the expected behavior?
No errors will be printed. The “applications” key should be ignored.

What went wrong?
“Unrecognized manifest key 'applications'.” is printed in the extension manager.

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 55.0.2883.87 (Developer Build) (64-bit)  Channel: n/a
OS Version: 
Flash Version: 

“applications” key is a way to specify browser-specific properties. As such, it should be ignored by browsers that the message is not intended for.

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/applications
 
sample.zip
482 bytes Download
manifest-applications-error.png
19.8 KB View Download

Comment 1 by ajha@chromium.org, Jan 4 2017

Components: Platform>Extensions
Labels: Needs-Triage-M55
Cc: brajkumar@chromium.org
Labels: Needs-Feedback
Tested this issue on Ubuntu 14.04 using chrome latest stable M55-55.0.2883.87 by following steps mentioned in the original comment. Observed different error message saying "There were warnings when trying to install this extension:
Unrecognized manifest key 'applications' as shown in the below screen-shot after installing the extension.

jtojnar@ Could you please confirm is this is the issue you are talking about? 
ErrorExtension.png
24.0 KB View Download

Comment 3 by jtoj...@gmail.com, Jan 6 2017

Yes, this is the same issue.

The difference in layout is probably caused by me using Chromium instead of Chrome. I had to click the Errors link before seeing the error.
sample-ext.png
17.4 KB View Download
I am using Chrome 55.0.2883.87 (Official Build) m (32-bit) on Windows 7 and I just see a warning, not an error.
Do you want the warning not to be displayed, or are you having trouble running the extension due to this warning/error on Linux?

In other words, is this just a UI feature as far as you are concerned, or does this actually prevent you from developing and running and extension?

Comment 5 by jtoj...@gmail.com, Jan 8 2017

It is only a warning, the extension still works.
Components: UI>Browser>WebUI
Labels: -Type-Bug -Needs-Feedback -Hotlist-Interop -Needs-Triage-M55 OS-Chrome OS-Mac OS-Windows Type-Feature
Status: Untriaged (was: Unconfirmed)
Status: WontFix (was: Untriaged)
The "applications" key only seems to be supported by firefox. It's not supported by Chrome so showing a warning is valid. 

A good workaround might be to generate different manifests for extensions on firefox and chrome.

Sign in to add a comment