Saturday, 30 June 2012

Re: Patch: avoid repeated initialization/allocation of global object in js_newcompartment

In article <20120630121057.GC11480@kyllikki.org>,
Vincent Sanders <vince@netsurf-browser.org> wrote:

[Explanation of the js objects and their lifetimes]

Thanks for the summary. :)



> The content *must* be given a fresh global object or the content will
> not be starting from the state the previously loaded page left it!
> complete with pointers to the previous DOM tree etc.

Above, "content will not be" should be "content will be", since it needs
to start in a fresh state.

Cheers,

--

Michael Drake (tlsa) http://www.netsurf-browser.org/

No comments:

Post a Comment