Fix improperly initialized counter

Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1167

Related commit:
- feabfe3793
This commit is contained in:
Raymond Hill 2020-07-19 09:01:45 -04:00
parent c33de41660
commit fb0a442a9a
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -251,9 +251,9 @@ const PageStore = class {
this.internalRedirectionCount = 0; this.internalRedirectionCount = 0;
this.extraData.clear(); this.extraData.clear();
this.frameAddCount = 0;
this.frames = new Map(); this.frames = new Map();
this.setFrame(0, tabContext.rawURL); this.setFrame(0, tabContext.rawURL);
this.frameAddCount = 0;
// The current filtering context is cloned because: // The current filtering context is cloned because:
// - We may be called with or without the current context having been // - We may be called with or without the current context having been