mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 00:42:45 +01:00
Fix top document partyness
Reported internally.
Regression from:
- 1e2eb037e5
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/760
This commit is contained in:
parent
ba57cdd096
commit
c75b27c052
@ -147,11 +147,11 @@ const FilteringContext = class {
|
||||
// assume the origin of the context is the same as the request itself.
|
||||
fromWebrequestDetails(details) {
|
||||
const tabId = details.tabId;
|
||||
this.fromTabId(tabId);
|
||||
this.type = details.type;
|
||||
if ( this.itype === MAIN_FRAME && tabId > 0 ) {
|
||||
µBlock.tabContextManager.push(tabId, details.url);
|
||||
}
|
||||
this.fromTabId(tabId); // Must be called AFTER tab context management
|
||||
this.realm = '';
|
||||
this.id = details.requestId;
|
||||
this.setURL(details.url);
|
||||
|
Loading…
Reference in New Issue
Block a user