Closed
Bug 1277699
Opened 8 years ago
Closed 8 years ago
[jsdbg2] Debugger.Object bound function accessors don't check that function is a debuggee
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1271653
People
(Reporter: jimb, Unassigned)
References
Details
The following accessor properties on Debugger.Object instance should return undefined unless the referent is a debuggee function, but instead return information about the referent when it is a non-debuggee function:
isArrowFunction
isBoundFunction
boundTargetFunction
boundThis
boundArguments
See js/src/jit-test/tests/debug/Object-script-lazy.js for an example of how to test for this. In particular, note how accessing the script and parameterNames properties on fDO and gDO returns undefined, until it adds the global g1 as a debuggee.
Comment 1•8 years ago
|
||
Spoke with Eddy this morning and he confirmed the fix is being handled in a patch for Bug 1271653.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•