1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

Fix test against opener tab id in popup filtering code

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/774

Regression from:
- f204d24bf4
This commit is contained in:
Raymond Hill 2019-11-04 13:34:44 -05:00
parent ec5191004c
commit 522249bcb5
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -464,7 +464,7 @@ housekeep itself.
frameId: createDetails.sourceFrameId,
frameURL: openerDetails[1].url,
popunder: false,
trustedURL: createDetails.tabId === µb.maybeGoodPopup.tabId
trustedURL: createDetails.sourceTabId === µb.maybeGoodPopup.tabId
? µb.maybeGoodPopup.url
: ''
};