Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
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
.cargo Bug 1776816: Update wgpu to b370b990 (2022-6-28). r=jgilbert 2022-06-28 20:53:15 +00:00
.vscode
accessible Bug 1771934 - Lint fix. a=fix. CLOSED TREE 2022-07-07 02:07:45 +03:00
browser Bug 1777699 - Have the SmartBlock iasPET shim send a default parameter to all callbacks; r=ksenia,webcompat-reviewers 2022-07-07 14:55:04 +00:00
build Bug 1778250 - Remove Remove-FlushViewOfFile-when-unmaping-gcda-files-clang-15.patch. r=firefox-build-system-reviewers,andi 2022-07-07 02:43:17 +00:00
caps Bug 1772378: Move Eval checks higher to encompass JSMs r=bholley 2022-06-29 13:45:57 +00:00
chrome
config Bug 1768214 - introduce wasm32 codegen. r=jandem 2022-07-01 04:23:16 +00:00
devtools Bug 1778432 - [devtools] Guard against missing Services.profiler in Actor:_sendEvent r=nchevobbe 2022-07-07 13:43:56 +00:00
docs Bug 1777451 - Add a rule to prevent/recommend against using globalThis or window in non-system modules for lazy getters. r=arai 2022-07-06 08:35:59 +00:00
docshell Bug 1777366 - remove unused source and cached parameters from nsISiteSecurityService APIs r=rmf,necko-reviewers,kershaw 2022-07-05 18:33:18 +00:00
dom Backed out 2 changesets (bug 1750576) for causing lint failures and build bustages. CLOSED TREE 2022-07-07 10:51:38 -04:00
editor Bug 1777549 - remove remaining e10s conditions in manifest files. r=gbrown,extension-reviewers,zombie 2022-07-01 13:49:42 +00:00
extensions Bug 1777549 - remove remaining e10s conditions in manifest files. r=gbrown,extension-reviewers,zombie 2022-07-01 13:49:42 +00:00
gfx Backed out 2 changesets (bug 1750576) for causing lint failures and build bustages. CLOSED TREE 2022-07-07 10:51:38 -04:00
gradle/wrapper
hal Bug 1775154 - Extra cleanup of dom/, extensions/, hal/, netwerk/ and storage/ includes r=necko-reviewers,kershaw 2022-06-22 13:31:25 +00:00
image Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
intl Backed out changeset 94420b6eff4c (bug 1297520) for xpcshell failures on test_snap.js 2022-07-06 19:16:34 +03:00
ipc Bug 1768050: Test request handler. r=jesup 2022-07-07 09:08:58 +00:00
js Bug 1778304 part 2 - Remove JitExitOffsets. r=rhunt 2022-07-07 08:27:50 +00:00
layout Bug 1778396 - Add color-mix to DevTools autocomplete. r=nchevobbe 2022-07-07 10:29:59 +00:00
media Bug 1776429 - Compile and use ffvpx video decoder/fft code on Apple Silicon Macs. r=glandium 2022-06-29 09:55:59 +00:00
memory Bug 1774458 - Use undocumented, non-public adaptive spinlocks on macOS 10.15+, revert to user-space spinlocks on older versions r=pbone 2022-07-04 14:00:11 +00:00
mfbt Bug 1774863 - Cleanup mfbt includes r=sylvestre 2022-06-22 09:47:14 +00:00
mobile Bug 1777952 - Namespace SurfaceTexture handles by the process they were allocated in. r=gfx-reviewers,geckoview-reviewers,aosmond,calu 2022-07-07 08:12:55 +00:00
modules Bug 1777902 don't change the size of system fonts when ui.textScaleFactor is set r=emilio 2022-07-07 10:22:32 +00:00
mozglue Bug 1776721 - Add a new sub-category for javascript builtins r=canaltinova,jandem 2022-07-06 16:52:18 +00:00
netwerk No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS 2022-07-07 14:24:35 +00:00
nsprpub
other-licenses Bug 1771951: add pin to taskbar support in the installer on Windows 10 & 11 r=mhowell 2022-06-27 16:31:36 +00:00
parser Bug 1775477 - Fix interface for parser-created <keygen> elements. r=saschanaz 2022-06-23 10:34:44 +00:00
python Bug 1650335 - for clang-tidy based analysis do not set cpp std option. r=marco 2022-07-06 08:15:33 +00:00
remote Bug 1750541 - [bidi] Implement basic support for "script.callFunction" command r=webdriver-reviewers,whimboo 2022-07-06 19:34:33 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS 2022-07-07 14:24:35 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS 2022-07-07 14:24:35 +00:00
servo Bug 1778396 - Add color-mix to DevTools autocomplete. r=nchevobbe 2022-07-07 10:29:59 +00:00
startupcache Backed out 9 changesets (bug 1772006) causing build bustages on nsTString.cpp. CLOSED TREE 2022-06-11 01:13:42 +03:00
storage Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
supply-chain Bug 1777586 - Audit some crates for kicks. r=nika,supply-chain-reviewers 2022-07-01 00:31:02 +00:00
taskcluster Bug 1771587 - Implement are-we-esmified-yet check on ci; r=marco,jmaher 2022-07-06 08:24:18 +00:00
testing Bug 1778083 - Enforce a single result per subtest for pytest results, r=webdriver-reviewers,jdescottes 2022-07-07 14:38:38 +00:00
third_party Backed out changeset 59a5d52a3d71 (bug 1774569) for causing py3 failures. CLOSED TREE 2022-06-30 19:17:03 +03:00
toolkit Bug 1728871 - P1. Add UrlClassifierRemoteSettingsService to serve update data over RemoteSettings r=gcp,leplatrem 2022-07-07 15:01:08 +00:00
tools Bug 1778315 - Make power counter names more user friendly, r=gerald. 2022-07-06 23:36:46 +00:00
uriloader Bug 1772742 - Port osfile.jsm usage to IOUtils in uriloader/ r=nika 2022-06-30 04:33:05 +00:00
view Bug 1758115 - Part 2: Streamline locking, initialization and shutdown for TimelineConsumers, r=smaug 2022-06-29 15:01:51 +00:00
widget Bug 1777902 don't change the size of system fonts when ui.textScaleFactor is set r=emilio 2022-07-07 10:22:32 +00:00
xpcom Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
xpfe/appshell Bug 1773310 - Ensure hidden window native menus init first r=mstange 2022-07-06 16:48:27 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Backed out 2 changesets (bug 1776104) as requested by Andi 2022-07-06 19:15:18 +03:00
.cron.yml Bug 1771587 - Implement are-we-esmified-yet check on ci; r=marco,jmaher 2022-07-06 08:24:18 +00:00
.eslintignore
.eslintrc.js Bug 1774647 - Do not apply import/prefer-default-export rule. r=Standard8 2022-06-17 09:11:13 +00:00
.flake8 Bug 1775183 - Remove fork_interpose.py. r=firefox-build-system-reviewers,nalexander 2022-06-21 06:44:55 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags No bug - tagging 375d42ba2f8343963e6ab87dedf798c45af9561f with FIREFOX_NIGHTLY_103_END a=release DONTBUILD CLOSED TREE 2022-06-27 15:55:35 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1773255 - Update to Glean v50.1.0 r=chutten,supply-chain-reviewers 2022-06-15 15:39:33 +00:00
Cargo.lock Backed out 2 changesets (bug 1750576) for causing lint failures and build bustages. CLOSED TREE 2022-07-07 10:51:38 -04:00
Cargo.toml Bug 1774513 - Fix neqo-common compatibility with log >= 0.4.16. r=necko-reviewers,dragana 2022-06-23 20:31:56 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-06-27 15:55:43 +00:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in
moz.build
moz.configure Backed out 1 changesets (bug 1773520) for breaking the ./mach ide vscode 2022-07-01 09:32:36 +03:00
mozilla-config.h.in
old-configure.in
package-lock.json Backed out 3 changesets (bug 1762571) for causing xpcshell failures on test_trr_httpssvc_wrap.js. CLOSED TREE 2022-06-30 18:43:06 +03:00
package.json
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.