summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-06-17 14:14:09 +0300
committerLinus Groh <mail@linusgroh.de>2021-06-17 13:20:18 +0100
commitf98c0ca5287682475d3c0f9761e96b1beaae9ff0 (patch)
treea7feb9779a37c4ab5e2490eeebf73272dc4a4877 /Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
parent37340aa599e177597f81748a14951c0d3d38efaf (diff)
downloadserenity-f98c0ca5287682475d3c0f9761e96b1beaae9ff0.zip
LibJS: Add the Object.prototype.__define{Getter, Setter}__ methods
These are a part of the Annex B extension of the specification.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
index a2bbf9e2b1..852d089f4b 100644
--- a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
+++ b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
@@ -13,6 +13,8 @@ namespace JS {
#define ENUMERATE_STANDARD_PROPERTY_NAMES(P) \
P(__proto__) \
+ P(__defineGetter__) \
+ P(__defineSetter__) \
P(BYTES_PER_ELEMENT) \
P(BigInt) \
P(Boolean) \