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:
Jason Orendorff
2011-04-18 17:42:07 -05:00
parent bcd7628c4d
commit 9ab9356da1
28 changed files with 933 additions and 48 deletions

View File

@@ -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 *) ==