Extension causes Angular pages to fail to load after javascript redirect #290
Description
The attached zip contains two simple pages, start.htm and land.htm. Start.htm redirects the browser to land.htm using javascript (window.location.assign()
). Land.htm is a simple angular page that displays a message as to whether angular is successfully loaded or not.
If you open Land.htm directly, it works as expected in any browser (you'll see the "Angular is loaded" text).
If you open start.htm in IE11, or in Chrome with Batarang disabled, you are redirected to land.htm, and you'll see the "Angular is loaded" text - expected behavior.
In Chrome with the AngularJS Batarang extension enabled, and with these pages served from an HTTP server, if you view the start.htm page, you are redirected to land.htm, and you see the "Angular is not loaded" message.
I wasted quite a while figuring out why angular was not loading after a redirect, and it turned out to be caused by this extension.