[Webkit-unassigned] [Bug 280917] New: Suppress smart pointer warnings on impl objects in auto-generated JS bindings code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 4 16:23:26 PDT 2024


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

            Bug ID: 280917
           Summary: Suppress smart pointer warnings on impl objects in
                    auto-generated JS bindings code
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org
                CC: cdumez at apple.com

Since JS wrapper holds a strong reference to the impl object and JS wrappers are kept alive for the duration of C++ function invocation, it's safe to call into functions without having an aexplicit Ref/RefPtr to the same object in stack.

-- 
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/20241004/f2711729/attachment.htm>


More information about the webkit-unassigned mailing list