Closed Bug 767340 Opened 12 years ago Closed 10 years ago

GCLI commands should be easier to execute from JavaScript

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: jwalker, Assigned: irakli)

References

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
Closed: 10 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.