Bug 3436

Summary: Missing implementation of -[NSData(WebNSDateExtras) _webkit_parseRFC822HeaderFields]
Product: WebKit Reporter: Stéphane Corthésy <stephane-odb>
Component: WebKit Misc.Assignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Blocker    
Priority: P1    
Version: 412   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Patch to fix 3436 darin: review+

Description Stéphane Corthésy 2005-06-11 08:09:50 PDT
In WebKit/Misc.subproj/WebNSDataExtras.m version 1.4, method -[NSData(WebNSDateExtras) 
_webkit_parseRFC822HeaderFields] declared in corresponding header file is missing an implementation; 
actually implementation is there, but wrongly named -[NSData(WebNSDateExtras) 
_web_parseRFC822HeaderFields]
Simply renaming method fixes problem, as wrong method name is used nowhere in WebKit, whereas 
correct method name is.
BTW, shouldn't category be named WebNSDataExtras instead of WebNSDateExtras??
Comment 1 Michael Gaiman 2005-06-20 22:21:08 PDT
Created attachment 2522 [details]
Patch to fix 3436

This is a straightforward patch, but I figured if I did it, it might save
someone a couple minutes.
Comment 2 Darin Adler 2005-06-22 09:32:23 PDT
The "NSDate" typo in the header is the reason this wasn't caught at compile time. I'll fix that too.