Closed Bug 659295 Opened 13 years ago Closed 13 years ago

Expose the current document to GCLI commands so they can return DOM elements

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jwalker, Unassigned)

References

Details

Use of the global document can't be assumed in Firefox, so commands will be unable to create nodes.

For example:

var doc = gcli.getDocument();
Blocks: GCLI-HELP
Summary: Expose the current document to commands so they can return DOM elements → Expose the current document to GCLI commands so they can return DOM elements
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Marking verified because there is no UI proof that the bug is fixed. The proof is in the code.
Status: RESOLVED → VERIFIED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.