Bug 505587 - Implement ES5 Object.getOwnPropertyDescriptor. r=mrbkap

This commit is contained in:
Jeff Walden
2009-07-21 19:35:59 -07:00
parent dcd8f3515f
commit c78f71e88a
9 changed files with 464 additions and 18 deletions

View File

@@ -158,6 +158,10 @@ const char *const js_common_atom_names[] = {
js_valueOf_str, /* valueOfAtom */
js_toJSON_str, /* toJSONAtom */
"(void 0)", /* void0Atom */
js_enumerable_str, /* enumerableAtom */
js_configurable_str, /* configurableAtom */
js_writable_str, /* writableAtom */
js_value_str, /* valueAtom */
#if JS_HAS_XML_SUPPORT
js_etago_str, /* etagoAtom */
@@ -228,6 +232,10 @@ const char js_toLocaleString_str[] = "toLocaleString";
const char js_undefined_str[] = "undefined";
const char js_valueOf_str[] = "valueOf";
const char js_toJSON_str[] = "toJSON";
const char js_enumerable_str[] = "enumerable";
const char js_configurable_str[] = "configurable";
const char js_writable_str[] = "writable";
const char js_value_str[] = "value";
#if JS_HAS_XML_SUPPORT
const char js_etago_str[] = "</";