Closed Bug 1656359 Opened 4 years ago Closed 4 years ago

eliminate needless string flattening when calling JS_ParseJSON

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

We flatten strings in a couple places where we don't need to.

JS_ParseJSON doesn't require a null-terminated buffer, so we shouldn't have
to provide one.

Assignee: nobody → nfroyd
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P2
Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/831021e5a4a2
eliminate needless string flattening when calling JS_ParseJSON; r=peterv
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: