Bug 254019 - CanvasRenderingContext::taintsOrigin is not easy to read
Summary: CanvasRenderingContext::taintsOrigin is not easy to read
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-16 05:15 PDT by youenn fablet
Modified: 2023-03-20 01:06 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2023-03-16 05:15:09 PDT
It is surprising that if the canvas is tainted, taintsOrigin would return false.
This is fine since it is only used by checkOrigin, but we may want to simplify the code here by doing the canvas clean check in checkOrigin.
Comment 1 Radar WebKit Bug Importer 2023-03-16 05:15:34 PDT
<rdar://problem/106803255>
Comment 2 youenn fablet 2023-03-17 02:59:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11645
Comment 3 EWS 2023-03-20 01:05:50 PDT
Committed 261863@main (2bf6d1859ff5): <https://commits.webkit.org/261863@main>

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