Bug 174419

Summary: Wrong radix used in Unicode Escape in invalid character error message
Product: WebKit Reporter: Tooru Fujisawa [:arai] <arai.unmht>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Trivial CC: achristensen, buildbot, commit-queue, keith_miller, mark.lam, msaboff, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Tooru Fujisawa [:arai]
Reported 2017-07-12 03:30:10 PDT
Steps to Reproduce: 1. open WebKit Nightly Build 10.1.1 (12603.2.4, r219378) 2. open Console 3. evaluate the following code eval("\uffee"); Actual result: get following error SyntaxError: Invalid character '\u65518' it's using decimal after \u Expected result: get the following error SyntaxError: Invalid character '\uffee' it should use hexadecimal after \u, I'm preparing a patch now
Attachments
Patch (12.30 KB, patch)
2017-07-12 04:24 PDT, Tooru Fujisawa [:arai]
no flags
Tooru Fujisawa [:arai]
Comment 1 2017-07-12 04:24:50 PDT
Alex Christensen
Comment 2 2017-07-12 08:28:38 PDT
Comment on attachment 315228 [details] Patch Yep. Thanks!
WebKit Commit Bot
Comment 3 2017-07-12 08:57:18 PDT
Comment on attachment 315228 [details] Patch Clearing flags on attachment: 315228 Committed r219396: <http://trac.webkit.org/changeset/219396>
WebKit Commit Bot
Comment 4 2017-07-12 08:57:19 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.