[Webkit-unassigned] [Bug 30868] New: FrameLoaderClient::objectContentType often has copied code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 09:39:26 PDT 2009


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

           Summary: FrameLoaderClient::objectContentType often has copied
                    code
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jmason at rim.com


The gtk and windows ports implement FrameLoaderClient::objectContentType using
the exact same code, except for different variable names and comments.  (The qt
port uses almost the same code except that it checks for several more cases. 
The mac port is very different, with lots of Obj-C'isms.  The wx and haiku
ports don't implement it at all.)

It would be good to move this shared code to a utility function, such as
defaultObjectContentType.  Ports could choose to implement objectContentType
either by calling the utility function or doing their own processing.

-- 
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