Closed
Bug 898350
Opened 12 years ago
Closed 11 years ago
[binary data] report aligned offsets and sizes
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: nmatsakis, Assigned: nmatsakis)
References
Details
Currently binary data objects report "ideal" offsets and sizes that do not consider alignment. Barring further changes, the plan is for the offsets and sizes to be reported to the user as aligned per an ideal alignment algorithm (which corresponds to what we do in practice as well).
Assignee | ||
Updated•12 years ago
|
Blocks: harmony:typedobjects
Assignee | ||
Updated•12 years ago
|
Summary: (harmony:bindata) report aligned offsets and sizes → [binary data] report aligned offsets and sizes
Is this for the |bytes| property exposed to all JS, or some special internal SpiderMonkey things to track memory? AFAIK offsets are not exposed to JS in the current API.
Assignee | ||
Comment 2•12 years ago
|
||
The bytes property. And yes, you are correct about the current API, this bug relates to what dherman and I discussed for the final proposal. Of course, things may have changed after the latest ECMA meeting. Dave?
Flags: needinfo?(dherman)
Assignee | ||
Comment 4•11 years ago
|
||
Fixed as part of bug 898347. See test: tests/ecma_6/TypedObject/size_and_alignment.js
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Assignee: general → nmatsakis
You need to log in
before you can comment on or make changes to this bug.
Description
•