Bug 206239 - Supported mime types for encoding should be supported mime types for loading
Summary: Supported mime types for encoding should be supported mime types for loading
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-14 09:05 PST by Said Abou-Hallawa
Modified: 2020-01-14 15:45 PST (History)
4 users (show)

See Also:


Attachments
Patch (4.65 KB, patch)
2020-01-14 09:22 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.