[Webkit-unassigned] [Bug 170529] New: Clean-up MIMETypeRegistry::mimeTypeAssociationMap for Curl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 5 17:14:26 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170529

            Bug ID: 170529
           Summary: Clean-up MIMETypeRegistry::mimeTypeAssociationMap for
                    Curl
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Basuke.Suzuki at am.sony.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170406/7dee791e/attachment.html>


More information about the webkit-unassigned mailing list