I converted all the jseng-moz.cpp strings from c++ to c, using the usual string management routines. The only c++ constructs are those required by the mozilla api. It should be easy now to convert this to a c process, as in duktape.
Along the way I found and fixed a bug related to document.cookie. This is a doorway to set and read cookies. document.cookie = "foo=1"; document.cookie = "bar=2"; alert(document.cookie); This should print foo=1; bar=2 but it only retained the last cookie, and would show bar=2 A lot of websites rely on cookies, and don't work right without them, and some of these sites use javascript to manage cookies, so it's important that we get this one right. As usual, the bug went unnoticed because it was not tested in jsrt. I added a test for this now. Karl Dahlke _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
