On Mon, Jul 13, 2009 at 2:18 PM, Sam Weinig<sam.wei...@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 _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev