Bug 246783
| Summary: | Throw a DataCloneError when attempting to serialize an ImageBitmap without the origin-clean flag. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Canvas | Assignee: | 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 | ||
Matt Woodrow
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Matt Woodrow
<rdar://problem/100901435>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/5571
EWS
Committed 255882@main (ad6383440b73): <https://commits.webkit.org/255882@main>
Reviewed commits have been landed. Closing PR #5571 and removing active labels.