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, frameId: createDetails.sourceFrameId,
frameURL: openerDetails[1].url, frameURL: openerDetails[1].url,
popunder: false, popunder: false,
trustedURL: createDetails.tabId === µb.maybeGoodPopup.tabId trustedURL: createDetails.sourceTabId === µb.maybeGoodPopup.tabId
? µb.maybeGoodPopup.url ? µb.maybeGoodPopup.url
: '' : ''
}; };