Changeset 279352 in webkit
- Timestamp:
- Jun 28, 2021, 4:56:54 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r279351 r279352 1 2021-06-28 Brent Fulgham <bfulgham@apple.com> 2 3 REGRESSION (r279305) [Mac DEBUG] 4 SOAuthorizationRedirect Tests are Crashing with Assert: !m_sheetWindow 4 https://bugs.webkit.org/show_bug.cgi?id=227454 5 <rdar://problem/79871423> 6 7 Reviewed by Kate Cheney. 8 9 The new assertion is wrong in the case that the app is hidden. When minimized (or hidden) we need to remember 10 to dismiss the sheet once Cocoa restores the app to visible state. So the m_sheetWindow may still exist after 11 returning from 'dismissViewController'. We should assert that either m_sheetWindow is nullptr, or that both 12 m_sheetWindow and m_sheetWindowWillCloseObserver exist. 13 14 * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: 15 (WebKit::SOAuthorizationSession::becomeCompleted): 16 1 17 2021-06-28 Kate Cheney <katherine_cheney@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm
r279305 r279352 151 151 dismissViewController(); 152 152 #if PLATFORM(MAC) 153 ASSERT(!m_sheetWindow );153 ASSERT(!m_sheetWindow || (m_sheetWindow && m_sheetWindowWillCloseObserver)); 154 154 #endif 155 155 }
Note:
See TracChangeset
for help on using the changeset viewer.