Allow all ToBigInt values in memory64 JS parameters
Categories
(Core :: JavaScript: WebAssembly, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: bvisness, Assigned: bvisness)
References
Details
Attachments
(3 files, 2 obsolete files)
A spec update was recently merged to make sure that ToBigInt was used for IndexValue params in the memory64 JS API. We need to update our implementation to reflect this.
| Assignee | ||
Comment 1•1 year ago
|
||
This change in terminology affects all our code, but this patch does not
yet touch the "index" parameter in memory and table descriptors.
| Assignee | ||
Comment 2•1 year ago
|
||
This updates memory/table descriptors and type reflection to use
"address" instead of "index".
Depends on D226505
| Assignee | ||
Comment 3•1 year ago
|
||
Previously our implementation only accepted BigInt values, but the spec
now requires that ToBigInt is used and therefore that string and boolean
values may be accepted as well.
Depends on D226506
| Assignee | ||
Comment 4•1 year ago
|
||
Some spec tests were added that have a new module
definition/instantiation syntax, and wast was changed to reflect this.
We handle this by not handling it, since it is irrelevant to memory64.
This will have to be addressed eventually when the rapidly-growing pile
of "wasm 3.0" spec tests are finally added to the main spec repo.
Depends on D226507
| Assignee | ||
Comment 5•1 year ago
|
||
Depends on D226535
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 8•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/819e59143959
https://hg.mozilla.org/mozilla-central/rev/f07ad9f4f3f5
https://hg.mozilla.org/mozilla-central/rev/b92169f4a03b
Description
•