A problem with webpage to close and reopen the tab IE 11

829 Views Asked by At

I am getting a problem in react application. On window.location = "url" the IE closes the dev tool if opened and refresh the same page by showing the dialogue message "A problem with webpage to close and reopen the tab". Even if I do window.location = "any other site url" and also for window.location.href.

Sometime it redirect me to res://ieframe.dll/acr_error.htm#,

Browser = IE 11 OS Windows 10

Any suggestion?

Thanks.

1

There are 1 best solutions below

2
vikas dhiman On

Try adding leading slash window.location.assign('/test.php');