[Webkit-unassigned] [Bug 214603] New: llint_slow_path_get_private_name() should not be using PropertySlot::InternalMethodType::VMInquiry.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 21 11:06:39 PDT 2020


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

            Bug ID: 214603
           Summary: llint_slow_path_get_private_name() should not be using
                    PropertySlot::InternalMethodType::VMInquiry.
           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

VMInquiry means (1) the get operation should not call back into JS, (2) it should not throw any exceptions (except for OutOfMemoryError or StackOverflowError which can be thrown at any time), or have any side effects that is observable from JS code.  In this case, llint_slow_path_get_private_name() is just implementating PrivateFieldGet (https://tc39.es/proposal-class-fields/#sec-privatefieldget) and has no need to use VMInquiry.

-- 
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/20200721/3a24f219/attachment.htm>


More information about the webkit-unassigned mailing list