1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00

Fix potentially missing context in logger for popup entries

Reported internally.
This commit is contained in:
Raymond Hill 2020-12-26 10:15:07 -05:00
parent 8e810832ba
commit b053477087
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -343,7 +343,7 @@
fctxt.setURL(targetURL) fctxt.setURL(targetURL)
.setTabId(openerTabId) .setTabId(openerTabId)
.setTabOriginFromURL(rootOpenerURL) .setTabOriginFromURL(rootOpenerURL)
.setDocOriginFromURL(localOpenerURL); .setDocOriginFromURL(localOpenerURL || rootOpenerURL);
} else { } else {
fctxt.setURL(rootOpenerURL) fctxt.setURL(rootOpenerURL)
.setTabId(targetTabId) .setTabId(targetTabId)