Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

flow: add detection for infinite redirects #342

Open
alex3683 opened this issue Jul 26, 2016 · 1 comment
Open

flow: add detection for infinite redirects #342

alex3683 opened this issue Jul 26, 2016 · 1 comment

Comments

@alex3683
Copy link
Member

It's possible to configure a flow in a way that it starts an infinite redirect loop, ultimately leading to a crash of the whole browser or at least of the active browser tab.
Apart from erroneous configuration of the flow it's also possible to programmatically start an infinite loop by means of a bad sequence of navigateRequest events.
It would be good to detect such an infinite loop and break out of it.

@alex3683
Copy link
Member Author

One possible solution to detect programming errors is to check if the last 10 navigation events tooks place within a few seconds and if that's the case, assume an error. Infinite calls to redirect might be detected in another more deterministic way.

@alex3683 alex3683 modified the milestones: v2.1.0, v2.0.0 Nov 4, 2016
@x1B x1B removed this from the v2.1.0 milestone Nov 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants