Bug 15982

Summary: Improve JSString UTF-8 decoding
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: JavaScriptCoreAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
proposed patch darin: review+

Alexey Proskuryakov
Reported 2007-11-14 00:22:26 PST
From bug 15953 comment 5. We don't want lenient decoding in JSStringCreateWithUTF8CString(), and we want it to return 0 on error.
Attachments
proposed patch (12.67 KB, patch)
2007-11-14 00:29 PST, Alexey Proskuryakov
darin: review+
Alexey Proskuryakov
Comment 1 2007-11-14 00:29:24 PST
Created attachment 17263 [details] proposed patch
Darin Adler
Comment 2 2007-11-14 07:42:36 PST
Comment on attachment 17263 [details] proposed patch r=me
Alexey Proskuryakov
Comment 3 2007-11-14 22:00:10 PST
Committed revision 27810.
Note You need to log in before you can comment on or make changes to this bug.