[Webkit-unassigned] [Bug 167067] Octal escapes should be max 3 digits and syntax errors in Unicode patterns

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 4 13:58:54 PDT 2020


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

Alexey Shvayka <shvaikalesh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shvaikalesh at gmail.com
           Hardware|Unspecified                 |All
            Version|Safari 10                   |WebKit Nightly Build
            Summary|Octal escapes in strings    |Octal escapes should be max
                   |and regexes should be max 3 |3 digits and syntax errors
                   |digits, but leading zeros   |in Unicode patterns
                   |are allowed                 |
                 OS|Unspecified                 |All
           Severity|Normal                      |Minor

--- Comment #2 from Alexey Shvayka <shvaikalesh at gmail.com> ---
(In reply to Erik Corry from comment #1)
> Actually I think Webkit does the right thing for strings, it's just regexes
> where leading zeros are erroneously allowed.

Alright, thank you for report. Some tests for octal escapes in strings:
  LayoutTests/js/basic-strict-mode.html
  LayoutTests/js/numeric-escapes-in-string-literals.html

-- 
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/20200404/24d5cb1d/attachment.htm>


More information about the webkit-unassigned mailing list