Last Comment Bug 898278 - Remote gcli actor uses Firefox specific code
: Remote gcli actor uses Firefox specific code
Product: Firefox
Classification: Client Software
Component: Developer Tools: Graphic Commandline and Toolbar (show other bugs)
: unspecified
: All All
-- normal with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Joe Walker [:jwalker] (needinfo me or ping on irc)
Depends on:
Blocks: tb-debugger
  Show dependency treegraph
Reported: 2013-07-25 23:30 PDT by Philipp Kewisch [:Fallen]
Modified: 2016-02-18 06:51 PST (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Philipp Kewisch [:Fallen] 2013-07-25 23:30:27 PDT
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.
Comment 1 User image Joe Walker [:jwalker] (needinfo me or ping on irc) 2016-02-18 06:51:23 PST
/devtools file move changed everything here...
Triage. Filter on Lobster Thermidor.

Note You need to log in before you can comment on or make changes to this bug.