Bug 125016 - [Cocoa] ResourceError encoding drops NSURL-valued keys in the NSError’s userInfo, including NSErrorFailingURLKey
Summary: [Cocoa] ResourceError encoding drops NSURL-valued keys in the NSError’s userI...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-11-29 10:33 PST by mitz
Modified: 2013-11-30 10:47 PST (History)
0 users

See Also:


Attachments
Encode all string- and URL-valued keys in the user info dictionary (4.07 KB, patch)
2013-11-29 18:56 PST, mitz
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>.