Closed Bug 650299 Opened 14 years ago Closed 9 years ago

Don't leak the proxy call trap with Function.prototype.toString

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 1100936

People

(Reporter: evilpie, Unassigned)

References

Details

For some reason, we currently call the toString method of the caller trap directly, which leaks the call trap source. Wladmir Palant recognized this an issue here:http://adblockplus.org/blog/do-javascript-proxies-allow-undetectable-function-wrappers. Maybe we can just call get Trap with "toString".
Blocks: abp
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.