Closed Bug 898278 Opened 6 years ago Closed 4 years ago

Remote gcli actor uses Firefox specific code

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Fallen, Unassigned)

References

Details

The gcli actor uses some Firefox specific code, like:

let chromeWindow = windowMediator.getMostRecentWindow("navigator:browser");
let contentWindow = chromeWindow.gBrowser.selectedTab.linkedBrowser.contentWindow;

It also uses CommandUtils from resource:///modules/devtools/DeveloperToolbar.jsm, which is in /browser and also uses Firefox-specific code.

We need to figure out how to provide gcli with a sensible content window, especially in cases where the remote end is not Firefox and fix createEnvironment to make the environment's target property more general.
/devtools file move changed everything here...
Triage. Filter on Lobster Thermidor.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.