Re: How to check if a custom class has a private object set?

Mihai Dobrescu <[email protected]> Fri, 16 Dec 2016 04:16:18 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
I don't get it.
I have defined it as such.
The class has two kinds of functions, instance functions and static functions.

Instance functions work fine.

Only in case of static functions call it throws that assertion failure.

Why is that? Does it ignore JSCLASS_HAS_PRIVATE when static functions are called somehow?