[wpt-sync] Sync PR 37587 - [rab/gsab] Disallow resizable buffers in bindings except in postMessage
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| 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-resizablearraybufferBug: chromium:1396361, v8:11111
Change-Id: Ib9837e8d317679689a8b98aee7edab6b83847dcc
Reviewed-on: https://chromium-review.googlesource.com/4086949
WPT-Export-Revision: 45292113c4d42918bbb384dac748afc8dc64fd6a
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
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
- /html/infrastructure/safe-passing-of-structured-data/cross-origin-transfer-resizable-arraybuffer.html [wpt.fyi]
- postMessaging resizable ArrayBuffer to OOPIF:
FAIL(Chrome:FAIL, Safari:PASS)
- postMessaging resizable ArrayBuffer to OOPIF:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2fce9f274a59
https://hg.mozilla.org/mozilla-central/rev/40aee719c90c
Description
•