[Webkit-unassigned] [Bug 209273] New: StringView::startsWith and String::startsWith do not treat null strings the same

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 19 00:53:03 PDT 2020


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

            Bug ID: 209273
           Summary: StringView::startsWith and String::startsWith do not
                    treat null strings the same
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: youennf at gmail.com

String::startsWith(null) returns false.
StringView::startsWith(null) returns true.
Both startsWith(emptyString) returns true.

-- 
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/20200319/ae522f8e/attachment.htm>


More information about the webkit-unassigned mailing list