1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 04:45:08 +00:00
serenity/Libraries/LibJS/Tests/builtins/Proxy
Linus Groh 2cf8649d0e LibJS: Fix ProxyObject get/set with symbol property name
We can't assume that property names can be converted to strings anymore,
as we have symbols. Use name.to_value() instead.

This makes something like this possible:

    new Proxy(Object, { get(t, p) { return t[p] }  })[Symbol.hasInstance]
2020-11-04 23:06:44 +01:00
..
Proxy.handler-apply.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-construct.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-defineProperty.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-deleteProperty.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-get.js LibJS: Fix ProxyObject get/set with symbol property name 2020-11-04 23:06:44 +01:00
Proxy.handler-getOwnPropertyDescriptor.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-getPrototypeOf.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-has.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-isExtensible.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-preventExtensions.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.handler-set.js LibJS: Fix ProxyObject get/set with symbol property name 2020-11-04 23:06:44 +01:00
Proxy.handler-setPrototypeOf.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Proxy.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00