Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: c4bb21451b149aca0fae578bf6e555c6858ba7ad https://github.com/WebKit/WebKit/commit/c4bb21451b149aca0fae578bf6e555c6858ba7ad Author: Loïc Yhuel <loic.yh...@softathome.com> Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths: M Source/WebCore/page/DOMWindow.cpp Log Message: ----------- 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 webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes