Bug 76651

Summary: stringProtoFuncReplace converts 8 bit strings to 16 bit during replacement
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch ggaren: review+

Michael Saboff
Reported 2012-01-19 11:43:16 PST
stringProtoFuncReplace() ends up calling substituteBackRef() in the same file which converts 8 bit strings to 16 bit strings creating a 16 bit result. This was found running the dromaeo tests.
Attachments
Patch (5.31 KB, patch)
2012-01-19 15:04 PST, Michael Saboff
ggaren: review+
Michael Saboff
Comment 1 2012-01-19 15:04:44 PST
Geoffrey Garen
Comment 2 2012-01-19 15:23:55 PST
Comment on attachment 123204 [details] Patch r=me
Michael Saboff
Comment 3 2012-01-30 10:52:02 PST
Note You need to log in before you can comment on or make changes to this bug.