Better TestWindow support (#3876)

Adding guest roles led us down a rabbit hole where we'd have liked to
rely on a
side-effect of activating a window in tests; but the test window didn't
implement that.

Looking into that, I realized our TestWindow wasn't doing a great job of
emulating the MacWindow, so this makes the two more similar.
df0076a4ebConrad Irwin committed on 1/5/2024, 4:59:48 PM· committed by GitHubparentsea43d7a06ab986
7 files changedLine totals unavailable