mjs at apple.com
Mon Jul 13 14:36:23 PDT 2009
On Jul 13, 2009, at 2:28 PM, Geoffrey Garen 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).
>> You probably mean "in addition to" rather than "instead of".
> We talked about "instead of".
> We think the JSGlobalObject will render the ExecState irrelevant,
> since the ExecState was only used to access the heap, which
> JSGlobalObject can do, and to select a prototype, which this fix
> will do.
Don't you need an ExecState to report exceptions, including the
uncatchable out-of-memory exception? Or does that work differently now?
More information about the webkit-dev