1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02:00

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