CustomProtocols: convert log messages in WebURLSchemeTaskProxy to RELEASE_LOG
https://bugs.webkit.org/show_bug.cgi?id=202686
Reviewed by Alex Christensen.
Instead of using WTFLogAlways, since those messages are confusing on stdout.
* WebProcess/WebPage/WebURLSchemeTaskProxy.cpp:
(WebKit::WebURLSchemeTaskProxy::didPerformRedirection):
(WebKit::WebURLSchemeTaskProxy::didReceiveResponse):
(WebKit::WebURLSchemeTaskProxy::didReceiveData):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@250897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog
index ee85a94..d724a16 100644
--- a/Source/WebKit/ChangeLog
+++ b/Source/WebKit/ChangeLog
@@ -1,5 +1,19 @@
2019-10-09 Carlos Garcia Campos <cgarcia@igalia.com>
+ CustomProtocols: convert log messages in WebURLSchemeTaskProxy to RELEASE_LOG
+ https://bugs.webkit.org/show_bug.cgi?id=202686
+
+ Reviewed by Alex Christensen.
+
+ Instead of using WTFLogAlways, since those messages are confusing on stdout.
+
+ * WebProcess/WebPage/WebURLSchemeTaskProxy.cpp:
+ (WebKit::WebURLSchemeTaskProxy::didPerformRedirection):
+ (WebKit::WebURLSchemeTaskProxy::didReceiveResponse):
+ (WebKit::WebURLSchemeTaskProxy::didReceiveData):
+
+2019-10-09 Carlos Garcia Campos <cgarcia@igalia.com>
+
[WPE][GTK] WebKitSecurityManager should consider webkit:// to be a local URI scheme
https://bugs.webkit.org/show_bug.cgi?id=202638
diff --git a/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp b/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp
index 8150172..5b9ef14 100644
--- a/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp
+++ b/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "WebURLSchemeTaskProxy.h"
+#include "Logging.h"
#include "URLSchemeTaskParameters.h"
#include "WebCoreArgumentCoders.h"
#include "WebPage.h"
@@ -73,13 +74,13 @@
// We do not inform the UIProcess of WebKit's new request with the given suggested request.
// We do want to know if WebKit would have generated a request that differs from the suggested request, though.
if (request.url() != originalRequest.url())
- WTFLogAlways("Redirected scheme task would have been sent to a different URL.");
+ RELEASE_LOG(Loading, "Redirected scheme task would have been sent to a different URL.");
processNextPendingTask();
};
if (m_waitingForCompletionHandler) {
- WTFLogAlways("Received redirect during previous redirect processing, queuing it.");
+ RELEASE_LOG(Loading, "Received redirect during previous redirect processing, queuing it.");
queueTask([this, protectedThis = makeRef(*this), redirectResponse = WTFMove(redirectResponse), request = WTFMove(request)]() mutable {
didPerformRedirection(WTFMove(redirectResponse), WTFMove(request));
});
@@ -93,7 +94,7 @@
void WebURLSchemeTaskProxy::didReceiveResponse(const ResourceResponse& response)
{
if (m_waitingForCompletionHandler) {
- WTFLogAlways("Received response during redirect processing, queuing it.");
+ RELEASE_LOG(Loading, "Received response during redirect processing, queuing it.");
queueTask([this, protectedThis = makeRef(*this), response] {
didReceiveResponse(response);
});
@@ -116,7 +117,7 @@
return;
if (m_waitingForCompletionHandler) {
- WTFLogAlways("Received data during response processing, queuing it.");
+ RELEASE_LOG(Loading, "Received data during response processing, queuing it.");
Vector<uint8_t> dataVector;
dataVector.append(data, size);
queueTask([this, protectedThis = makeRef(*this), dataVector = WTFMove(dataVector)] {