Title: [292991] branches/safari-613-branch/Source/WebCore
- Revision
- 292991
- Author
- [email protected]
- Date
- 2022-04-18 17:49:45 -0700 (Mon, 18 Apr 2022)
Log Message
Cherry-pick r292482. rdar://problem/91299672
Check for document page in WorkerMessagingProxy::createCacheStorageConnection
https://bugs.webkit.org/show_bug.cgi?id=238872
Reviewed by Chris Dumez.
Add a check to the document page, similarily to how it is currently done in
WorkerMessagingProxy::createRTCDataChannelRemoteHandlerConnection.
* workers/WorkerMessagingProxy.cpp:
(WebCore::WorkerMessagingProxy::createCacheStorageConnection):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@292482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-613-branch/Source/WebCore/ChangeLog (292990 => 292991)
--- branches/safari-613-branch/Source/WebCore/ChangeLog 2022-04-19 00:49:42 UTC (rev 292990)
+++ branches/safari-613-branch/Source/WebCore/ChangeLog 2022-04-19 00:49:45 UTC (rev 292991)
@@ -1,5 +1,36 @@
2022-04-18 Kocsen Chung <[email protected]>
+ Cherry-pick r292482. rdar://problem/91299672
+
+ Check for document page in WorkerMessagingProxy::createCacheStorageConnection
+ https://bugs.webkit.org/show_bug.cgi?id=238872
+
+ Reviewed by Chris Dumez.
+
+ Add a check to the document page, similarily to how it is currently done in
+ WorkerMessagingProxy::createRTCDataChannelRemoteHandlerConnection.
+
+ * workers/WorkerMessagingProxy.cpp:
+ (WebCore::WorkerMessagingProxy::createCacheStorageConnection):
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@292482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2022-04-06 Gabriel Nava Marino <[email protected]>
+
+ Check for document page in WorkerMessagingProxy::createCacheStorageConnection
+ https://bugs.webkit.org/show_bug.cgi?id=238872
+
+ Reviewed by Chris Dumez.
+
+ Add a check to the document page, similarily to how it is currently done in
+ WorkerMessagingProxy::createRTCDataChannelRemoteHandlerConnection.
+
+ * workers/WorkerMessagingProxy.cpp:
+ (WebCore::WorkerMessagingProxy::createCacheStorageConnection):
+
+2022-04-18 Kocsen Chung <[email protected]>
+
Cherry-pick r292418. rdar://problem/91312118
Avoid unnecessary traversal when updating list markers
Modified: branches/safari-613-branch/Source/WebCore/workers/WorkerMessagingProxy.cpp (292990 => 292991)
--- branches/safari-613-branch/Source/WebCore/workers/WorkerMessagingProxy.cpp 2022-04-19 00:49:42 UTC (rev 292990)
+++ branches/safari-613-branch/Source/WebCore/workers/WorkerMessagingProxy.cpp 2022-04-19 00:49:45 UTC (rev 292991)
@@ -169,6 +169,8 @@
{
ASSERT(isMainThread());
auto& document = downcast<Document>(*m_scriptExecutionContext);
+ if (!document.page())
+ return nullptr;
return document.page()->cacheStorageProvider().createCacheStorageConnection();
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes