Commit graph

1875 commits

Author SHA1 Message Date
Christian Holler
146a80ecff Bug 1783844 - Remove IPC::Principal type remains from codebase. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D154091
2022-08-10 13:39:11 +00:00
Tim Huang
ffc50b974a Bug 1781249 - Part 3: Add a test for testing EMAIL_TRACKER_EMBEDDED_PER_TAB histogram. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D153352
2022-08-04 14:06:39 +00:00
Fabrice Desré
c50cb528fc Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 16:39:41 +00:00
Andreea Pavel
3ccd75af8d Backed out changeset b9d2965591b9 (bug 1761040) for landing with wrong author CLOSED TREE DONTBUILD 2022-08-03 18:55:00 +03:00
Andreea Pavel
fdb7cb2ecd Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 15:27:43 +00:00
Mark Banner
7428be4a86 Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Ryan VanderMeulen
e0fe0f67a9 Bug 1782859 - Update protobuf to version 21.4. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D153547
2022-08-03 03:49:13 +00:00
Dimi
66a89641e4 Bug 1781977 - Remove URLCLASSIFIER_UPDATE_REMOTE_SETTINGS_RESULT telemetry r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D153133
2022-08-02 12:13:23 +00:00
Andreea Pavel
89d63c91e6 Backed out changeset a907159a482f (bug 1761040) for causing build bustages on a CLOSED TREE 2022-08-02 04:59:08 +03:00
Fabrice Desré
0f4ac7ad97 Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-02 00:49:41 +00:00
Joel Maher
bf4b875752 Bug 1781782 - Run frequent xpcshell parallel failing tests sequential by default. r=ahal,necko-reviewers,extension-reviewers,application-update-reviewers,bytesized,rpl,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D153081
2022-07-30 01:33:28 +00:00
Tooru Fujisawa
a032f53a63 Bug 1780543 - Part 5: Add mozilla/chrome-script environment. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D152430
2022-07-26 02:46:30 +00:00
Mark Banner
14708c74a2 Bug 1781028 - Fix xpcshell no-unused-vars warnings in toolkit/components/url-classifier/. r=dimi
Depends on D152624

Differential Revision: https://phabricator.services.mozilla.com/D152625
2022-07-25 15:01:36 +00:00
Mark Banner
8f81dbcff1 Bug 1781027 - Remove unused tests in toolkit/components/url-classifier/tests/unit/test_addsub.js. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D152624
2022-07-25 15:01:35 +00:00
Tim Huang
eb8738dda3 Bug 1773701 - Part 4: Add a test to verify the email tracking telemetry. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151524
2022-07-19 20:04:25 +00:00
Tim Huang
edd54f5806 Bug 1773701 - Part 1: Add email tracking data collection feature to SafeBrowsing.jsm. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151521
2022-07-19 20:04:24 +00:00
Cosmin Sabou
3835f734ac 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
9879eb3b7d Bug 1773701 - Part 4: Add a test to verify the email tracking telemetry. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151524
2022-07-19 14:46:08 +00:00
Tim Huang
95975ea401 Bug 1773701 - Part 1: Add email tracking data collection feature to SafeBrowsing.jsm. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151521
2022-07-19 14:46:07 +00:00
Tim Huang
335b48ca92 Bug 1773695 - Part 5: Add a test for the email tracking protection. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151051
2022-07-18 21:48:16 +00:00
Tim Huang
b08bc24b83 Bug 1773691 - Add email tracking prtoection and annotation to the safebrowsing module. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151047
2022-07-18 21:48:14 +00:00
criss
b77dc7a479 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
b6d609f852 Bug 1773695 - Part 5: Add a test for the email tracking protection. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151051
2022-07-14 19:39:33 +00:00
Tim Huang
34f2abc5d9 Bug 1773691 - Add email tracking prtoection and annotation to the safebrowsing module. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151047
2022-07-14 19:39:31 +00:00
Tooru Fujisawa
a4edb84be9 Bug 1777486 - Part 5: Remove unnecessary XPCOMUtils.jsm imports. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D151217
2022-07-12 04:21:35 +00:00
Tooru Fujisawa
54623364da Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
7738a75fdd Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
6ee7d4ed56 Bug 1777486 - Part 5: Remove unnecessary XPCOMUtils.jsm imports. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D151217
2022-07-11 15:09:15 +00:00
Tooru Fujisawa
8cd6ed7409 Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
3f70a788b3 Bug 1667455 - Part 11: Stop importing Services.jsm from chrome-priv HTML code, other cases. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150900
2022-07-11 12:41:53 +00:00
Tooru Fujisawa
03b55aae15 Bug 1667455 - Part 10: Stop importing Services.jsm from chrome-priv HTML code, multi-line cases. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150899
2022-07-11 12:41:53 +00:00
Tooru Fujisawa
52c95734e7 Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Tooru Fujisawa
47c8f80432 Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Tooru Fujisawa
bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Tooru Fujisawa
f3a8c52c53 Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Dimi
d31f3e431d Bug 1728871 - P4. Check 'Version' in the remote setting record r=leplatrem
Depends on D136107

