DescriptionFix NativeWidgetMacTest.HideAndShowExternally
This regressed in r308886 because the unit test changed from having no
activation policy to having a "Regular" activation policy.
With a regular activation policy, calls to [NSApp hide/show*:] are
asynchronous, so the run loop needs to be flushed afterwards.
Also adds an extra check for [NSWindow makeKeyAndOrderFront:]. It
doesn't need a runloop flush for the visibility change, but it should
have coverage anyway.
BUG=378134
Committed: https://crrev.com/bc8f60252ea3b2a1d53cd058c32ae99d8d1d0ad8
Cr-Commit-Position: refs/heads/master@{#309478}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix comment #Messages
Total messages: 8 (2 generated)
|