Commit Graph
84 Commits
Author SHA1 Message Date
Tim Huang 76ccc02a1a Bug 2038663 - Part 3: Move classifier blocking error code helpers into ChannelClassifierUtils. r=bvandersloot,media-playback-reviewers,firefox-style-system-reviewers,aosmond,emilio
This patch moves the BlockingErrorCode table and the
IsClassifierBlockingErrorCode / IsClassifierBlockingEventCode /
GetClassifierBlockingEventCode / ClassifierBlockingErrorCodeToConsoleMessage
helpers from UrlClassifierFeatureFactory into ChannelClassifierUtils so the
latter no longer needs to depend on UrlClassifierFeatureFactory.h.

Differential Revision: https://phabricator.services.mozilla.com/D301722
2026-05-22 07:58:00 +00:00
Benjamin VanderSloot 1307fd9f28 Bug 2030021, part 1 - Split classifier features into those that affect blocking and don't - r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D298548
2026-05-11 15:30:09 +00:00
Sylvestre Ledru a22215a2f9 Bug 2023419 - Remove Emacs/Vim modelines from netwerk/ r=emilio,cookie-reviewers,valentin
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287861
2026-03-17 12:06:31 +00:00
Tim Huang 2e68af85cd Bug 2010020 - Part 2: Implement the real time look up infra. r=dimi
Introduce real-time SafeBrowsing lookup infrastructure. Refactor hash completion
handling by extracting nsUrlClassifierHashCompleterBase as a common base class.
Add nsUrlClassifierRealTimeLookupHandler to manage real-time lookups,
which first checks the global cache then falls back to local list lookup with
hash completion.

Differential Revision: https://phabricator.services.mozilla.com/D279882
2026-02-18 19:21:20 +00:00
Tim Huang 6661aabcc9 Bug 2010020 - Part 1: Introduce the UrlClassifierFeatureGlobalCache. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D279881
2026-02-18 19:21:17 +00:00
Cristina Horotan dc3868012a Revert "Bug 2010024, Bug 2010023, Bug 2010022, Bug 2010020 - Add a Nimbus feature to control SafeBrowsing V5 real-time mode. r=dimi" for causing bc failures on browser_realtime_lookup.js
This reverts commit 25f0b01591.

Revert "Bug 2010023 - Add telemetry for measuring the real-time traffic. r=dimi"

This reverts commit 3e5168aef5.

Revert "Bug 2010022 - Part 2: Add tests. r=dimi"

This reverts commit 9ab390fdd7.

Revert "Bug 2010022 - Part 1: Introduce the RealTimeRequestSimulator. r=dimi"

This reverts commit 718aba4a26.

Revert "Bug 2010020 - Part 3: Add a test. r=dimi"

This reverts commit 5f58730271.

Revert "Bug 2010020 - Part 2: Implement the real time look up infra. r=dimi"

This reverts commit a110d83e75.

Revert "Bug 2010020 - Part 1: Introduce the UrlClassifierFeatureGlobalCache. r=dimi"

This reverts commit 3ee12f3d0e.
2026-02-18 14:14:42 +00:00
Tim Huang a110d83e75 Bug 2010020 - Part 2: Implement the real time look up infra. r=dimi
Introduce real-time SafeBrowsing lookup infrastructure. Refactor hash completion
handling by extracting nsUrlClassifierHashCompleterBase as a common base class.
Add nsUrlClassifierRealTimeLookupHandler to manage real-time lookups,
which first checks the global cache then falls back to local list lookup with
hash completion.

Differential Revision: https://phabricator.services.mozilla.com/D279882
2026-02-18 11:39:28 +00:00
Tim Huang 3ee12f3d0e Bug 2010020 - Part 1: Introduce the UrlClassifierFeatureGlobalCache. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D279881
2026-02-18 11:39:25 +00:00
Cosmin Sabou a9088758ea Revert "Bug 2010020, Bug 2010022, Bug 2010023, Bug 2010024 - Add a Nimbus feature to control SafeBrowsing V5 real-time mode. r=dimi" for causing build bustages
This reverts commit e7a7788a00.

Revert "Bug 2010023 - Add telemetry for measuring the real-time traffic. r=dimi"

This reverts commit a9c96eeafe.

Revert "Bug 2010022 - Part 2: Add tests. r=dimi"

This reverts commit 849d25e194.

Revert "Bug 2010022 - Part 1: Introduce the RealTimeRequestSimulator. r=dimi"

This reverts commit ad5e64a055.

Revert "Bug 2010020 - Part 3: Add a test. r=dimi"

