mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 19:02:30 +01:00
Fix missing partyness in logger when empty domain in resource URL
This commit is contained in:
parent
a668893427
commit
9e89dd4f26
@ -196,13 +196,13 @@ const LogEntry = function(details) {
|
||||
// TODO: Shouldn't this be done in µBlock.filteringContext?
|
||||
// Need to evaluate.
|
||||
if ( this.tabDomain === '' ) {
|
||||
this.tabDomain = this.tabHostname;
|
||||
this.tabDomain = this.tabHostname || '';
|
||||
}
|
||||
if ( this.docDomain === '' ) {
|
||||
this.docDomain = this.docHostname;
|
||||
this.docDomain = this.docHostname || '';
|
||||
}
|
||||
if ( this.domain === '' ) {
|
||||
this.domain = this.hostname;
|
||||
this.domain = details.hostname || '';
|
||||
}
|
||||
};
|
||||
LogEntry.prototype = {
|
||||
|
Loading…
Reference in New Issue
Block a user