All users were logged out of Bugzilla on October 13th, 2018

[jsdbg2] Debugger.Script.prototype.decompile

NEW
Unassigned

Status

()

7 years ago
3 years ago

People

(Reporter: past, Unassigned)

Tracking

Other Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Per the debugger spec: https://wiki.mozilla.org/Debugger

decompile([pretty])
    Return a string containing JavaScript source code equivalent to this script in its effect and result. If pretty is present and true, produce indented code with line breaks. (Note that Debugger.Object instances referring to functions also have a decompile method, whose result includes the function header and parameter names, so it is probably better to write f.decompile() than to write f.getFunctionScript().decompile().)
Blocks: 694526
(Assignee)

Updated

4 years ago
Assignee: general → nobody

Comment 1

3 years ago
The documentation is currently listing this method without any further comments, shouldn't it be marked as "future plan"?
You need to log in before you can comment on or make changes to this bug.