[Webkit-unassigned] [Bug 12756] New: WebFrame - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encodingName baseURL:(NSURL *)URL should support integer encodingName constants

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 12 22:27:30 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12756

           Summary: WebFrame - (void)loadData:(NSData *)data
                    MIMEType:(NSString *)MIMEType textEncodingName:(NSString
                    *)encodingName baseURL:(NSURL *)URL should support
                    integer encodingName constants
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robburns1 at mac.com


For better consistency with Cocoa, this method (and perhaps others) should be
supplemented with a method like:
- (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType
textEncodingName:(int)encodingConstant baseURL:(NSURL *)URL

This would provid better consistency with Cocoa's approach where developers
will expect an int there rather than an NSString. Also to clarify this method,
the header explanation preceding the method should be changed to the following:

    @method loadData:MIMEType:textEncodingName:baseURL:
    @param data The data to use for the main page of the document.
    @param MIMEType The MIME type of the data.
    @param encodingName The text encoding name of the data as a string
         (not an integer contant as in cocoa method).
    @param URL The base URL to apply to relative URLs within the


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



More information about the webkit-unassigned mailing list