Closed
Bug 871066
Opened 11 years ago
Closed 11 years ago
"Error: ReferenceError: CommandUtils is not defined" when opening devtools with Simulator 3.0 installed
Categories
(DevTools :: Framework, defect, P1)
Tracking
(firefox23+ fixed, firefox24 fixed)
RESOLVED
FIXED
Firefox 24
People
(Reporter: harth, Assigned: jwalker)
References
Details
(Whiteboard: [b2g][fixed-in-fx-team][qa-])
Attachments
(1 file, 1 obsolete file)
1.13 KB,
patch
|
harth
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR: Install Firefox OS Simulator 3.0 (https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/). Open the devtools window. expected: Devtools window opens with one of the tools selected. actual: Devtools window opens with a blank panel, buttons are missing, and this error is in the console: Error: ReferenceError: CommandUtils is not defined Source File: resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/framework/toolbox.js Line: 322
Reporter | ||
Updated•11 years ago
|
Priority: -- → P1
Reporter | ||
Comment 2•11 years ago
|
||
Joe, do you know what could be causing this? People with the Simulator installed are likely to be using the devtools, so I think it's a serious bug. This only occurs when you launch the devtools from the browser, launching them from the Simulator itself seems to work fine.
Flags: needinfo?(jwalker)
Assignee | ||
Comment 3•11 years ago
|
||
I"m having trouble reproducing this. Can anyone get me a stack trace?
Flags: needinfo?(jwalker)
Reporter | ||
Comment 4•11 years ago
|
||
Ah, the first time you open the devtools, this error occurs: Error: Error: Error: Redefining module: gcli/index Source File: resource://gre/modules/devtools/Require.jsm Line: 50 Then the CommandUtils error.
Assignee | ||
Comment 5•11 years ago
|
||
I think I've got a fix. It's a bit ugly though. Will post patch
Assignee | ||
Comment 6•11 years ago
|
||
Assignee: nobody → jwalker
Attachment #748881 -
Flags: review?(fayearthur)
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 748881 [details] [diff] [review] v1 I think I might be able to do this better with out all the renames. Working on it ...
Attachment #748881 -
Flags: review?(fayearthur)
Assignee | ||
Comment 8•11 years ago
|
||
Much simpler fix, and wfm.
Attachment #748881 -
Attachment is obsolete: true
Attachment #748888 -
Flags: review?(fayearthur)
Assignee | ||
Comment 9•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=2669e09ec568
Reporter | ||
Comment 10•11 years ago
|
||
Comment on attachment 748888 [details] [diff] [review] v2 Cheers, this fixes it for me.
Attachment #748888 -
Flags: review?(fayearthur) → review+
Assignee | ||
Comment 11•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Fx-Team&rev=3e3eacd702db https://hg.mozilla.org/integration/fx-team/rev/3e3eacd702db
Whiteboard: [fixed-in-fx-team]
Comment 12•11 years ago
|
||
This just missed the Aurora uplift, so it will have to be uplifted manually.
Updated•11 years ago
|
Whiteboard: [fixed-in-fx-team] → [b2g][fixed-in-fx-team]
Assignee | ||
Comment 13•11 years ago
|
||
Aurora try: https://tbpl.mozilla.org/?tree=Try&rev=5ef1dc23692c
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3e3eacd702db
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Updated•11 years ago
|
status-firefox24:
--- → fixed
Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 748888 [details] [diff] [review] v2 [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 839862 User impact if declined: Developer Tools is broken with Simulator 3.0 installed Testing completed (on m-c, etc.): Baked on m-c for over a week Risk to taking this patch (and alternatives if risky): String or IDL/UUID changes made by this patch: None.
Attachment #748888 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #748888 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 17•11 years ago
|
||
I can't reproduce the initial issue on a 2013-05-10 Nightly on Mac OS X 10.8. These are the steps that I use: 1. Launch Firefox. 2. Install Firefox OS Simulator 3.0 add-on. 3. Open the Developer tools window (Tools Menu-> Web Developer -> Toggle Tools). Does anyone have any idea? Am I missing something?
Updated•11 years ago
|
Flags: needinfo?
Assignee | ||
Comment 18•11 years ago
|
||
This is a clash-of-versions problem. I don't think it's worth the effort to repro the original problem, personally.
Flags: needinfo?
Comment 19•11 years ago
|
||
Based on Comment 18, I'm removing the verifyme keyword.
Keywords: verifyme
Whiteboard: [b2g][fixed-in-fx-team] → [b2g][fixed-in-fx-team][qa-]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•