Changeset 250897 in webkit


Ignore:
Timestamp:
Oct 9, 2019 12:20:56 AM (5 years ago)
Author:
Carlos Garcia Campos
Message:

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):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r250896 r250897  
     12019-10-09  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        CustomProtocols: convert log messages in WebURLSchemeTaskProxy to RELEASE_LOG
     4        https://bugs.webkit.org/show_bug.cgi?id=202686
     5
     6        Reviewed by Alex Christensen.
     7
     8        Instead of using WTFLogAlways, since those messages are confusing on stdout.
     9
     10        * WebProcess/WebPage/WebURLSchemeTaskProxy.cpp:
     11        (WebKit::WebURLSchemeTaskProxy::didPerformRedirection):
     12        (WebKit::WebURLSchemeTaskProxy::didReceiveResponse):
     13        (WebKit::WebURLSchemeTaskProxy::didReceiveData):
     14
    1152019-10-09  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp

    r247787 r250897  
    2727#include "WebURLSchemeTaskProxy.h"
    2828
     29#include "Logging.h"
    2930#include "URLSchemeTaskParameters.h"
    3031#include "WebCoreArgumentCoders.h"
     
    7475        // We do want to know if WebKit would have generated a request that differs from the suggested request, though.
    7576        if (request.url() != originalRequest.url())
    76             WTFLogAlways("Redirected scheme task would have been sent to a different URL.");
     77            RELEASE_LOG(Loading, "Redirected scheme task would have been sent to a different URL.");
    7778
    7879        processNextPendingTask();
     
    8081   
    8182    if (m_waitingForCompletionHandler) {
    82         WTFLogAlways("Received redirect during previous redirect processing, queuing it.");
     83        RELEASE_LOG(Loading, "Received redirect during previous redirect processing, queuing it.");
    8384        queueTask([this, protectedThis = makeRef(*this), redirectResponse = WTFMove(redirectResponse), request = WTFMove(request)]() mutable {
    8485            didPerformRedirection(WTFMove(redirectResponse), WTFMove(request));
     
    9495{
    9596    if (m_waitingForCompletionHandler) {
    96         WTFLogAlways("Received response during redirect processing, queuing it.");
     97        RELEASE_LOG(Loading, "Received response during redirect processing, queuing it.");
    9798        queueTask([this, protectedThis = makeRef(*this), response] {
    9899            didReceiveResponse(response);
     
    117118
    118119    if (m_waitingForCompletionHandler) {
    119         WTFLogAlways("Received data during response processing, queuing it.");
     120        RELEASE_LOG(Loading, "Received data during response processing, queuing it.");
    120121        Vector<uint8_t> dataVector;
    121122        dataVector.append(data, size);
Note: See TracChangeset for help on using the changeset viewer.