Title: [285902] branches/safari-612.3.6.3-branch/Source/WebKit
- Revision
- 285902
- Author
- repst...@apple.com
- Date
- 2021-11-16 17:03:07 -0800 (Tue, 16 Nov 2021)
Log Message
Cherry-pick r283386. rdar://problem/83953959
Protect WebFrame during invalidatePolicyListener()
https://bugs.webkit.org/show_bug.cgi?id=229981
<rdar://problem/82807413>
Reviewed by Alex Christensen.
* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::invalidatePolicyListeners): Protect the WebFrame while
policy handlers are run.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@283386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-612.3.6.3-branch/Source/WebKit/ChangeLog (285901 => 285902)
--- branches/safari-612.3.6.3-branch/Source/WebKit/ChangeLog 2021-11-17 00:59:58 UTC (rev 285901)
+++ branches/safari-612.3.6.3-branch/Source/WebKit/ChangeLog 2021-11-17 01:03:07 UTC (rev 285902)
@@ -1,3 +1,31 @@
+2021-11-16 Russell Epstein <repst...@apple.com>
+
+ Cherry-pick r283386. rdar://problem/83953959
+
+ Protect WebFrame during invalidatePolicyListener()
+ https://bugs.webkit.org/show_bug.cgi?id=229981
+ <rdar://problem/82807413>
+
+ Reviewed by Alex Christensen.
+
+ * WebProcess/WebPage/WebFrame.cpp:
+ (WebKit::WebFrame::invalidatePolicyListeners): Protect the WebFrame while
+ policy handlers are run.
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@283386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2021-10-01 Brent Fulgham <bfulg...@apple.com>
+
+ Protect WebFrame during invalidatePolicyListener()
+ https://bugs.webkit.org/show_bug.cgi?id=229981
+ <rdar://problem/82807413>
+
+ Reviewed by Alex Christensen.
+
+ * WebProcess/WebPage/WebFrame.cpp:
+ (WebKit::WebFrame::invalidatePolicyListeners): Protect the WebFrame while
+ policy handlers are run.
+
2021-11-08 Kocsen Chung <kocsen_ch...@apple.com>
Cherry-pick r285236. rdar://problem/83950623
Modified: branches/safari-612.3.6.3-branch/Source/WebKit/WebProcess/WebPage/WebFrame.cpp (285901 => 285902)
--- branches/safari-612.3.6.3-branch/Source/WebKit/WebProcess/WebPage/WebFrame.cpp 2021-11-17 00:59:58 UTC (rev 285901)
+++ branches/safari-612.3.6.3-branch/Source/WebKit/WebProcess/WebPage/WebFrame.cpp 2021-11-17 01:03:07 UTC (rev 285902)
@@ -237,6 +237,8 @@
void WebFrame::invalidatePolicyListener()
{
+ Ref protectedThis { *this };
+
if (!m_policyListenerID)
return;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes