⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 249029 in webkit


Ignore:
Timestamp:
Aug 22, 2019, 2:43:53 PM (7 years ago)
Author:
Keith Rollin
Message:

Remove logging that contains a URL
https://bugs.webkit.org/show_bug.cgi?id=201052
<rdar://problem/54613204>

Reviewed by Chris Dumez.

checkURLReceivedFromWebProcess in WebProcessProxy.cpp contains an old
logging line that logs a URL. We don't log URLs any more for privacy
reasons, so remove this.

A search for WTFLogAlways.*url turns up other matches, but those are
either false positives or cases where the URLs are logged only on
demand by the developer as part of debugging.
checkURLReceivedFromWebProcess is the only place where a URL is logged
as a matter of course.

  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r249022 r249029  
     12019-08-22  Keith Rollin  <krollin@apple.com>
     2
     3        Remove logging that contains a URL
     4        https://bugs.webkit.org/show_bug.cgi?id=201052
     5        <rdar://problem/54613204>
     6
     7        Reviewed by Chris Dumez.
     8
     9        checkURLReceivedFromWebProcess in WebProcessProxy.cpp contains an old
     10        logging line that logs a URL. We don't log URLs any more for privacy
     11        reasons, so remove this.
     12
     13        A search for WTFLogAlways.*url turns up other matches, but those are
     14        either false positives or cases where the URLs are logged only on
     15        demand by the developer as part of debugging.
     16        checkURLReceivedFromWebProcess is the only place where a URL is logged
     17        as a matter of course.
     18
     19        * UIProcess/WebProcessProxy.cpp:
     20        (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
     21
    1222019-08-22  Adrian Perez de Castro  <aperez@igalia.com>
    223
  • trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp

    r248846 r249029  
    559559
    560560    // A Web process that was never asked to load a file URL should not ever ask us to do anything with a file URL.
    561     WTFLogAlways("Received an unexpected URL from the web process: '%s'\n", url.string().utf8().data());
     561    RELEASE_LOG_ERROR(Loading, "Received an unexpected URL from the web process");
    562562    return false;
    563563}
Note: See TracChangeset for help on using the changeset viewer.