Add-on Installation Failing (Windows, FF49)

Our Add-on (Ecosia Search) is not properly installing for many Windows users since the release of FF 49.

We have noticed a large drop in successful installations of our add-on over the past few weeks.

Description of the problem:
In Windows 7, with FF 49,
Navigating to https://info.ecosia.org and clicking the “Add to Firefox” button starts the installation process. After clicking “allow” in the add-on install dialog popup, the installation proceeds. Then either the message: “Addon will be installed after you restart Firefox.” is displayed, or the installation dialog seems to complete but the SearchService hook does not seem to be fired properly and the add-on does not function.

  • Affecting Windows users, and can be reproduced in FF 49, FF 50
  • Does not affect FF 51 (current dev edition)
  • Many times, the user is prompted to restart FF in order to enable the add-on, but after doing so it is not properly enabled
  • Seems to be related to e10s – if e10s is disabled everything works properly
  • Does not appear to affect OSX users
  • There is no error thrown in the JS console

It seems that this issue is related to e10s and the testing cohorts created in the FF49 release, but I cannot seem to find any additional leads on solving this problem.

EDIT:

We are using require('chrome');

    const { Cc, Ci, Cu } = require('chrome'),
        self = require('sdk/self'),
        SearchService = Cc['@mozilla.org/browser/search-service;1'].getService(
            Ci.nsIBrowserSearchService
        );

    Cu.import('resource://gre/modules/Services.jsm');

Is there something related to e10s that could be causing this?
Any help from the Mozillans?

It could be related to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1304392. If its not, probably the best thing to do is file a new bug.

1 Like