This reverts commit 28106bbbec.

Revert "Bug 2010020 - Part 2: Implement the real time look up infra. r=dimi"

This reverts commit d2b89d5a1b.

Revert "Bug 2010020 - Part 1: Introduce the UrlClassifierFeatureGlobalCache. r=dimi"

This reverts commit 178852ef74.
2026-02-17 17:08:00 +00:00
Tim Huang d2b89d5a1b Bug 2010020 - Part 2: Implement the real time look up infra. r=dimi
Introduce real-time SafeBrowsing lookup infrastructure. Refactor hash completion
handling by extracting nsUrlClassifierHashCompleterBase as a common base class.
Add nsUrlClassifierRealTimeLookupHandler to manage real-time lookups,
which first checks the global cache then falls back to local list lookup with
hash completion.

Differential Revision: https://phabricator.services.mozilla.com/D279882
2026-02-17 16:32:33 +00:00
Tim Huang 178852ef74 Bug 2010020 - Part 1: Introduce the UrlClassifierFeatureGlobalCache. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D279881
2026-02-17 16:32:30 +00:00
Lando d6a3a654e4 Bug 1986320: apply code formatting via Lando
# ignore-this-changeset
2025-12-04 01:27:15 +00:00
Andrea Marchesini 22df59379f Bug 1986320 - Implement an add-on block URL-Classifier feature - part 1, r=dimi,geckoview-reviewers,extension-reviewers,tcampbell,robwu
Differential Revision: https://phabricator.services.mozilla.com/D263290
2025-12-04 01:26:46 +00:00
Cristian Tuns c99c271730 Revert "Bug 1986320: apply code formatting via Lando" for causing lint failures in browser_ext_urlclassifier.js
This reverts commit 8c2c577a03.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 6 - Mobile r=geckoview-reviewers,android-reviewers,geckoview-api-reviewers,tcampbell,ohall"

This reverts commit 7b0c7db7c3.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 5 - Block top-level documents when loaded by add-ons, r=extension-reviewers,dimi,fluent-reviewers,robwu,bolsson,android-reviewers,android-l10n-reviewers,delphine,tcampbell"

This reverts commit 9a058ba0d5.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 4 - Expose the URLClassifier addon feature to non-recommended addons only, r=zombie"

This reverts commit 41e8a464d9.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 3 - devtool support, r=devtools-reviewers,dimi,devtools-backward-compat-reviewers,bomsy"

This reverts commit c0f866931b.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 2 - telemetry, r=dimi,extension-reviewers,robwu"

This reverts commit 1bdba2f426.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 1, r=dimi,geckoview-reviewers,extension-reviewers,tcampbell,robwu"

This reverts commit f1a3613f44.
2025-12-03 19:15:17 +00:00
Lando 8c2c577a03 Bug 1986320: apply code formatting via Lando
# ignore-this-changeset
2025-12-03 18:48:37 +00:00
Andrea Marchesini f1a3613f44 Bug 1986320 - Implement an add-on block URL-Classifier feature - part 1, r=dimi,geckoview-reviewers,extension-reviewers,tcampbell,robwu
Differential Revision: https://phabricator.services.mozilla.com/D263290
2025-12-03 18:47:25 +00:00
iulian moraru a5862a7e70 Revert "Bug 1999177 - Support cursor scroll in the composable toolbar r=android-reviewers,moyin" for causing linting failures on browser_ext_urlclassifier.js.
This reverts commit ae35529fab.

Revert "Bug 1986320: apply code formatting via Lando"

This reverts commit 768f3614ff.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 5 - Block top-level documents when loaded by add-ons, r=extension-reviewers,dimi,fluent-reviewers,robwu,bolsson,android-reviewers,android-l10n-reviewers,delphine,tcampbell"

This reverts commit 5f2e690d2b.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 4 - Expose the URLClassifier addon feature to non-recommended addons only, r=zombie"

This reverts commit 1e7b1753d4.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 3 - devtool support, r=devtools-reviewers,dimi,devtools-backward-compat-reviewers,bomsy"

This reverts commit 928a253e9e.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 2 - telemetry, r=dimi,extension-reviewers,robwu"

This reverts commit 2a13eb6ec3.

Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 1, r=dimi,geckoview-reviewers,extension-reviewers,tcampbell,robwu"

This reverts commit 1ef88130d9.
2025-12-03 10:26:32 +00:00
Lando 768f3614ff Bug 1986320: apply code formatting via Lando
# ignore-this-changeset
2025-12-03 09:48:10 +00:00
Andrea Marchesini 1ef88130d9 Bug 1986320 - Implement an add-on block URL-Classifier feature - part 1, r=dimi,geckoview-reviewers,extension-reviewers,tcampbell,robwu
Differential Revision: https://phabricator.services.mozilla.com/D263290
2025-12-03 09:47:47 +00:00
William Wen 5b88f8b7ab Bug 1962092 - Add antifraud annotation feature. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D247535
2025-06-17 14:36:00 +00:00
agoloman eeda2a676a Revert Bug 1962092 - for causing bc failures @browser_emailtracking_telemetry.js.
This reverts commit ef16c3f97c.

Revert "Bug 1962092 - Add tracking protection skip for anti-fraud feature. r=timhuang"

This reverts commit 2404b29b7f.

Revert "Bug 1962092 - Add antifraud annotation feature. r=timhuang"

This reverts commit 2d2deb7533.

Revert "Bug 1962092 - Add flags and prefs for antifraud list feature. r=timhuang,extension-reviewers,robwu"

This reverts commit b18b06376e.
2025-05-23 05:09:21 +00:00
William Wen 2d2deb7533 Bug 1962092 - Add antifraud annotation feature. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D247535
2025-05-23 03:51:21 +00:00
Cristina Horotan 8330dc520f Revert "Bug 1962092 - Add test for anti-fraud annotation. r=timhuang" fro causing bc failures at browser_antifraud_annotation.js
This reverts commit 552f52e9f2.
2025-05-21 20:14:42 +00:00
William Wen 2d5103235a Bug 1962092 - Add antifraud annotation feature. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D247535
2025-05-21 18:44:42 +00:00
gautam-panakkal ce706cfda0 Bug 1640117 - update console warnings to state 'enhanced tracking protection' instead of 'content blocking' r=emz,necko-reviewers,devtools-reviewers,flod,anti-tracking-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D243023
2025-04-14 12:03:05 +00:00
William Wen a51e62a348 Bug 1950984 - Add consent manager annotation feature. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D241467
2025-03-25 14:58:20 +00:00
Benjamin VanderSloot 6e743bc762 Bug 1940904 - Add IPC to test trackers in Client process without nsIURIClassifierFeature - r=timhuang,anti-tracking-reviewers
That's how the other IPC used to work until ~*~refactoring~*~ removed it

Differential Revision: https://phabricator.services.mozilla.com/D238273
2025-02-19 17:23:13 +00:00
Benjamin VanderSloot 12fc4abe37 Bug 1940904 - Add telemetry for storage access grants to trackers - r=timhuang,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D235346
2025-02-19 17:23:12 +00:00
Benjamin VanderSloot 2c2168d6eb Bug 1940904 - Add IPC to test trackers in Client process without nsIURIClassifierFeature - r=timhuang,anti-tracking-reviewers
That's how the other IPC used to work until ~*~refactoring~*~ removed it

Differential Revision: https://phabricator.services.mozilla.com/D238273
2025-02-19 13:46:29 +00:00
Benjamin VanderSloot 143fcee2ec Bug 1940904 - Add telemetry for storage access grants to trackers - r=timhuang,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D235346
2025-02-19 13:46:29 +00:00
Norisz Fay a454ce8f9c Backed out changeset f00508a9725b (bug 1940904) for causing mochitest failures on UrlClassifierFeatureEmailTrackingProtection.cpp CLOSED TREE 2025-02-13 18:51:46 +02:00
Benjamin VanderSloot 801e52f69a Bug 1940904 - Add telemetry for storage access grants to trackers - r=timhuang,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D235346
2025-02-13 15:35:25 +00:00
Stanca Serban 9915d1a5c6 Backed out 2 changesets (bug 1940904) for causing build bustages in StorageAccessAPIHelper.cpp. CLOSED TREE
Backed out changeset 5d9ca7eb41d8 (bug 1940904)
Backed out changeset 2a7fdc530e19 (bug 1940904)
2025-02-13 00:40:15 +02:00
Benjamin VanderSloot 7864e806cf Bug 1940904 - Add telemetry for storage access grants to trackers - r=timhuang,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D235346
2025-02-12 18:27:02 +00:00
serge-sans-paille 430e35e093 Bug 1921269 - Remove global constructor from netwerk/url-classifier/UrlClassifierFeatureFactory.cpp r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D223862
2024-10-03 06:55:06 +00:00
Sandor Molnar 48acafccc3 Backed out 6 changesets (bug 1921341, bug 1921268, bug 1921270, bug 1921269, bug 1921267, bug 1921276) for causing build bustages @ gfxSVGGlyphs.h CLOSED TREE
Backed out changeset 2a5d5e7e863b (bug 1921341)
Backed out changeset 86df2445ee83 (bug 1921276)
Backed out changeset bf1b223af380 (bug 1921270)
Backed out changeset 4cdbd2521712 (bug 1921269)
Backed out changeset 6bb5d64f664a (bug 1921267)
Backed out changeset 7ec43f4b07ff (bug 1921268)
2024-10-03 02:05:13 +03:00
serge-sans-paille bac802e381 Bug 1921269 - Remove global constructor from netwerk/url-classifier/UrlClassifierFeatureFactory.cpp r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D223862
2024-10-02 19:41:39 +00:00
Butkovits Atila bc3492892e Backed out 6 changesets (bug 1921267, bug 1921270, bug 1921269, bug 1921276, bug 1921268, bug 1921341) for causing bustages at WheelHandlingHelper.cpp.
Backed out changeset d9054241c1f4 (bug 1921341)
Backed out changeset 5b4ba445b189 (bug 1921276)
Backed out changeset 6497eb64ef2a (bug 1921270)
Backed out changeset 9c39218f7372 (bug 1921269)
Backed out changeset 2d5d640c060d (bug 1921267)
Backed out changeset 7b068aede249 (bug 1921268)
2024-10-01 15:17:46 +03:00
serge-sans-paille 566d19fb11 Bug 1921269 - Remove global constructor from netwerk/url-classifier/UrlClassifierFeatureFactory.cpp r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D223862
2024-10-01 09:09:38 +00:00
Sergey Galich 3f47b8e5e9 Bug 1862410 - Removing unused LoginReputation service and updating link to Chromium's safe browsing protobuf r=dimi,webdriver-reviewers,perftest-reviewers,devtools-reviewers,geckoview-reviewers,jonalmeida,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192464
2023-11-06 19:13:09 +00:00
Tim Huang 40e65ddccf Bug 1773701 - Part 2: Implement the email tracking data collection feature. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151522
2022-07-19 20:04:24 +00:00
Cosmin Sabou 6f14d4b196 Backed out 4 changesets (bug 1773701) for causing hybrid build bustages. CLOSED TREE
Backed out changeset 8ec2108b4a5b (bug 1773701)
Backed out changeset 2d2f3f95544d (bug 1773701)
Backed out changeset 8d3727e19ade (bug 1773701)
Backed out changeset fab41f0c857f (bug 1773701)
2022-07-19 18:45:05 +03:00
Tim Huang c96ce464bd Bug 1773701 - Part 2: Implement the email tracking data collection feature. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151522
2022-07-19 14:46:08 +00:00
Tim Huang bfb1d45e20 Bug 1773695 - Part 3: Implement email tracking url classifier feature. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151050
2022-07-18 21:48:15 +00:00
Tim Huang f291957fa1 Bug 1773695 - Part 2: Add flags for the email tracking protections. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151049
2022-07-18 21:48:15 +00:00
criss 484b56d791 Backed out 6 changesets (bug 1773691, bug 1773695) for causing Bp-hybrid bustages on UrlClassifierFeatureEmailTrackingProtection
Backed out changeset f402f1bd4caa (bug 1773695)
Backed out changeset 001c38822c53 (bug 1773695)
Backed out changeset 8ef4d3597d92 (bug 1773695)
Backed out changeset f4770b2fe53d (bug 1773695)
Backed out changeset fb625ae08f73 (bug 1773695)
Backed out changeset 6c23adf9184f (bug 1773691)
2022-07-14 23:41:50 +03:00
Tim Huang f528b7afcb Bug 1773695 - Part 3: Implement email tracking url classifier feature. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151050
2022-07-14 19:39:32 +00:00
Tim Huang 40d8e7499d Bug 1773695 - Part 2: Add flags for the email tracking protections. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151049
2022-07-14 19:39:32 +00:00
Dimi 630aaa8262 Bug 1773043 - Remove flashblock from url-classifier r=timhuang
Depends on D149128

Differential Revision: https://phabricator.services.mozilla.com/D149129
2022-06-15 12:55:25 +00:00
Valentin Gosu d61af52f71 Bug 1733356 - Fix non-unified build errors in netwerk/url-classifier/ r=necko-reviewers,kershaw
Depends on D129498

Differential Revision: https://phabricator.services.mozilla.com/D129499
2021-10-27 08:52:25 +00:00