This is because we have an accelerator to stop loading when ESC is pressed, but it's always enabled. The key press is always consumed by the accel and never passed to the view.
Pull request: https://github.com/WebKit/WebKit/pull/13098
Committed 263308@main (ba351310fb37): <https://commits.webkit.org/263308@main> Reviewed commits have been landed. Closing PR #13098 and removing active labels.