Modified: trunk/Source/WebKit/ChangeLog (284873 => 284874)
--- trunk/Source/WebKit/ChangeLog 2021-10-26 16:21:29 UTC (rev 284873)
+++ trunk/Source/WebKit/ChangeLog 2021-10-26 16:24:04 UTC (rev 284874)
@@ -1,3 +1,13 @@
+2021-10-26 Chris Dumez <[email protected]>
+
+ Improve didFailProvisionalLoadForFrame logging to indicate if it is for the main frame
+ https://bugs.webkit.org/show_bug.cgi?id=232273
+
+ Reviewed by Darin Adler.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didFailProvisionalLoadForFrameShared):
+
2021-10-26 Per Arne <[email protected]>
[iOS][WP] Reduce sandbox telemetry
Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (284873 => 284874)
--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp 2021-10-26 16:21:29 UTC (rev 284873)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp 2021-10-26 16:24:04 UTC (rev 284874)
@@ -4800,7 +4800,7 @@
void WebPageProxy::didFailProvisionalLoadForFrameShared(Ref<WebProcessProxy>&& process, WebFrameProxy& frame, FrameInfoData&& frameInfo, WebCore::ResourceRequest&& request, uint64_t navigationID, const String& provisionalURL, const ResourceError& error, WillContinueLoading willContinueLoading, const UserData& userData)
{
LOG(Loading, "(Loading) WebPageProxy %" PRIu64 " in web process pid %i didFailProvisionalLoadForFrame to provisionalURL %s", m_identifier.toUInt64(), process->processIdentifier(), provisionalURL.utf8().data());
- WEBPAGEPROXY_RELEASE_LOG_ERROR(Process, "didFailProvisionalLoadForFrame: frameID=%" PRIu64 ", domain=%s, code=%d", frame.frameID().toUInt64(), error.domain().utf8().data(), error.errorCode());
+ WEBPAGEPROXY_RELEASE_LOG_ERROR(Process, "didFailProvisionalLoadForFrame: frameID=%" PRIu64 ", domain=%s, code=%d, isMainFrame=%d", frame.frameID().toUInt64(), error.domain().utf8().data(), error.errorCode(), frame.isMainFrame());
PageClientProtector protector(pageClient());