tc39 / test262

Official ECMAScript Conformance Test Suite
Other
2.38k stars 461 forks source link

Testing plan for JSON-parse-with-source #4096

Open ioannad opened 5 months ago

ioannad commented 5 months ago

Proposal README Proposal rendered spec

For testing the tests, the proposal is shipped in v8.


ioannad commented 5 months ago

I hope I didn't miss important test cases, and that the plan is not too much or too little. Any comments are very welcome!

I make the start by migrating the staging tests by the v8 project authors.

ptomato commented 3 months ago

I removed "Brand check for this method" - JSON.isRawJSON and JSON.rawJSON are static methods, so there's no instance to brand-check.

Here is one more suggestion: On the return value of JSON.rawJSON(), the rawJSON property cannot be modified or deleted and has the correct property descriptor.