| Summary: | [macOS] Add logging and clean up AppSSO flows | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||||
| Component: | WebKit2 | Assignee: | Brent Fulgham <bfulgham> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ehutchison, ews-watchlist, jiewen_tan, katherine_cheney, kkinnunen, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Brent Fulgham
2021-06-24 16:47:19 PDT
Created attachment 432290 [details]
Patch
Comment on attachment 432290 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=432290&action=review > Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:153 > + AUTHORIZATIONSESSION_RELEASE_LOG("shouldStart: m_page=%p", m_page.get()); If m_page is a weakPtr, could that cause issues trying to log if it is destroyed? > Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:172 > + WTFLogAlways("SOAuthorizationSession::start (getAuthorizationHintsWithURL completion handler): Returning early because weakThis is now null."); Why WTFLogAlways instead of AUTHORIZATIONSESSION_RELEASE_LOG? Created attachment 432297 [details]
Patch
Comment on attachment 432297 [details]
Patch
r=me
Committed r279305 (239181@main): <https://commits.webkit.org/239181@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432297 [details]. It looks like the assert added in https://trac.webkit.org/changeset/279305/webkit caused 4 API test crashes. Tracking in: https://bugs.webkit.org/show_bug.cgi?id=227454 |