Closed Bug 1607715 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21083 - Add a test for createImageBitmap inside a worker

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Chris Lord <chrislord.net@gmail.com> wrote:

Add a test for createImageBitmap inside a worker

This is tested in the offscreen-canvas tests, but not specifically in the ImageBitmap tests. Given that WebKit at least currently supports the latter and not the former (and this may be true of Gecko?), it'd be worthwhile to test it explicitly.

I ran into this as creation of image bitmaps in WebKit asserted when run off the main thread.

Component: web-platform-tests → Canvas: 2D
Product: Testing → Core

CI Results

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

Total 40 tests

Status Summary

Firefox

OK : 1
PASS: 1[GitHub] 40[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux64-asan-opt, Gecko-linux64-debug, Gecko-linux64-opt, Gecko-linux64-qr-debug, Gecko-linux64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3bdbb670c0db
[wpt PR 21083] - Add a test for createImageBitmap inside a worker, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.