Closed Bug 665517 Opened 13 years ago Closed 13 years ago

GCLI commands should use (args, context) rather than (args, env)

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jwalker, Assigned: jwalker)

References

Details

The context object would have the following functions:

getEnvironment()
getDocument()
createPromise()

and these functions would no longer need to be exposed by gcli/index
Assignee: nobody → jwalker
Blocks: GCLI-ENABLE
Improved ...
The context object would have the following signature:

{
  environment: ...
  document: ...
  createPromise: function() { ... }
}
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.