Closed Bug 1865116 Opened 2 years ago Closed 1 year ago

Provide JSON.parse with source for arrays

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: bthrall, Assigned: bthrall)

References

Details

Attachments

(1 file)

Support the JSON.parse with source proposal behind a shell option for parsing arrays.

This will require:

  • Implement the CreateParseRecord() algorithm from the proposal with support for arrays
  • Update InternalizeJSONProperty() and JSON.parse() implementations to look up the ParseRecord information for each array and its elements
No longer depends on: 1865115
Assignee: nobody → bthrall
Attachment #9376312 - Attachment description: WIP: Bug 1865116 - Provide source to reviver for JSON arrays → Bug 1865116 - Provide source to reviver for JSON arrays r=jandem
Status: NEW → ASSIGNED
Attachment #9376312 - Attachment description: Bug 1865116 - Provide source to reviver for JSON arrays r=jandem → Bug 1865116 - Provide source to reviver for JSON arrays r=jandem,dminor
Pushed by bthrall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e15a85fbd4d7 Provide source to reviver for JSON arrays r=jandem
Pushed by bthrall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/646708899245 Provide source to reviver for JSON arrays r=jandem
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Flags: needinfo?(bthrall)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: