Just found something really weird. According to the documentation, JS_DefineObject should return NULL if it can't create the new object. But I'm able to call it twice in a row (with the same parameters) without any problem. I get two different pointers.
_______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
