Closed Bug 1724837 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 29960 - [WebCodecs] Support SharedArrayBuffer everywhere.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox93 fixed)

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Dale Curtis <dalecurtis@chromium.org>' wrote:

[WebCodecs] Support SharedArrayBuffer everywhere.

This adds a utility function and helper typedef, then updates all of the
following to support [AllowShared]:

  • Encoded(Audio|Video)Chunk both construction and copyTo().
  • AudioData both construction and copyTo().
  • AudioDecoderConfig.description
  • VideoDecoderConfig.description

Tests are added for all of this.

Fixed: 1238091
Change-Id: I2a4f52e552816868f91f9c62733499076bd20a8d
Reviewed-on: https://chromium-review.googlesource.com/3083156
WPT-Export-Revision: 1387249fe097d692f95ebc3f5336012718d55b3a

CI Results

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

Total 9 tests and 2 subtests

Status Summary

Firefox

OK : 9
FAIL: 18

Chrome

OK : 9
FAIL: 18

Safari

OK : 9
FAIL: 18

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/audio-data.https.any.html
Test construction and copyTo() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test construction and copyTo() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/audio-decoder.https.any.worker.html
Test isConfigSupported() and configure() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test isConfigSupported() and configure() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/audio-decoder.https.any.html
Test isConfigSupported() and configure() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test isConfigSupported() and configure() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/encoded-audio-chunk.https.any.html
Test construction and copyTo() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test construction and copyTo() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/encoded-audio-chunk.https.any.worker.html
Test construction and copyTo() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test construction and copyTo() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/encoded-video-chunk.https.any.html
Test construction and copyTo() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test construction and copyTo() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/encoded-video-chunk.https.any.worker.html
Test construction and copyTo() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test construction and copyTo() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/video-decoder.https.any.html
Test isConfigSupported() and configure() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test isConfigSupported() and configure() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/video-decoder.https.any.worker.html
Test isConfigSupported() and configure() using a SharedArrayBuffer: FAIL (Chrome: FAIL, Safari: FAIL)
Test isConfigSupported() and configure() using a Uint8Array(SharedArrayBuffer): FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fb6bc417a771
[wpt PR 29960] - [WebCodecs] Support SharedArrayBuffer everywhere., a=testonly
https://hg.mozilla.org/integration/autoland/rev/133844a051b5
[wpt PR 29960] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.