Branch: refs/heads/webkitglib/2.42
  Home:   https://github.com/WebKit/WebKit
  Commit: 9c058fc33ab4cc6ed53f35d0838dc8e078a1ff2a
      
https://github.com/WebKit/WebKit/commit/9c058fc33ab4cc6ed53f35d0838dc8e078a1ff2a
  Author: Loïc Yhuel <[email protected]>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M Source/WebCore/page/DOMWindow.cpp

  Log Message:
  -----------
  Cherry-pick 274382@main (c4bb21451b14). 
https://bugs.webkit.org/show_bug.cgi?id=268915

    REGRESSION(262334@main): Fix leak of SecurityOrigin with postMessage
    https://bugs.webkit.org/show_bug.cgi?id=268915

    Reviewed by Charlie Wolfe.

    DOMWindow::createTargetOriginForPostMessage could return a new
    SecurityOrigin with two refs.
    It is only used with RefPtr, so we only need to have one ref.

    * Source/WebCore/page/DOMWindow.cpp:
    (WebCore::DOMWindow::createTargetOriginForPostMessage):

    Canonical link: https://commits.webkit.org/274382@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to