You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, when we try to convert a specifically built object to JSON, we can get a panic because we try to convert an undefined or Symbol value to JSON.
This happens in the following 2 tests from the Test262 test suite:
In some cases, when we try to convert a specifically built object to JSON, we can get a panic because we try to convert an
undefined
orSymbol
value to JSON.This happens in the following 2 tests from the Test262 test suite:
test/built-ins/JSON/stringify/value-tojson-result.js
test/built-ins/JSON/stringify/value-tojson-arguments.js
You can reproduce it by running:
Where
{file}
is one of the two above. The panic that gets generated is this one:And the stack trace this one:
The text was updated successfully, but these errors were encountered: