1
0
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:
Raymond Hill 2019-01-22 06:13:30 -05:00
parent a668893427
commit 9e89dd4f26
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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 = {