1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 14:15:07 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/JSON
Timothy Flynn b0e5609b88 LibJS: Use GetV to look up the toJSON property in SerializeJSONProperty
The current implementation of step 2a sort of manually implemented GetV
with a ToObject + Get combo. But in the call to Get, the receiver wasn't
the correct object. So when invoking toJSON, the receiver was an Object
type rather than a BigInt.

This also adds spec comments to SerializeJSONProperty.
2022-02-07 09:24:09 +00:00
..
JSON.@@toStringTag.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
JSON.parse-reviver.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
JSON.parse.js LibJS: Add in-tree test for Json parsing of negative zeros 2022-01-19 21:51:09 +00:00
JSON.stringify-exception-in-property-getter.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
JSON.stringify-order.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
JSON.stringify-proxy.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
JSON.stringify-replacer.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
JSON.stringify-space.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
JSON.stringify.js LibJS: Use GetV to look up the toJSON property in SerializeJSONProperty 2022-02-07 09:24:09 +00:00