Enable PCM debug mode per WebsiteDataStore instead of process-global
Created attachment 439903 [details] Patch
Created attachment 439977 [details] Patch
Comment on attachment 439977 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=439977&action=review LGTM > Source/WebKit/NetworkProcess/NetworkSession.cpp:431 > + auto message = enabled ? "[Private Click Measurement] Turned Debug Mode on."_s : "[Private Click Measurement] Turned Debug Mode off."_s; Seems like there was an isEphemeral() check in the previous code that got lost here, not sure how important that is.
Comment on attachment 439977 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=439977&action=review >> Source/WebKit/NetworkProcess/NetworkSession.cpp:431 >> + auto message = enabled ? "[Private Click Measurement] Turned Debug Mode on."_s : "[Private Click Measurement] Turned Debug Mode off."_s; > > Seems like there was an isEphemeral() check in the previous code that got lost here, not sure how important that is. Yeah, it's just for broadcasting debug messages to the web inspector, and we now only broadcast to the current session, which effectively does the same thing.
Comment on attachment 439977 [details] Patch http://trac.webkit.org/r283504
<rdar://problem/83843839>
I manually verified this on macOS.
I manually verified this on iOS also.