Skip to content

Commit

Permalink
Fix potentially reporting wrong context in logger for ghide filters
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Dec 17, 2021
1 parent 2576a99 commit edab87b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/pagestore.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ const FrameStore = class {
.duplicate()
.fromTabId(tabId)
.setURL(this.rawURL)
.setDocOriginFromURL(this.rawURL)
.setRealm('network')
.setType('specifichide')
.setFilter(staticNetFilteringEngine.toLogData())
Expand All @@ -261,6 +262,7 @@ const FrameStore = class {
.duplicate()
.fromTabId(tabId)
.setURL(this.rawURL)
.setDocOriginFromURL(this.rawURL)
.setRealm('network')
.setType('generichide')
.setFilter(staticNetFilteringEngine.toLogData())
Expand Down

0 comments on commit edab87b

Please sign in to comment.