Closed Bug 2076637 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63086 - [wasm] customSections returns independent copies

Categories

(Core :: JavaScript: WebAssembly, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63086 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63086
Details from upstream follow.

chicoxyzzy <chi187@gmail.com> wrote:

[wasm] customSections returns independent copies

WebAssembly.Module.customSections already checks that two calls return different arrays. This adds the copy requirement: writing into one returned ArrayBuffer leaves a later call, and the other returned buffer, unchanged.

Checked in JavaScriptCore.

Component: web-platform-tests → JavaScript: WebAssembly
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.