[Webkit-unassigned] [Bug 174419] New: Wrong radix used in Unicode Escape in invalid character error message

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 12 03:30:10 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174419

            Bug ID: 174419
           Summary: Wrong radix used in Unicode Escape in invalid
                    character error message
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: arai.unmht at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170712/d163a765/attachment.html>


More information about the webkit-unassigned mailing list