mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Fix potentially reporting wrong context in logger for ghide
filters
Related discussion: - https://github.com/uBlockOrigin/uAssets/issues/3100#issuecomment-996750389
This commit is contained in:
parent
2576a991e5
commit
edab87b4bc
@ -242,6 +242,7 @@ const FrameStore = class {
|
|||||||
.duplicate()
|
.duplicate()
|
||||||
.fromTabId(tabId)
|
.fromTabId(tabId)
|
||||||
.setURL(this.rawURL)
|
.setURL(this.rawURL)
|
||||||
|
.setDocOriginFromURL(this.rawURL)
|
||||||
.setRealm('network')
|
.setRealm('network')
|
||||||
.setType('specifichide')
|
.setType('specifichide')
|
||||||
.setFilter(staticNetFilteringEngine.toLogData())
|
.setFilter(staticNetFilteringEngine.toLogData())
|
||||||
@ -261,6 +262,7 @@ const FrameStore = class {
|
|||||||
.duplicate()
|
.duplicate()
|
||||||
.fromTabId(tabId)
|
.fromTabId(tabId)
|
||||||
.setURL(this.rawURL)
|
.setURL(this.rawURL)
|
||||||
|
.setDocOriginFromURL(this.rawURL)
|
||||||
.setRealm('network')
|
.setRealm('network')
|
||||||
.setType('generichide')
|
.setType('generichide')
|
||||||
.setFilter(staticNetFilteringEngine.toLogData())
|
.setFilter(staticNetFilteringEngine.toLogData())
|
||||||
|
Loading…
Reference in New Issue
Block a user