If you can still see this text, then the test of window.open(URL, "_self") has failed.