Closed Bug 1835450 Opened 1 years ago Closed 1 year ago

[wpt-sync] Sync PR 40262 - Fix failed test offscreencanvas_transferrable.html

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yi Xu <yiyix@google.com> wrote:

Fix failed test offscreencanvas_transferrable.html

Currently, when transfer offscreencanvas to worker and offscreencanvas already has a rendering context or the same offscreencanvas is transferred twice, the data clone error is thrown. According to the spec, the invalid state error should be thrown instead.

Bug: 1448662

Change-Id: Iba80ca91587e0557f205c2aad2a192b862935e3d
Reviewed-on: https://chromium-review.googlesource.com/4566693
WPT-Export-Revision: 6677471b91594d2919eee91fe2339577f22d83fb

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Component: DOM: Core & HTML → Graphics: Canvas2D
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f23777bdc373 [wpt PR 40262] - Fix failed test offscreencanvas_transferrable.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/5ac0b59c6f3f [wpt PR 40262] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.