Add rudimentary support for Debug.prototype.hooks.debuggerHandler. Note: A new constant JSPROP_NATIVE_ACCESSOR is added in jsapi.h, so that js_InitClass can create proper accessor properties.
This commit is contained in:
@@ -213,7 +213,10 @@ const char *const js_common_atom_names[] = {
|
||||
"keys", /* keysAtom */
|
||||
"iterate", /* iterateAtom */
|
||||
|
||||
"WeakMap" /* WeakMapAtom */
|
||||
"WeakMap", /* WeakMapAtom */
|
||||
|
||||
"return", /* returnAtom */
|
||||
"throw" /* throwAtom */
|
||||
};
|
||||
|
||||
JS_STATIC_ASSERT(JS_ARRAY_LENGTH(js_common_atom_names) * sizeof(JSAtom *) ==
|
||||
|
||||
Reference in New Issue
Block a user