Browser EventLoop prevents window load event from firing when advanced by an async substlecrypto call
Why is it happening and how to fix it? To reproduce comment/uncomment generateKey
call and watch the event handler (you might want to put into a module (which is how I use it) or execute is as part async IIFE – post updated to give the exact repro). The behavior is observed in Chrome v.128.0.6613.138
.