Closed
Bug 958646
Opened 12 years ago
Closed 12 years ago
[jsdbg2] Implement Debugger.Script.prototype.global accessor, to return the global of a script
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: jimb, Assigned: jimb)
Details
Attachments
(1 file, 1 obsolete file)
|
6.35 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
There should be a quick way to get the global in which a given script runs. This would also provide a quick way to find a frame's global: frame.script.global.
Patch attached.
| Assignee | ||
Comment 1•12 years ago
|
||
Updated with a mochitest.
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Attachment #8358594 -
Flags: review?(sphink)
Comment 3•12 years ago
|
||
Comment on attachment 8358594 [details] [diff] [review]
Implement Debugger.Script.prototype.global accessor.
Review of attachment 8358594 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me.
Attachment #8358594 -
Flags: review?(sphink) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Flags: in-testsuite+
Target Milestone: --- → mozilla29
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•