Closed
Bug 559748
Opened 14 years ago
Closed 13 years ago
Create an API for injecting commands and code libraries into the Console input and JS Workspaces
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: ddahl, Unassigned)
References
Details
(Whiteboard: [console-3])
A simple API to inject user and fx-team devised commands and code libraries into the Console's input box and JS Workspaces. The API will allow for persistence of these libs and commands much like the way ubiquity works.
Reporter | ||
Comment 1•14 years ago
|
||
I imagine the first command would be "load" like: > load jquery the result would be jquery.latest being added as a script node in the current contentDocument other commands would be: > dir Object which would print to the console all of the properties and values in an object. "grep like" commands would be cool as well.
Comment 2•14 years ago
|
||
that's certainly one way to do it and meshes well with a js "term". Other useful term-functions might be "print", "printf", "log", "save" or "export" for dumping the contents of a term... Some of these things might be better implemented through UI though.
Reporter | ||
Comment 3•14 years ago
|
||
I'm thinking about this from a low-level "Firefox SDK" angle - but, a UI for the front-end will be super cool.
Reporter | ||
Updated•14 years ago
|
Priority: -- → P2
Updated•14 years ago
|
Whiteboard: [kd4b5]
Updated•14 years ago
|
Whiteboard: [kd4b5]
Reporter | ||
Updated•14 years ago
|
Assignee: ddahl → nobody
Updated•14 years ago
|
Priority: P2 → --
Comment 4•14 years ago
|
||
clearing priority on this as I don't believe this is in line for firefox4.
Target Milestone: --- → Future
Reporter | ||
Updated•13 years ago
|
Whiteboard: [console-3]
Comment 5•13 years ago
|
||
How about a way to load CommonJS modules, say, via JetPack's loader?
Reporter | ||
Comment 6•13 years ago
|
||
(In reply to comment #5) > How about a way to load CommonJS modules, say, via JetPack's loader? I'll have to play with that concept via my devtools sdk code: https://github.com/daviddahl/devtools
Comment 7•13 years ago
|
||
covered by GCLI.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•