[Webkit-unassigned] [Bug 47700] New: Make mime type lookup in File::create(path) thread-safe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 14 16:48:33 PDT 2010


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

           Summary: Make mime type lookup in File::create(path)
                    thread-safe
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kinuko at chromium.org
                CC: ap at webkit.org, levin at chromium.org, jianli at chromium.org


Make mime type lookup in File::create(path) thread-safe.  This is dangerous when this code runs on workers.

Currently when we create a File object (WebCore/fileapi/File) from a file path, it calls MIMETypeRegistry::getMIMETypeForExtension() to initialize File.type based on the given path.
But this is not thread-safe on many platforms.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list