Bug 211266 - REGRESSION (r258994): Prevents diagnostic logging of network resource loads
Summary: REGRESSION (r258994): Prevents diagnostic logging of network resource loads
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on: 209522
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-30 16:31 PDT by Brent Fulgham
Modified: 2022-10-10 16:08 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.93 KB, patch)
2020-04-30 16:35 PDT, Brent Fulgham
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2020-04-30 16:31:14 PDT
The change in r258994 was too heavy-handed. Although the SPI is called "_allowSensitiveLogging", it actually prevents any network logging.

We need to hold off on adopting this until it is revised to only address sensitive load logging.
Comment 1 Brent Fulgham 2020-04-30 16:33:59 PDT
<rdar://problem/62461099>
Comment 2 Brent Fulgham 2020-04-30 16:35:09 PDT
Created attachment 398121 [details]
Patch
Comment 3 Brent Fulgham 2020-05-01 09:42:16 PDT
After speaking with Maciej, we will do this another way.
Comment 4 Brent Fulgham 2020-05-01 16:14:17 PDT
We spoke again, and will take this change, but we need to hold off until a blocking bug is fixed.
Comment 5 Brent Fulgham 2020-05-01 16:14:37 PDT
Note: Holding for <rdar://problem/62727212> to be landed.
Comment 6 Maciej Stachowiak 2020-05-01 23:53:21 PDT
Comment on attachment 398121 [details]
Patch

Maybe this is a stretch, but is it possible to make an API test that verifies that logging happens when it's supposed to (and not when it isn't supposed to, i.e. private browsing)?

In any case, r=me
Comment 7 Brent Fulgham 2020-05-07 15:35:25 PDT
(In reply to Brent Fulgham from comment #5)
> Note: Holding for <rdar://problem/62727212> to be landed.

Actually, it's <rdar://problem/62901456> we are holding for.
Comment 8 Ahmad Saleem 2022-10-10 14:44:15 PDT
Checking by BugID, it seems this r+ patch didn't landed. Do we need this now? Thanks!
Comment 9 Brent Fulgham 2022-10-10 16:08:40 PDT
Oh! The relevant changes landed in https://trac.webkit.org/changeset/262332/webkit, after coordinating with the CFNetwork changes needed here.

We can close this.

The fix shipped back in 2020.