[Webkit-unassigned] [Bug 191439] New: [JSC] isStrWhiteSpace seems redundant with Lexer<UChar>::isWhiteSpace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 8 15:14:15 PST 2018


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

            Bug ID: 191439
           Summary: [JSC] isStrWhiteSpace seems redundant with
                    Lexer<UChar>::isWhiteSpace
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ross.kirsling at sony.com

isStrWhiteSpace in ParseInt.h seems redundant with Lexer<UChar>::isWhiteSpace and could probably be done away with.

Note that while Lexer<UChar>::isWhiteSpace matches the current ES spec (https://tc39.github.io/ecma262/#sec-white-space), isStrWhiteSpace additionally looks for 0x000A, 0x000D, 0x2028, and 0x2029. Not sure whether it's supposed to be doing so or not though.

-- 
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/20181108/f72c2403/attachment.html>


More information about the webkit-unassigned mailing list