[webkit-changes] [WebKit/WebKit] 9c058f: Cherry-pick 274382 at main (c4bb21451b14). https://bu...

Loïc Yhuel noreply at github.com
Wed Feb 14 13:57:08 PST 2024


  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 <loic.yhuel at softathome.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

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

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

    REGRESSION(262334 at 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




More information about the webkit-changes mailing list