Closed
Bug 1586683
Opened 5 years ago
Closed 5 years ago
Remove flat strings from the API
Categories
(Core :: JavaScript Engine, task, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file)
It's pretty easy to expose linear strings instead of flat strings because none of the consumers actually care about flat (null-terminated) strings, they just want to work with linear strings. This allows us to remove flat strings altogether (bug 1330776).
Assignee | ||
Comment 1•5 years ago
|
||
We want to remove flat strings (JSFlatString). With this patch we only expose
linear strings (JSLinearString) to API consumers.
This is very mechanical for the most part, because code typically only cares
about linear strings and not the null-termination aspect.
Updated•5 years ago
|
Priority: -- → P1
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/78f93714ded7
Remove flat strings from JSAPI. r=jwalden,bzbarsky
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•