Closed Bug 1656356 Opened 4 years ago Closed 4 years ago

don't require flat strings when calling ToInteger

Categories

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

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

We flatten substrings needlessly when calling ToInteger and we shouldn't have to.

ToInteger is defined on substrings, so we don't require the buffer to be
null-terminated when calling it.

Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b406f8dba10
don't require flat strings when calling ToInteger; r=mccr8
Status: NEW → 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: