RESOLVED FIXED Bug 170529
Clean up MIMETypeRegistry::mimeTypeAssociationMap for Curl
https://bugs.webkit.org/show_bug.cgi?id=170529
Summary Clean up MIMETypeRegistry::mimeTypeAssociationMap for Curl
Basuke Suzuki
Reported 2017-04-05 17:14:26 PDT
The implementation of mimeTypeAssociationMap() has problem on both code cleanness and memory issue. Found two FIXME: in the code. // FIXME: Should not allocate this on the heap; use NeverDestroyed instead. // FIXME: Writing the function out like this will create a giant function. // Should use a loop instead.
Attachments
Patch (8.45 KB, patch)
2018-03-09 15:37 PST, Ross Kirsling
no flags
Patch (8.46 KB, patch)
2018-03-09 17:12 PST, Ross Kirsling
no flags
Basuke Suzuki
Comment 1 2018-02-28 12:26:04 PST
https://github.com/webkit/webkit/commit/2d6e423b34999d6934554649c5b9b154e16fe5e8 This is the beginning of the history CURL port start using this method.
Ross Kirsling
Comment 2 2018-03-09 15:37:14 PST
Ross Kirsling
Comment 3 2018-03-09 17:12:55 PST
WebKit Commit Bot
Comment 4 2018-03-09 17:47:33 PST
Comment on attachment 335490 [details] Patch Clearing flags on attachment: 335490 Committed r229497: <https://trac.webkit.org/changeset/229497>
WebKit Commit Bot
Comment 5 2018-03-09 17:47:35 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2018-03-12 17:23:42 PDT
Note You need to log in before you can comment on or make changes to this bug.