Closed
Bug 958646
Opened 10 years ago
Closed 10 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•10 years ago
|
||
Updated with a mochitest.
Assignee | ||
Comment 2•10 years ago
|
||
Try push: https://tbpl.mozilla.org/?tree=Try&rev=9f877de86d9f
Assignee | ||
Updated•10 years ago
|
Attachment #8358594 -
Flags: review?(sphink)
Comment 3•10 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•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/35cba8ed009d
Flags: in-testsuite+
Target Milestone: --- → mozilla29
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/35cba8ed009d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•