mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Fix missing partyness in logger when empty domain in resource URL
This commit is contained in:
parent
a668893427
commit
9e89dd4f26
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue