Closed Bug 1444061 Opened 8 years ago Closed 6 years ago

Side-loaded extensions not loading with Firefox version 58 on Mac

Categories

(Toolkit :: Add-ons Manager, defect, P3)

58 Branch
x86
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: swetha.chinthireddy, Unassigned)

Details

Attachments

(4 files)

Attached file extensions.json
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 Steps to reproduce: Our application copies an extension xpi file to /Library/Application\ Support/Mozilla/Extensions/\{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} Firefox version Actual results: Sometimes the extension is not getting loaded/listed in Add-ons/Extensions page of Firefox even after multiple restart of Firefox. When this issue happens, the entry for our extension is not present in the extensions.json file. The extensions gets loaded only after we delete the extensions.json file and restart Firefox. Attached is the copy of extensions.json when there is an issue with loading of extension. Expected results: Extension should be loaded/listed on Add-ons page under extensions.
Component: Untriaged → Add-ons Manager
OS: Unspecified → Mac OS X
Product: Firefox → Toolkit
Hardware: Unspecified → x86
Does "non-store" mean the extension isn't signed? In any case, can you go to about:config, set the preference extensions.logging.enabled to true, then grab the contents of the browser console after startup when your extension was not enabled, and paste it into an attachment on this bug?
Flags: needinfo?(swetha.chinthireddy)
Flags: needinfo?(swetha.chinthireddy)
Hm, the log contains this error (with the stack trace de-mangled): 1520568109270 addons.xpi ERROR startup failed: TypeError: aFile is undefined (resource://gre/modules/addons/XPIProvider.jsm:1934:5) JS Stack trace: _addURIMapping@XPIProvider.jsm:1934:5 XPIState@XPIProvider.jsm:1154:7 _addState@XPIProvider.jsm:1385:20 XPIStateLocation@XPIProvider.jsm:1355:22 getLocation@XPIProvider.jsm:1637:20 getInstallState@XPIProvider.jsm:1564:17 checkForChanges@XPIProvider.jsm:3192:26 startup@XPIProvider.jsm:2172:25 callProvider@AddonManager.jsm:263:12 _startProvider@AddonManager.jsm:730:5 startup@AddonManager.jsm:897:9 startup@AddonManager.jsm:3089:5 observe@addonManager.js:65:9 Can you reproduce this bug in a fresh profile? And can you attach a copy of addonStartup.json.lz4 from an affected profile to this bug?
Flags: needinfo?(swetha.chinthireddy)
Attached file addonStartup.json.lz4
Flags: needinfo?(swetha.chinthireddy)
The bug goes away if we delete the extensions.json file or the entire profile and restart Firefox. But this issue happens intermittently on couple of systems. The issue is if we repeat the installation steps with fresh installation( Firefox 58 and extension installation) . Looking for a solution if there is any other solution than deleting the extensions.json or the entire profile.
The bug goes away if we delete the extensions.json file or the entire profile and restart Firefox. The issue is intermittent, The issue happens when we repeat the installation steps with fresh installation( Firefox 58 and extension installation). Looking if there is any other solution than deleting the extensions.json or the entire profile.
Summary: Non-store Extension not getting loaded with Firefox version 58 on Mac → Side-loaded extensions not loading with Firefox version 58 on Mac
Priority: -- → P3

This method of sideloading was removed in Firefox 73

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: