You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix bug: forging event.source mutated the shared Event object, so the forged value leaked
to every message listener registered after ours. libraries identifying their own iframe
with event.source == iframe.contentWindow ( e.g. recaptcha ) then ignored their own
messages and hung. the event is now left untouched and the callback gets a proxied view.
this applies to both addEventListener and onmessage.
fix bug: the options argument ( capture / once / passive / signal ) of addEventListener
and removeEventListener was dropped by the wrapper.