Safari escape key bug on macOS

2024-09-02 - bug report

Steps:
- On macOS, open this page in Safari
- "Enter Full Screen" - via green window button or Shift + Cmd + F
- Press the escape key

Expected:
- Fires keydown and keyup for escape key

Actual:
- Does not fire keyup for escape key

You can reproduce the bug with the event logger below: