Bug 125016

Summary: [Cocoa] ResourceError encoding drops NSURL-valued keys in the NSError’s userInfo, including NSErrorFailingURLKey
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Encode all string- and URL-valued keys in the user info dictionary andersca: review+

Description mitz 2013-11-29 10:33:22 PST
<rdar://problem/15560240>

ArgumentCoder<ResourceError>::encodePlatformData() encodes only string-valued keys in the NSError’s userInfo dictionary. In particular, it doesn’t encode the value of NSErrorFailingURLKey, which is an NSURL.
Comment 1 mitz 2013-11-29 18:56:42 PST
Created attachment 218083 [details]
Encode all string- and URL-valued keys in the user info dictionary
Comment 2 mitz 2013-11-30 10:47:21 PST
Fixed in <http://trac.webkit.org/r159887>.