Differential Revision: https://phabricator.services.mozilla.com/D148650
2022-07-07 15:01:09 +00:00
Dimi
1c580a02a2 Bug 1728871 - P3. Add the URLCLASSIFIER_UPDATE_REMOTE_SETTING_RESULT telemetry r=gcp
We can use this telemetry to track the statistics of using
RemoteSettings to serve Safe Browsing data.
The can help us understand if we can roll out this feature to more users.

Depends on D135990

Differential Revision: https://phabricator.services.mozilla.com/D136107
2022-07-07 15:01:09 +00:00
Dimi
a181785400 Bug 1728871 - P2. Add UrlClassifierRemoteSettingsService testcases r=gcp
Depends on D135989

Differential Revision: https://phabricator.services.mozilla.com/D135990
2022-07-07 15:01:09 +00:00
Dimi
42eafaedd0 Bug 1728871 - P1. Add UrlClassifierRemoteSettingsService to serve update data over RemoteSettings r=gcp,leplatrem
This patch implements UrlClassifierRemoteSettingsService to get SafeBrowsing data (protocol v2)
from RemoteSettings instead of from the Shavar server. This is only used
by data provided by Mozilla.

To distinguish if the data should be coming from RemoteSettings or
Shavar, We added a custom scheme "moz-sbrs" to denote that the data should be
retrieved from Remote Setting. This is done by changing the value of pref
"browser.safebrowsing.provider.mozilla.updateURL" to something like
"moz-sbrf://tracking-protection-list". (Note that the hostname is not
used at this point).

The goal of this patch is to make the new architecture compatible with
the original Safe Browsing design. So we don't notify Safe Browsing
there is new data available (via "sync" event of RemoteSettings). We still follow
how Safe Browsing periodically checks whether there is a newer version of list.

Note.
This patch changes the flow comparing with how we usualy receive SafeBrowsing response from Shavar.
In Shavar case, the list data response usually comes with
"n:21600\ni:listname1\nu:redirectURL1\ni:listname2\nu:redirectURL2 ..." first.
And then we fetch the data again from the redirectURL for each list.

But in the current implementation, responses don't contain
redirectURL anymore (since we already have the data). So the mocked response
will contain all the data needed in one response.
For example:
"n:21600\ni:listname1\n:chunkdata1\ni:listname2\n:chunkdata2...".

Differential Revision: https://phabricator.services.mozilla.com/D135989
2022-07-07 15:01:08 +00:00
Bogdan Szekely
282ff88ccf Backed out 4 changesets (bug 1728871) for causing lint failure on test_rsListService.js CLOSED TREE
Backed out changeset 408c00af6ca7 (bug 1728871)
Backed out changeset cd77f62da01f (bug 1728871)
Backed out changeset d3f805b9199b (bug 1728871)
Backed out changeset 19899fa89d05 (bug 1728871)
2022-06-30 11:57:47 +03:00
Dimi
cbc94eab1f Bug 1728871 - P4. Check 'Version' in the remote setting record r=leplatrem
Depends on D136107

