Summary: | Improve NetworkResourceLoader logging so it can be used for 'setCookiesFromDOM' | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||||||
Component: | WebKit Misc. | Assignee: | Brent Fulgham <bfulgham> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | bfulgham, cdumez, commit-queue, webkit-bug-importer, wilander | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Brent Fulgham
2018-02-02 16:53:03 PST
Created attachment 333020 [details]
Patch
Created attachment 333093 [details]
Patch
Comment on attachment 333093 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=333093&action=review r=me with comment > Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:713 > +bool NetworkResourceLoader::shouldLogCookieInformation() Why did you drop the const? Seems like a method that should be const. Created attachment 333095 [details]
Patch for landing
Comment on attachment 333093 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=333093&action=review >> Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:713 >> +bool NetworkResourceLoader::shouldLogCookieInformation() > > Why did you drop the const? Seems like a method that should be const. I made this a static method on the object, so it cannot be const anymore. Note: The patch failed to build on iOS because the new logging was not guarded by the RELEASE_LOG_DISABLED macro. I've fixed that in the patch for landing. Committed r228111: <https://trac.webkit.org/changeset/228111> |