My latest push adds SWITCH_COMPARTMENT to js.h, as suggested by Adam, and uses that macro in the establish... and set... functions in jsloc.cpp. These are gateway functions from html into the javascript world. I also unrooted a couple more parameters that were rooted earlier when html did not understand these objects. This should not change any behavior, it is just a step along the way. Other functions need to use this macro, and still other functions don't really need to set compartment because they are internal. Then we can write some error legs that close down javascript for this session upon error, but still let edbrowse continue.
Karl Dahlke _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
