Bug 206239

Summary: Supported mime types for encoding should be supported mime types for loading
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: CanvasAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Said Abou-Hallawa 2020-01-14 09:05:54 PST
It does not make sense to allow unsupported mime types for canvas.toDataURL(). If the system allows encoding to them, we are going to return DataURL that we do not allow loading.
Comment 1 Said Abou-Hallawa 2020-01-14 09:10:39 PST
<rdar://problem/55512630>
Comment 2 Said Abou-Hallawa 2020-01-14 09:22:53 PST
Created attachment 387664 [details]
Patch
Comment 3 WebKit Commit Bot 2020-01-14 15:45:58 PST
Comment on attachment 387664 [details]
Patch

Clearing flags on attachment: 387664

Committed r254541: <https://trac.webkit.org/changeset/254541>
Comment 4 WebKit Commit Bot 2020-01-14 15:45:59 PST
All reviewed patches have been landed.  Closing bug.