On Wed, Feb 12, 2014 at 09:51:04AM -0500, Karl Dahlke wrote:
> > Yeah, I guess we'll need some wrappers to do this.
>
> Well the logic is
>
> if(unrecoverable failure) {
> i_puts("helpful messsage saying your javascript is rendered invalid for this
> session,
> but will still operate in other sessions.");
> DestroyContext(cw->jss->jcx);
> delete cw->jss);
> cw->jss = NULL;
> }
>
> This could be a function, inline function, or macro,
> guess I don't have strong feelings about that.
Ok, this is done, see javaSessionFail in jsdom.cpp.
I've also made a start at some sort of error handling in jsdom.cpp.
I've pushed all these changes, and am going to have a look at jsloc.cpp as well.
Cheers,
Adam.
PS: is this also needed in html.cpp or does it just call into js*.cpp?
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev