-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
implemented: safariImplemented in SafariImplemented in Safarisupportive: chromeSupportive from ChromeSupportive from Chromesupportive: firefoxSupportive from FirefoxSupportive from Firefoxtopic: dnrRelated to declarativeNetRequestRelated to declarativeNetRequest
Description
Description:
I have encountered an issue where the DNR incorrectly applies rule with domainType: thirdParty
, leading to the blocking of direct access to iana.org
when opening it in a new tab, when this is a first-party request. As well as opening this site from example.org
, when it is a true third-party request.
Steps to Reproduce:
- Add test rule (you can do it from test extension)
dummy-extension-chrome.zip
dummy-extension-firefox.zip
{
id: 1,
action: {
type: 'block',
},
condition: {
domainType: 'thirdParty',
urlFilter: 'iana.org',
resourceTypes: ['main_frame', 'sub_frame'],
},
}
- Open a new tab in a browser with address 'iana.org'.
- Observe that the page is blocked.
Expected Behavior:
iana.org
should not be classified as a third-party domain when the user directly accesses it via the address bar.
Actual Behavior:
When accessing iana.org
from address bar, it is being blocked as well as opening it from 'example.com'
Browser Details:
Tested on
- Chrome 131.0.6778.86 (Official Build) (arm64)
- Firefox 133.0 (aarch64)
scripthunter7, kurrx, maximtop and slvvko
Metadata
Metadata
Assignees
Labels
implemented: safariImplemented in SafariImplemented in Safarisupportive: chromeSupportive from ChromeSupportive from Chromesupportive: firefoxSupportive from FirefoxSupportive from Firefoxtopic: dnrRelated to declarativeNetRequestRelated to declarativeNetRequest