Closed Bug 1600233 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 20526 - Disallow serializing and transferring non-origin-clean ImageBitmap

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yutaka Hirano <yhirano@chromium.org> wrote:

Disallow serializing and transferring non-origin-clean ImageBitmap

DO NOT COMMIT THIS CHANGE YET. As the intent-to-deperecate-and-remove on blink-dev is currently conditionally approved I need to check the stats on Chrome stable before actually landing this spec change.

The tests update for https://github.com/whatwg/html/pull/5114.
Add one test case for serialization, add one test case for
transferring. The relationship between COOP/COEP is now clear
and we can remove no-coop-coep.https.window.js.

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 2 tests and 12 subtests

Status Summary

Firefox

OK : 2
PASS: 20
FAIL: 4

Chrome

OK : 2
PASS: 24

Safari

OK : 2
PASS: 14
FAIL: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/2dcontext/imagebitmap/createImageBitmap-serializable.html
Serialize ImageBitmap created from an OffscreenCanvas: FAIL (Chrome: PASS, Safari: FAIL)
Serializing a non-origin-clean ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)
/2dcontext/imagebitmap/createImageBitmap-transfer.html
Transfer ImageBitmap created from an OffscreenCanvas: FAIL (Chrome: PASS, Safari: FAIL)
Transferring a non-origin-clean ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)

CI Results

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

Total 2 tests and 12 subtests

Status Summary

Firefox

OK : 2
PASS: 20
FAIL: 4

Chrome

OK : 2
PASS: 24

Safari

OK : 2
PASS: 14
FAIL: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/2dcontext/imagebitmap/createImageBitmap-serializable.html
Serialize ImageBitmap created from an OffscreenCanvas: FAIL (Chrome: PASS, Safari: FAIL)
Serializing a non-origin-clean ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)
/2dcontext/imagebitmap/createImageBitmap-transfer.html
Transfer ImageBitmap created from an OffscreenCanvas: FAIL (Chrome: PASS, Safari: FAIL)
Transferring a non-origin-clean ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)

CI Results

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

Total 2 tests and 12 subtests

Status Summary

Firefox

OK : 2
PASS: 20
FAIL: 4

Chrome

OK : 2
PASS: 24

Safari

OK : 2
PASS: 14
FAIL: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/2dcontext/imagebitmap/createImageBitmap-serializable.html
Serialize ImageBitmap created from an OffscreenCanvas: FAIL (Chrome: PASS, Safari: FAIL)
Serializing a non-origin-clean ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)
/2dcontext/imagebitmap/createImageBitmap-transfer.html
Transfer ImageBitmap created from an OffscreenCanvas: FAIL (Chrome: PASS, Safari: FAIL)
Transferring a non-origin-clean ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9afa6e3909c7
[wpt PR 20526] - Disallow serializing and transferring non-origin-clean ImageBitmap, a=testonly
https://hg.mozilla.org/integration/autoland/rev/5d5fdc19059c
[wpt PR 20526] - Update wpt metadata, a=testonly

CI Results

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

Total 2 tests and 12 subtests

Status Summary

Firefox

OK : 2
PASS: 20
FAIL: 4

Chrome

OK : 2
PASS: 24

Safari

OK : 2
PASS: 14
FAIL: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/2dcontext/imagebitmap/createImageBitmap-serializable.html
Serialize ImageBitmap created from an OffscreenCanvas: FAIL (Chrome: PASS, Safari: FAIL)
Serializing a non-origin-clean ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)
/2dcontext/imagebitmap/createImageBitmap-transfer.html
Transfer ImageBitmap created from an OffscreenCanvas: FAIL (Chrome: PASS, Safari: FAIL)
Transferring a non-origin-clean ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)

Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.