Bug 185888

Summary: StringImpl utf8 conversion should not fail silently.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: fpizlo, keith_miller, msaboff, rmorisset, saam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. fpizlo: review+

Description Mark Lam 2018-05-22 14:30:19 PDT
Patch coming.
Comment 1 Radar WebKit Bug Importer 2018-05-22 14:31:03 PDT
<rdar://problem/40464506>
Comment 2 Mark Lam 2018-05-22 15:09:42 PDT
Created attachment 341035 [details]
proposed patch.
Comment 3 Mark Lam 2018-05-22 16:55:01 PDT
Thanks for the review.  Landed in r232089: <http://trac.webkit.org/r232089>.
Comment 4 Alexey Proskuryakov 2018-05-22 18:54:49 PDT
Comment on attachment 341035 [details]
proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=341035&action=review

> Source/WTF/wtf/text/WTFString.cpp:820
> +    RELEASE_ASSERT(expectedString);

Did we really never ever check the result in callers? If we did, those checks need to be removed now.
Comment 5 Yusuke Suzuki 2018-05-23 05:37:20 PDT
Committed r232108: <https://trac.webkit.org/changeset/232108>