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
In Chrome sometimes opened window is sharing event loop with the original window, in cases like the same origin or the same parent domain. If one tries to debug one of such windows then others are hanging.
I was wondering whether it is better to rewrite like that:
exportfunctionwindowOpenNoOpenerWithSuccess(url: string): boolean{constnewTab=window.open();// pop-up allowedconstsuccess=!!newTab;// close immediately to avoid renderingnewTab?.close();if(success){// open safely with own event loopwindowOpenNoOpener(url);}returnsuccess;}
Updated: i tried with above and it does not help, Chrome blocks new windows besides first by default.