Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Conversation

@semenko
Copy link
Contributor

@semenko semenko commented Mar 28, 2014

(For issue #12)

This refactors & optimizes the old redirect counter.

The redirect counter exits to catch infinite HTTPS <-> HTTP loops. The old counter
was messy, constantly churning a small array of requestIds. I think it was written
before the new API call: onBeforeRedirect.

(The old counter also generated a lot of orphan entries, e.g. when another
extension or the browser itself aborted requests / redirected to about:blank.)

Signed-off-by: Nick Semenkovich semenko@alum.mit.edu

(For issue #12)

This refactors & optimizes the old redirect counter.

The redirect counter exits to catch infinite HTTPS <-> HTTP loops. The old counter
was messy, constantly churning a small array of requestIds. I think it was written
before the new API call: onBeforeRedirect.

(The old counter also generated a lot of orphan entries, e.g. when another
extension or the browser itself aborted requests / redirected to about:blank.)

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
diracdeltas added a commit that referenced this pull request Apr 4, 2014
Chrome: Streamline redirect counter
@diracdeltas diracdeltas merged commit 2109d2b into EFForg:master Apr 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants