Skip to content
This repository was archived by the owner on Feb 9, 2020. It is now read-only.
This repository was archived by the owner on Feb 9, 2020. It is now read-only.

Extension causes Angular pages to fail to load after javascript redirect #290

Open
angular/angular-hint
#120
@johncrim

Description

@johncrim

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.

Batarang hangs Angular.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions