[webkit-dev] ExecState::thisObject()

Eric Seidel eric at webkit.org
Mon Jul 13 14:21:19 PDT 2009


On Mon, Jul 13, 2009 at 2:18 PM, Sam Weinig<sam.weinig at gmail.com> wrote:
> I discussed this a bit with Darin and Geoff, and we came to the conclusion
> that the correct fix is to have each JS DOMObject store a JSGlobalObject
> pointer and augment the toJS methods to pass a global object instead of an
> ExecState (close to you #1).

There are classes in JavaScriptCore with mutable prototype chains
which will not be covered by this fix, no?

1.__proto__ for instance, no?

Adam would have to comment as to how much of a concern that would be.

> I would not advocate storing more data on the
> ExecState.
> The tricky part will be getting cases the edge cases such as events and
> callbacks correct.
> -Sam


More information about the webkit-dev mailing list