Closed Bug 1806532 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37587 - [rab/gsab] Disallow resizable buffers in bindings except in postMessage

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Shu-yu Guo <syg@chromium.org> wrote:

[rab/gsab] Disallow resizable buffers in bindings except in postMessage

WebIDL has the [AllowResizable] extended attribute [1]. BufferSources
with this attribute can take resizable buffers [2]. This CL is a minimal
delta to support resizable buffers in postMessage transferables.
Currently no API has this attribute, so conservatively throw for all
resizable buffers for now. Only postMessage transferables make use of
the new resizable allowance.

[1] https://webidl.spec.whatwg.org/#AllowResizable
[2] https://github.com/tc39/proposal-resizablearraybuffer

Bug: chromium:1396361, v8:11111
Change-Id: Ib9837e8d317679689a8b98aee7edab6b83847dcc
Reviewed-on: https://chromium-review.googlesource.com/4086949
WPT-Export-Revision: 45292113c4d42918bbb384dac748afc8dc64fd6a

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2fce9f274a59 [wpt PR 37587] - [rab/gsab] Disallow resizable buffers in bindings except in postMessage, a=testonly https://hg.mozilla.org/integration/autoland/rev/40aee719c90c [wpt PR 37587] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.