Bug 96029

Summary: StringBuilder::toAtomicString() can create an 16 bit string with 8 bit contents
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Michael Saboff
Reported 2012-09-06 14:50:24 PDT
For the case where a StringBuild is partially populated with 8 bit data, when toAtomicString() is called, it will convert the string unnecessarily to 16 bits.
Attachments
Patch (1.46 KB, patch)
2012-09-06 15:15 PDT, Michael Saboff
no flags
Michael Saboff
Comment 1 2012-09-06 15:15:16 PDT
WebKit Review Bot
Comment 2 2012-09-06 21:48:01 PDT
Comment on attachment 162600 [details] Patch Clearing flags on attachment: 162600 Committed r127821: <http://trac.webkit.org/changeset/127821>
WebKit Review Bot
Comment 3 2012-09-06 21:48:04 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.