[Webkit-unassigned] [Bug 164777] New: Remove JSString::SafeView and replace its uses with StringViewWithUnderlyingString.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 15 09:37:55 PST 2016


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

            Bug ID: 164777
           Summary: Remove JSString::SafeView and replace its uses with
                    StringViewWithUnderlyingString.
    Classification: Unclassified
           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: mark.lam at apple.com

JSString::SafeView no longer achieves its intended goal to make it easier to handle strings safely.  Its clients still need to do explicit exception checks in order to be correct.  We'll remove it and replace its uses with StringViewWithUnderlyingString instead which serves to gets the a StringView (which is what we really wanted from SafeView) and keeps the backing String alive while the view is in use.

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


More information about the webkit-unassigned mailing list