RESOLVED FIXED144818
NSInternalInconsistencyException raised in -[NSString encodeWithCoder:] beneath createEncodedObject when using WKRemoteObjectEncoder for Safari AutoFill
https://bugs.webkit.org/show_bug.cgi?id=144818
Summary NSInternalInconsistencyException raised in -[NSString encodeWithCoder:] benea...
mitz
Reported 2015-05-08 16:01:50 PDT
An NSString instance can contain an unpaired surrogate, but then trying to encode it with a custom NSCoder results in an exception. This can happen when Safari AutoFill encodes a string originating from a webpage.
Attachments
Avoid -[NSString encodeWithCoder:] (3.30 KB, patch)
2015-05-08 16:09 PDT, mitz
andersca: review+
mitz
Comment 1 2015-05-08 16:02:04 PDT
mitz
Comment 2 2015-05-08 16:09:27 PDT
Created attachment 252754 [details] Avoid -[NSString encodeWithCoder:]
mitz
Comment 3 2015-05-08 16:16:01 PDT
Note You need to log in before you can comment on or make changes to this bug.