Closed Bug 1157893 Opened 10 years ago Closed 10 years ago

Create a toggle for developer mode

Categories

(DevTools Graveyard :: WebIDE, defect, P1)

defect

Tracking

(firefox40 fixed)

RESOLVED FIXED
Firefox 40
Tracking Status
firefox40 --- fixed

People

(Reporter: drs, Assigned: fabrice)

References

Details

(Whiteboard: [spark])

Attachments

(1 file)

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)
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)
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)
Whiteboard: [ignite] → [spark]
Assignee: nobody → fabrice
Attachment #8598745 - Flags: review?(poirot.alex)
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+
See Also: → 1114676
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: