Bug 574992 - Make Date.prototype.toGMTString a normal, non-enumerable, non-alias property; also fixes a failure (with Object.getOwnPropertyNames support) in the MS ES5 tests. r=brendan
This commit is contained in:
@@ -156,9 +156,11 @@ const char *const js_common_atom_names[] = {
|
||||
js_source_str, /* sourceAtom */
|
||||
js_stack_str, /* stackAtom */
|
||||
js_sticky_str, /* stickyAtom */
|
||||
js_toGMTString_str, /* toGMTStringAtom */
|
||||
js_toLocaleString_str, /* toLocaleStringAtom */
|
||||
js_toSource_str, /* toSourceAtom */
|
||||
js_toString_str, /* toStringAtom */
|
||||
js_toUTCString_str, /* toUTCStringAtom */
|
||||
js_valueOf_str, /* valueOfAtom */
|
||||
js_toJSON_str, /* toJSONAtom */
|
||||
"(void 0)", /* void0Atom */
|
||||
@@ -250,9 +252,11 @@ const char js_set_str[] = "set";
|
||||
const char js_source_str[] = "source";
|
||||
const char js_stack_str[] = "stack";
|
||||
const char js_sticky_str[] = "sticky";
|
||||
const char js_toGMTString_str[] = "toGMTString";
|
||||
const char js_toLocaleString_str[] = "toLocaleString";
|
||||
const char js_toSource_str[] = "toSource";
|
||||
const char js_toString_str[] = "toString";
|
||||
const char js_toLocaleString_str[] = "toLocaleString";
|
||||
const char js_toUTCString_str[] = "toUTCString";
|
||||
const char js_undefined_str[] = "undefined";
|
||||
const char js_valueOf_str[] = "valueOf";
|
||||
const char js_toJSON_str[] = "toJSON";
|
||||
|
||||
Reference in New Issue
Block a user