Bug 246783

Summary: Throw a DataCloneError when attempting to serialize an ImageBitmap without the origin-clean flag.
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: CanvasAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matt Woodrow 2022-10-19 17:27:58 PDT
The HTML spec expects us to reject serialization/transfer of ImageBitmaps that don't have the origin-clean flag, rather
than tansferring them and tainting any <canvas> elements they get drawn to.
Comment 1 Matt Woodrow 2022-10-19 17:28:10 PDT
<rdar://problem/100901435>
Comment 2 Matt Woodrow 2022-10-19 17:31:24 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5571
Comment 3 EWS 2022-10-22 12:01:39 PDT
Committed 255882@main (ad6383440b73): <https://commits.webkit.org/255882@main>

Reviewed commits have been landed. Closing PR #5571 and removing active labels.