New issue
Advanced search Search tips

Issue 734400 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Cannot pre-install extension using master_preferences file in Chromium

Reported by jerzyglo...@gmail.com, Jun 18 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36

Steps to reproduce the problem:
I want to preinstall the Google Dictionary extension from the Chrome Web Store into the fresh Chromium build (on the first run). I don't want to mess up with the Registry, so I read the official docs at https://www.chromium.org/administrators/pre-installed-extensions and I put an appropriate master_preferences file next to the chrome.exe file as stated:

{
 "extensions": {
    "settings": {
       "mgijmajocgfcbeboacabfgobmjgjcoja": {
          "location": 1,
          "manifest": {
             "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCuLnDgxFluQcqbOGrRJ2N7gYRj2DlTTnXa02Ho6IZNKm+Qv8cePlrsn/06irXeEPyikjoo9vokhsv54vV4Wb73x0a5K7s9pY2tuXnBzvik4Jru4KZozebnJTyYDAcjiyPc/ATrzlfQxlZiXIHBVj5KITnaFlR2SuxYkRVebPjUfwIDAQAB",
             "name": "Google Dictionary (by Google)",
             "permissions": [ "storage", "tabs" ],
			 "content_scripts":[ {
				  "all_frames": true,
				  "js": [ "content.min.js" ],
				  "matches": [ "\u003Call_urls>" ]
			 } ],
             "update_url": "http://clients2.google.com/service/update2/crx",
             "version": "0.0"
          },
		  "granted_permissions": {
			 "api": [ "storage", "tabs" ],
			 "scriptable_host": [ "\u003Call_urls>" ]
		  }
          "path": "mgijmajocgfcbeboacabfgobmjgjcoja\\0.0",
          "state": 1
       }
    }
 }
}

Then I run chrome.exe for the first time (user profile directory is empty), but the extension is not visible.

What is the expected behavior?
The Google Dictionary extension should be enabled by default.

What went wrong?
The extension does not appear in chrome://extensions and there is no output in the console.

WebStore page: Google Dictionary

Did this work before? N/A 

Chrome version: 59.0.3071.86  Channel: n/a
OS Version: 10.0
Flash Version:
 
Now I found out there is a missing comma after "granted_permissions": { }.
Labels: Needs-Triage-M59
Cc: pbomm...@chromium.org
Components: Distribution>MasterPreference
Labels: pre-stable-59.0.3071.86 M-59
 jerzyglowacki@ based on your comment#1 is the issue fixed or do you still have the issue,please let us know.
Labels: Needs-Feedback
I was able to pre-install the extension. You can close this issue. Thanks.
Project Member

Comment 6 by sheriffbot@chromium.org, Jun 19 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "pbommana@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Unconfirmed)
Based on comment#5 marking the bug as won'tfix.

Sign in to add a comment