pub unsafe extern "C" fn JS_NewEnumerateStandardClasses(
cx: *mut JSContext,
obj: Handle<*mut JSObject>,
properties: MutableHandleIdVector,
enumerableOnly: bool,
) -> bool
Expand description
Fill “properties” with a list of standard class names that have not yet been resolved on “obj”. This can be used as (part of) a newEnumerate class hook on a global. Already-resolved things are excluded because they might have been deleted by script after being resolved and enumeration considers already-defined properties anyway.