[Webkit-unassigned] [Bug 212676] New: VMInspector APIs should be taking a VM* instead of a JSGlobalObject*.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 2 17:55:39 PDT 2020


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

            Bug ID: 212676
           Summary: VMInspector APIs should be taking a VM* instead of a
                    JSGlobalObject*.
           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

This because:
1. none of the functions currently taking a JSGlobalObject* actually need the globalObject.  All of them need the VM.
2. the role of the VMInspector is to enable inspection of the VM.  By requiring that it be passed a JSGlobalObject*, we were actually preventing the VMInspector from being used in code that have a VM to inspect but don't have a JSGlobalObject to use.

-- 
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/20200603/30c95882/attachment.htm>


More information about the webkit-unassigned mailing list