Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add the "types" parameter to the .registerProvider() call.

Firefox 6 requires this; we keep our XUL overlay and don't pass most of the optional parameters, to maintain compatibility with 4 and 5.

Fixes #1357
  • Loading branch information...
commit b2de62d01442bcbbf3f61c32372eb4fb33ef3ff2 1 parent b676a11
@arantius authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  modules/addons4.js
View
3  modules/addons4.js
@@ -247,7 +247,8 @@ function GM_addonsStartup(aParams) {
_addonsStartupHasRun = true;
Services.obs.addObserver(WindowObserver, 'chrome-document-global-created', false);
- AddonManagerPrivate.registerProvider(AddonProvider);
+ AddonManagerPrivate.registerProvider(AddonProvider,
+ [{'id': 'user-script'}]);
WindowObserver.addToAddonsManagers();
}

0 comments on commit b2de62d

Please sign in to comment.
Something went wrong with that request. Please try again.