Steps to reproduce: 1. Go to any page with a video in it (example https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video) 2. Play the video 3. Click the fullscreen control 4. Crash :( This is 100% reproducible on my machine. I'm on a MacBook Air M1, on the Monterey Beta (21A5534d) and STP Release 133 (Safari 15.4, WebKit 17613.1.2.2). This has been going on for a couple of STP versions but I forgot to write down when it started.
Created attachment 440024 [details] Crash report
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSScreen _safeAreaFrame]: unrecognized selector sent to instance 0x14395d640' terminating with uncaught exception of type NSException
rdar://82794355 We've been unable to reproduce this so far. Could you by any chance isolate this any further? E.g does this happen with extensions disabled? Are you using multiple displays, and if so, does it happen with only the built in display?
I believe STP is trying to use a symbol that is not present in 21A5534d.
Ah yes. WebKit needs a runtime check for it.
I can reproduce it with extensions disabled, with one and multiple displays (built-in or external)
Seems like it is fixed in the Monterey RC.