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

Said Abou-Hallawa
Reported 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.
Attachments
Patch (4.65 KB, patch)
2020-01-14 09:22 PST, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2020-01-14 09:10:39 PST
Said Abou-Hallawa
Comment 2 2020-01-14 09:22:53 PST
WebKit Commit Bot
Comment 3 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>
WebKit Commit Bot
Comment 4 2020-01-14 15:45:59 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.