RESOLVED WONTFIX Bug 139167
Make InternalFunction inherit from JSCallee so that it has a JSScope
https://bugs.webkit.org/show_bug.cgi?id=139167
Summary Make InternalFunction inherit from JSCallee so that it has a JSScope
Michael Saboff
Reported 2014-12-01 17:52:30 PST
InternalFunction is currently the only Callee type that doesn't have a JSScope. This is to change InternalFunction to inherit from JSCallee so that it has a scope like all other callee types.
Attachments
Patch (7.99 KB, patch)
2014-12-01 18:03 PST, Michael Saboff
no flags
Fixed ChangeLog comment (7.97 KB, patch)
2014-12-01 18:07 PST, Michael Saboff
ggaren: review-
Michael Saboff
Comment 1 2014-12-01 18:03:02 PST
Michael Saboff
Comment 2 2014-12-01 18:07:29 PST
Created attachment 242374 [details] Fixed ChangeLog comment
Geoffrey Garen
Comment 3 2014-12-02 12:34:36 PST
Comment on attachment 242374 [details] Fixed ChangeLog comment I don't think it helps to make InternalFunction have a JSScope. The VM must handle callees that are not subclasses of JSCallee, since arbitrary callees are allowed in the language / DOM API -- for example, document.all(1).
Note You need to log in before you can comment on or make changes to this bug.