Bug 246783 - Throw a DataCloneError when attempting to serialize an ImageBitmap without the origin-clean flag.
Summary: Throw a DataCloneError when attempting to serialize an ImageBitmap without th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-19 17:27 PDT by Matt Woodrow
Modified: 2022-10-22 12:01 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.