The default bug view has changed. See this FAQ.

GCLI commands should be easier to execute from JavaScript

RESOLVED FIXED in Future

Status

()

Firefox
Developer Tools: Graphic Commandline and Toolbar
P3
normal
RESOLVED FIXED
5 years ago
3 years ago

People

(Reporter: jwalker, Assigned: irakli)

Tracking

unspecified
Future
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

We don't want to create a whole scripting language around GCLI, when we've already got JavaScript. But it would be handy to be able to script with both combined. Something like this:

var pages = [ 'http://www.google.com', 'http://www.apple.com' ];

pages.forEach(function(page) {
  gcli('open ' + page);
  gcli('screenshot');
});
Priority: -- → P3
New component triage. Filter on "Lobster Thermidor aux crevettes with a Mornay sauce"
Component: Developer Tools: Console → Developer Tools: Graphic Commandline and Toolbar
This came out of my and Joe's collaboration today:
https://gist.github.com/Gozala/6126308

I'll wrap it up in a patch sometime soonish
Assignee: nobody → rFobic
Depends on: 933727
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.