Bug 517580 - Unconditionally build with support for getters and setters, remove support for the deprecated { x getter: function() {}} and x getter= function() {} getter syntaxes (mutatis mutandis for setter) now that ES5 provides Object.getOwnPropertyDescriptor and Object.defineProperty and { get x() { } } syntax, and provide __{define,lookup}{G,S}etter__ only if a preprocessor variable is defined (unconditionally provided for the moment). r=luke
This commit is contained in:
@@ -136,7 +136,6 @@ const char *const js_common_atom_names[] = {
|
||||
js_eval_str, /* evalAtom */
|
||||
js_fileName_str, /* fileNameAtom */
|
||||
js_get_str, /* getAtom */
|
||||
js_getter_str, /* getterAtom */
|
||||
js_index_str, /* indexAtom */
|
||||
js_input_str, /* inputAtom */
|
||||
js_iterator_str, /* iteratorAtom */
|
||||
@@ -149,7 +148,6 @@ const char *const js_common_atom_names[] = {
|
||||
js_parent_str, /* parentAtom */
|
||||
js_proto_str, /* protoAtom */
|
||||
js_set_str, /* setAtom */
|
||||
js_setter_str, /* setterAtom */
|
||||
js_stack_str, /* stackAtom */
|
||||
js_toLocaleString_str, /* toLocaleStringAtom */
|
||||
js_toSource_str, /* toSourceAtom */
|
||||
|
||||
Reference in New Issue
Block a user