mirror of https://github.com/gorhill/uBlock.git
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?
|
// TODO: Shouldn't this be done in µBlock.filteringContext?
|
||||||
// Need to evaluate.
|
// Need to evaluate.
|
||||||
if ( this.tabDomain === '' ) {
|
if ( this.tabDomain === '' ) {
|
||||||
this.tabDomain = this.tabHostname;
|
this.tabDomain = this.tabHostname || '';
|
||||||
}
|
}
|
||||||
if ( this.docDomain === '' ) {
|
if ( this.docDomain === '' ) {
|
||||||
this.docDomain = this.docHostname;
|
this.docDomain = this.docHostname || '';
|
||||||
}
|
}
|
||||||
if ( this.domain === '' ) {
|
if ( this.domain === '' ) {
|
||||||
this.domain = this.hostname;
|
this.domain = details.hostname || '';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
LogEntry.prototype = {
|
LogEntry.prototype = {
|
||||||
|
|
Loading…
Reference in New Issue