Reduce preprocessing use in devtools chrome

NEW
Unassigned

Status

defect
6 years ago
Last year

People

(Reporter: dcamp, Unassigned)

Tracking

Trunk
x86
macOS
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

6 years ago
We have a few preprocessed files in our chrome, which breaks edit-and-reload in the tools.
I see 4 files being preprocessed:

1. dbg-server.js, which will be fixed by bug 797627
2. scratchpad.xul, which has a special help menu access key on Windows
3. toolbox.xul, which has the close and dock buttons on the left on OS X
4. source-editor-overlay.xul, which has a different redo keybinding on UNIX

Perhaps 2 and 4 could be done dynamically from script, but I suppose 3 requires UX buy-in to change.
I think for 3 we could dynamically create our close buttons in Toolbox.jsm.

Updated

Last year
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.