Bug 254019

Summary: CanvasRenderingContext::taintsOrigin is not easy to read
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebCore Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

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.