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

View file

@ -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