Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.

Firefox says "The widget module is deprecated. " #222

Closed
cypherpunk opened this issue Sep 21, 2014 · 2 comments
Closed

Firefox says "The widget module is deprecated. " #222

cypherpunk opened this issue Sep 21, 2014 · 2 comments

Comments

@cypherpunk
Copy link

When starting or restarting firefox 31.0 as included in Ubuntu Gnome 14.10 beta1, with Privacy Badger added to the browser, I see on a text console where firefox was started:

console.error: privacybadgerfirefox:
DEPRECATED: The widget module is deprecated. Please consider using the sdk/ui module instead.
Traceback (most recent call last):
File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 113, in startup/<
run(options);
File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 149, in run
let program = main(options.loader, options.main);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 647, in main
return loader.load(loader, module).exports;
File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 129, in CuddlefishLoader/options<.load
result = load(loader, module);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 299, in load
evaluate(sandbox, module.uri);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 262, in evaluate
: loadSubScript(uri, sandbox, encoding);
File "resource://jid1-mnnxcxisbpnsxq-at-jetpack/privacybadgerfirefox/lib/main.js", line 8, in null
const ContentPolicy = require("./contentPolicy");
File "resource://gre/modules/commonjs/toolkit/loader.js", line 621, in require
freeze(load(loader, module));
File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 129, in CuddlefishLoader/options<.load
result = load(loader, module);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 299, in load
evaluate(sandbox, module.uri);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 262, in evaluate
: loadSubScript(uri, sandbox, encoding);
File "resource://jid1-mnnxcxisbpnsxq-at-jetpack/privacybadgerfirefox/lib/contentPolicy.js", line 15, in null
const { settingsMap } = require("./ui");
File "resource://gre/modules/commonjs/toolkit/loader.js", line 621, in require
freeze(load(loader, module));
File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 129, in CuddlefishLoader/options<.load
result = load(loader, module);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 299, in load
evaluate(sandbox, module.uri);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 262, in evaluate
: loadSubScript(uri, sandbox, encoding);
File "resource://jid1-mnnxcxisbpnsxq-at-jetpack/privacybadgerfirefox/lib/ui.js", line 10, in null
const widget = require("sdk/widget");
File "resource://gre/modules/commonjs/toolkit/loader.js", line 621, in require
freeze(load(loader, module));
File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 129, in CuddlefishLoader/options<.load
result = load(loader, module);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 299, in load
evaluate(sandbox, module.uri);
File "resource://gre/modules/commonjs/toolkit/loader.js", line 262, in evaluate
: loadSubScript(uri, sandbox, encoding);
File "resource://gre/modules/commonjs/sdk/widget.js", line 59, in null
"The widget module is deprecated. " +
File "resource://gre/modules/commonjs/sdk/util/deprecate.js", line 18, in deprecateUsage
let stack = get().slice(2);

@cooperq
Copy link
Contributor

cooperq commented Sep 22, 2014

Which version of privacy badger are you using?

@PiRSquared17
Copy link
Contributor

7514f29

@cooperq cooperq closed this as completed May 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants