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

Loïc Yhuel noreply at github.com
Thu Mar 7 06:04:59 PST 2024


  Branch: refs/heads/webkitglib/2.44
  Home:   https://github.com/WebKit/WebKit
  Commit: 52acc24ff0a0cf4dff2bebb96558e414c77ed923
      https://github.com/WebKit/WebKit/commit/52acc24ff0a0cf4dff2bebb96558e414c77ed923
  Author: Loïc Yhuel <loic.yhuel at softathome.com>
  Date:   2024-03-07 (Thu, 07 Mar 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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list