Open Bug 1390955 Opened 8 years ago Updated 2 years ago

[jsdbg2] Debugger.Object.prototype.isAsyncFunction and isGeneratorFunction should work on non-debuggee functions

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

Tracking Status
firefox57 --- fix-optional

People

(Reporter: jimb, Unassigned)

References

(Blocks 1 open bug)

Details

Debugger.Object.prototype.isAsyncFunction and ...isGeneratorFunction currently return undefined if the referent is not a debuggee function, but they should work normally. D.O.p.isAsyncFunction and D.O.p.isGeneratorFunction inspect externally-visible characteristics of the referent, just like D.O.p.isCallable, not internal characteristics like D.O.p.script.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.