Closed
Bug 990018
Opened 10 years ago
Closed 10 years ago
[meta] TypeError: redeclaration of var Promise in addons
Categories
(DevTools Graveyard :: WebIDE, defect)
DevTools Graveyard
WebIDE
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 31
People
(Reporter: janx, Unassigned)
References
Details
(Keywords: meta)
The nightly App Manager is completely broken.
It is not able to list devices (even when they show up in `adb devices`), nor to start a simulator (it complains that no simulator is installed).
The console shows:
> console.error: fxos_1_3_simulator:
> Message: TypeError: redeclaration of var Promise
> Stack:
> @resource://fxos_1_3_simulator-at-mozilla-dot-org/fxos_1_3_simulator/lib/main.js:4:1
> CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:129:9
> run@resource://gre/modules/commonjs/sdk/addon/runner.js:149:1
> startup/<@resource://gre/modules/commonjs/sdk/addon/runner.js:113:7
> resolve@resource://gre/modules/commonjs/sdk/core/promise.js:118:11
> resolve@resource://gre/modules/commonjs/sdk/core/promise.js:118:11
> then@resource://gre/modules/commonjs/sdk/core/promise.js:43:43
> then@resource://gre/modules/commonjs/sdk/core/promise.js:153:9
> [...]
> resolve@resource://gre/modules/commonjs/sdk/core/promise.js:185:11
> readAsync/<@resource://gre/modules/commonjs/sdk/net/url.js:49:9
> NetUtil_asyncOpen/<.onStopRequest@resource://gre/modules/NetUtil.jsm:137:17
>
> console.error: fxos_1_2_simulator:
> Message: TypeError: redeclaration of var Promise
> Stack:
> @resource://fxos_1_2_simulator-at-mozilla-dot-org/fxos_1_2_simulator/lib/main.js:4:1
> CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:129:9
> run@resource://gre/modules/commonjs/sdk/addon/runner.js:149:1
> startup/<@resource://gre/modules/commonjs/sdk/addon/runner.js:113:7
> resolve@resource://gre/modules/commonjs/sdk/core/promise.js:118:11
> resolve@resource://gre/modules/commonjs/sdk/core/promise.js:118:11
> then@resource://gre/modules/commonjs/sdk/core/promise.js:43:43
> then@resource://gre/modules/commonjs/sdk/core/promise.js:153:9
> [...]
> resolve@resource://gre/modules/commonjs/sdk/core/promise.js:185:11
> readAsync/<@resource://gre/modules/commonjs/sdk/net/url.js:49:9
> NetUtil_asyncOpen/<.onStopRequest@resource://gre/modules/NetUtil.jsm:137:17
Reporter | ||
Comment 1•10 years ago
|
||
Actually, it seems that the ADB issue is a separate problem. After uninstalling the simulators, the simulator error messages stop showing up in the console, but this message (that I missed in my previous quote) still happens:
> console.log: adbhelper@mozilla.orgadb: init
> 1396278572402 addons.xpi WARN Exception running bootstrap method startup on adbhelper@mozilla.org
Comment 2•10 years ago
|
||
adbhelper most likely suffer from the same kind of exception because of such code: https://github.com/ochameau/adbhelper/blob/master/adb.js#L28-L32
Keywords: meta
Summary: TypeError: redeclaration of var Promise in FxOS simulators 1.2 and 1.3 → [meta] TypeError: redeclaration of var Promise in addons
Depends on: 990057
Depends on: 990059
Depends on: 990060
Depends on: 990097
Reporter | ||
Comment 3•10 years ago
|
||
I suppose this is fixed now.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → Firefox 31
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•