Skip to content

Instantly share code, notes, and snippets.

@jxpx777
Last active October 6, 2015 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jxpx777/e238db60dfdcf2dd839b to your computer and use it in GitHub Desktop.
Save jxpx777/e238db60dfdcf2dd839b to your computer and use it in GitHub Desktop.
Error when disabling jetpack add-on
JavaScript error: resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/j/Library/Application%20Support/Firefox/Profiles/7ry75y3g.default-1426709652923/extensions/onepassword4@agilebits.com.xpi!/bootstrap.js, line 290: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXPCComponents_Utils.nukeSandbox]
function shutdown(data, reason) {
console.log("[FIREFOX] @shutdown Removing observers");
Services['obs']['removeObserver'](httpRequestObserver, "http-on-modify-request");
Services['obs']['removeObserver'](httpRequestObserver, "http-on-examine-response");
Services['obs']['removeObserver'](httpRequestObserver, "http-on-examine-cached-response");
Services['obs']['removeObserver'](httpRequestObserver, "http-on-examine-merged-response");
}
@agbiyani
Copy link

agbiyani commented Oct 6, 2015

I am facing the same issue. Got around it yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment