Closed Bug 671406 Opened 11 years ago Closed 10 years ago

Create a list of commands that could be useful in GCLI embedded in firefox

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwalker, Assigned: jwalker)

References

Details

No description provided.
Assignee: nobody → jwalker
Blocks: GCLI-ENABLE
not sure where you're gathering these, but I have a few to add to that list:

highlight "querySelector"

for selected nodes (not sure what the syntax is for a "subject verb" type of command)

with a selected node in the highlighter:

addStyle "style attribute contents" // camelCase? add-style?

add/remove attribute "value"

add/remove class "name"

inspect node // open object inspector on highlit node, maybe command should be "introspect"?


many others!
I guess that's a bit early for that, but I'd love:

breakpoint universe.js:42

and the likes. Oh the beauty.
Blocks: GCLI-JS
No longer blocks: GCLI-ENABLE
When creating this list we must ensure that all of the jstermhelpers are included:

$ = getElementById(...)     // ID
$$ = querySelectorAll(...)  // CSS Selector
$x = document.evaluate(...) // XPath
clear = console.clear
keys = Object.keys(...)
values = 
help = window.open('https://developer.mozilla.org/AppLinks/WebConsoleHelp')
$0 = Inspected Object
inspect = open object inspector
pprint = console.log++ ?
print = console.log ?
Depends on: 683499
Depends on: 683502
Depends on: 683503
Depends on: 683505
Depends on: 683506
Depends on: 683508
Depends on: 683509
Depends on: 683510
Depends on: 683511
Depends on: 683513
No longer depends on: 683511
Blocks: GCLI-SHIP
No longer blocks: GCLI-JS
Depends on: 693259
No longer depends on: 683513
No longer depends on: 683510
No longer depends on: 683509
No longer depends on: 683508
No longer depends on: 683506
No longer depends on: 683505
No longer depends on: 683503
No longer depends on: 683502
No longer depends on: 683499
No longer depends on: 693259
The initial list of commands is those that depend on bug 689605. (See also bug 693269)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.