Closed
Bug 1157893
Opened 10 years ago
Closed 10 years ago
Create a toggle for developer mode
Categories
(DevTools Graveyard :: WebIDE, defect, P1)
DevTools Graveyard
WebIDE
Tracking
(firefox40 fixed)
RESOLVED
FIXED
Firefox 40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: drs, Assigned: fabrice)
References
Details
(Whiteboard: [spark])
Attachments
(1 file)
2.02 KB,
patch
|
ochameau
:
review+
|
Details | Diff | Splinter Review |
Let's add a toggle to WebIDE that lets us enable/disable developer mode for a connected device. The pref is "dom.apps.developer_mode". We should also disable Necko security as part of this. Fabrice, what's the pref that we need set here?
Flags: needinfo?(fabrice)
Assignee | ||
Comment 1•10 years ago
|
||
As discussed with Alex, we will add these prefs to the current switch that already exists in webIDE to allow debugging of certified apps.
The prefs are:
dom.apps.developer_mode and network.disable.ipc.security
I guess we need to add these changes there: http://mxr.mozilla.org/mozilla-central/source/browser/devtools/webide/content/runtimedetails.js#141 ?
Flags: needinfo?(fabrice) → needinfo?(poirot.alex)
Comment 2•10 years ago
|
||
Yes, and there:
http://mxr.mozilla.org/mozilla-central/source/b2g/components/ProcessGlobal.js#105
As the WebIDE toggle is only going to work for rooted devices,
whereas the toggle in the settings app would be available in any build!
Flags: needinfo?(poirot.alex)
Updated•10 years ago
|
Whiteboard: [ignite] → [spark]
Assignee | ||
Comment 3•10 years ago
|
||
Assignee: nobody → fabrice
Attachment #8598745 -
Flags: review?(poirot.alex)
Comment 4•10 years ago
|
||
Comment on attachment 8598745 [details] [diff] [review]
webide-dev-mode.patch
Review of attachment 8598745 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8598745 -
Flags: review?(poirot.alex) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Reporter | ||
Updated•10 years ago
|
Blocks: spark-dev-mode
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•