From fb0a442a9ab7b6ae22c20a18a52cc24a15e9da40 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 19 Jul 2020 09:01:45 -0400 Subject: [PATCH] Fix improperly initialized counter Related discussion: - https://github.com/uBlockOrigin/uBlock-issues/issues/1167 Related commit: - https://github.com/gorhill/uBlock/commit/feabfe379331c6e4366e104e36c41a4e88221733 --- src/js/pagestore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/pagestore.js b/src/js/pagestore.js index 9f51aecb0..c086352be 100644 --- a/src/js/pagestore.js +++ b/src/js/pagestore.js @@ -251,9 +251,9 @@ const PageStore = class { this.internalRedirectionCount = 0; this.extraData.clear(); + this.frameAddCount = 0; this.frames = new Map(); this.setFrame(0, tabContext.rawURL); - this.frameAddCount = 0; // The current filtering context is cloned because: // - We may be called with or without the current context having been