Differential Revision: https://phabricator.services.mozilla.com/D148650
2022-06-30 06:32:27 +00:00
Dimi
92598537a3 Bug 1728871 - P3. Add the URLCLASSIFIER_UPDATE_REMOTE_SETTING_RESULT telemetry r=gcp
We can use this telemetry to track the statistics of using
RemoteSettings to serve Safe Browsing data.
The can help us understand if we can roll out this feature to more users.

Depends on D135990

Differential Revision: https://phabricator.services.mozilla.com/D136107
2022-06-30 06:32:27 +00:00
Dimi
7f79b9df38 Bug 1728871 - P2. Add UrlClassifierRemoteSettingsService testcases r=gcp
Depends on D135989

Differential Revision: https://phabricator.services.mozilla.com/D135990
2022-06-30 06:32:26 +00:00
Dimi
f4a2fed1ee Bug 1728871 - P1. Add UrlClassifierRemoteSettingsService to serve update data over RemoteSettings r=gcp,leplatrem
This patch implements UrlClassifierRemoteSettingsService to get SafeBrowsing data (protocol v2)
from RemoteSettings instead of from the Shavar server. This is only used
by data provided by Mozilla.

To distinguish if the data should be coming from RemoteSettings or
Shavar, We added a custom scheme "moz-sbrs" to denote that the data should be
retrieved from Remote Setting. This is done by changing the value of pref
"browser.safebrowsing.provider.mozilla.updateURL" to something like
"moz-sbrf://tracking-protection-list". (Note that the hostname is not
used at this point).

The goal of this patch is to make the new architecture compatible with
the original Safe Browsing design. So we don't notify Safe Browsing
there is new data available (via "sync" event of RemoteSettings). We still follow
how Safe Browsing periodically checks whether there is a newer version of list.

Note.
This patch changes the flow comparing with how we usualy receive SafeBrowsing response from Shavar.
In Shavar case, the list data response usually comes with
"n:21600\ni:listname1\nu:redirectURL1\ni:listname2\nu:redirectURL2 ..." first.
And then we fetch the data again from the redirectURL for each list.

But in the current implementation, responses don't contain
redirectURL anymore (since we already have the data). So the mocked response
will contain all the data needed in one response.
For example:
"n:21600\ni:listname1\n:chunkdata1\ni:listname2\n:chunkdata2...".

Differential Revision: https://phabricator.services.mozilla.com/D135989
2022-06-30 06:32:26 +00:00
Mark Banner
05e3f1ea83 Bug 1646183 - Extend ESLint rule reject-importGlobalProperties to also handle defineLazyGlobalGetters. r=arai,webdriver-reviewers,webcompat-reviewers,extension-reviewers,whimboo,twisniewski,kmag
Differential Revision: https://phabricator.services.mozilla.com/D150353
2022-06-29 22:37:57 +00:00
Ryan VanderMeulen
85ad97546e Bug 1773604 - Regenerate classes. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D150295
2022-06-28 01:35:13 +00:00
Joel Maher
5b2dd6dd56 Bug 1769154 - Run some xpcshell tests with a conditioned profile. r=aryx,extension-reviewers,kmag
Differential Revision: https://phabricator.services.mozilla.com/D149937
2022-06-22 16:47:06 +00:00
Bogdan Szekely
e43c058bda Backed out changeset 7b707ff8a7d1 (bug 1769154) for causing xpcshell failures on test_system_upgrades.js 2022-06-22 17:17:10 +03:00
Joel Maher
0f3990e1cb Bug 1769154 - Run some xpcshell tests with a conditioned profile. r=aryx,extension-reviewers,kmag
Differential Revision: https://phabricator.services.mozilla.com/D149937
2022-06-22 13:03:46 +00:00
Dimi
3e279947eb Bug 1773043 - Remove flashblock from SafeBrowsing r=perftest-reviewers,gcp,sparky
Depends on D149129

Differential Revision: https://phabricator.services.mozilla.com/D149130
2022-06-15 12:55:26 +00:00