RESOLVED FIXED 226511
Add log when creating NSURLSession that will not accept cookies
https://bugs.webkit.org/show_bug.cgi?id=226511
Summary Add log when creating NSURLSession that will not accept cookies
Alex Christensen
Reported 2021-06-01 13:24:43 PDT
Add log when creating NSURLSession that will not accept cookies
Attachments
Patch (2.12 KB, patch)
2021-06-01 13:25 PDT, Alex Christensen
no flags
Patch (2.15 KB, patch)
2021-06-01 13:32 PDT, Alex Christensen
no flags
Patch (2.16 KB, patch)
2021-06-01 15:54 PDT, Alex Christensen
no flags
Patch (2.00 KB, patch)
2021-06-21 11:33 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2021-06-01 13:25:04 PDT
Alex Christensen
Comment 2 2021-06-01 13:25:07 PDT
Chris Dumez
Comment 3 2021-06-01 13:26:41 PDT
Comment on attachment 430285 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=430285&action=review > Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:1310 > + RELEASE_LOG_INFO(NetworkSession, "Creating network session that will not accept cookies."); Why RELEASE_LOG_INFO() and not a simple RELEASE_LOG()? Also, shouldn't this print the sessionID (or some kind of ID so we can identify the session)?
Alex Christensen
Comment 4 2021-06-01 13:32:25 PDT
Chris Dumez
Comment 5 2021-06-01 14:36:27 PDT
Comment on attachment 430288 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=430288&action=review > Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:1310 > + RELEASE_LOG(NetworkSession, "Creating network session with ID %llu that will not accept cookies.", m_sessionID.toUInt64()); We should probably use PRIu64 even if this is a cocoa file.
Alex Christensen
Comment 6 2021-06-01 15:54:47 PDT
youenn fablet
Comment 7 2021-06-02 07:12:35 PDT
Comment on attachment 430301 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=430301&action=review > Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:1310 > + RELEASE_LOG(NetworkSession, "Creating network session with ID %" PRIu64 " that will not accept cookies.", m_sessionID.toUInt64()); RELEASE_LOG_IF?
Alex Christensen
Comment 8 2021-06-21 11:33:47 PDT
Alex Christensen
Comment 9 2021-06-21 11:44:24 PDT
Note You need to log in before you can comment on or make changes to this bug.