Object creation in SpiderMonkey 45

Mihai Dobrescu <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
Hello,

What changed concerning custom global objects?
I have defined some with "toString" function. In version 38, when instantiating them with JS_NewObject, "toString" was called successfully.
Now, this happens for objects created by the SpiderMonkey itself, but my code that uses JS_NewObject seems to skip assigning the "toString" method, as it is not called anymore. What could be the reason?

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.