800205 Commits

Author SHA1 Message Date
Kagami Sascha Rosylight
4bbf6a056b Bug 1776109 - Part 1: Fall back to nsIPrincipal in StorageAllowedForWindow r=asuth,anti-tracking-reviewers,pbz
Differential Revision: https://phabricator.services.mozilla.com/D150282
2022-06-30 11:33:55 +00:00
Kershaw Chang
388ea3d223 Bug 1777327 - Make specultive connection respect LOAD_BYPASS_CACHE flag, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150635
2022-06-30 11:18:39 +00:00
Frederik Braun
9861c6626a Bug 1775194 - disable reporting API r=ckerschb,emilio
This disables the outdated, incorrect implementation of the
Reporting API. The current implementation was only enabled
on Nightly builds, but given its current state it does not
even make sense there.

Differential Revision: https://phabricator.services.mozilla.com/D149873
2022-06-30 10:41:48 +00:00
Johan Lorenzo
be05f1a775 Bug 1776642 - Bump virtualenv from 20.7.2 to 20.15.0 in order to run mach boostrap on Python 3.10 under macOS r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D150741
2022-06-30 10:18:58 +00:00
Mark Banner
f37add548d Bug 1777445 - Move firefoxview to use mjs files, rather than defining sourceType for ESLint. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150734
2022-06-30 10:13:01 +00:00
Sebastian Hengst
5091c3db76 Bug 1777390 - set embedded-content tests as passing on Windows code coverage
Tests got renamed in bug 1775397 and expectations for ccov lost.

Differential Revision: https://phabricator.services.mozilla.com/D150735
2022-06-30 09:49:24 +00:00
Bogdan Szekely
ff9c07ed1b Backed out changeset 83c2ba6648ac (bug 1773696) for causing mochitest failures on TimeStamp.h CLOSED TREE 2022-06-30 13:17:39 +03:00
Bogdan Szekely
71f807bd57 Merge mozilla-central to autoland. CLOSED TREE 2022-06-30 13:16:29 +03:00
Bogdan Szekely
2005e8d87e Merge autoland to mozilla-central. a=merge 2022-06-30 12:54:33 +03:00
Kris Maglione
12faebc6e9 Bug 1773770: Part 12 - Remove XPCOM Module infrastructure. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D149439
2022-06-30 09:12:19 +00:00
Kris Maglione
76050d3c60 Bug 1773770: Part 11 - Migrate TestRacingServiceManager to register factories directly. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D149438
2022-06-30 09:12:19 +00:00
Kris Maglione
4b3a32cd60 Bug 1773770: Part 10 - Migrate xpcshell to register components without defining a module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D149437
2022-06-30 09:12:18 +00:00
Kris Maglione
0a4ce6199e Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8
Several widget contracts use different implementations in the parent and
content processes. Since the static registration system builds its hashtable
at compile time rather than runtime, it doesn't support different contract IDs
per process. It could make the decision at lookup time, but given how rarely
it's needed, I don't think it would be worth the complexity.

This patch updates the widget components that need different implementations
in the parent and content process to register separate contracts for each
implementation, and a third stub contract which forwards to the appropriate
implementation depending on which process it's used in. The implementation
entries restrict their usage to the process they are meant to be used in.

Differential Revision: https://phabricator.services.mozilla.com/D149436
2022-06-30 09:12:18 +00:00
Kris Maglione
df4aae4dd3 Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D149435
2022-06-30 09:12:18 +00:00
Kris Maglione
ae5e26145b Bug 1773770: Part 7 - Migrate PowerManagerService to static component registration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D149434
2022-06-30 09:12:17 +00:00
Kris Maglione
197caa5c79 Bug 1773770: Part 5 - Migrate necko category entries to static registration. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D149433
2022-06-30 09:12:17 +00:00
Kris Maglione
a8a76125b8 Bug 1773770: Part 4 - Migrate INI parser factory to static component registration. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D149432
2022-06-30 09:12:16 +00:00
Kris Maglione
9746256032 Bug 1773770: Part 3 - Migrate XRE module to static component registration. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D149431
2022-06-30 09:12:16 +00:00
Kris Maglione
7a2e2d4aa7 Bug 1773770: Part 2 - Migrage KeyValueStore to static component registration. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D149430
2022-06-30 09:12:16 +00:00
Kris Maglione
ce5a40d75a Bug 1773770: Part 1 - Remove defunct layout module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D149429
2022-06-30 09:12:15 +00:00
Gijs Kruitbosch
e5852b6d8d Bug 1773520 - add vscode build backend by default if vscode is installed, r=firefox-build-system-reviewers,nalexander,glandium
Differential Revision: https://phabricator.services.mozilla.com/D150147
2022-06-30 08:38:02 +00:00
James Graham
926ae49c33 Bug 1773696 - Make wheel event IPC depend on test_events_async_enabled, r=smaug
The `widget->DispatchInputEvent` codepath only works in gecko CI
configurations, so to allow this to be used for e.g. WebDriver
implement a path that doesn't go via the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D150632
2022-06-30 08:34:10 +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
Jan de Mooij
545d76cbf3 Bug 1776666 part 9 - Assert bailout frame pointer matches frame pointer register. r=iain
Non-exception bailouts compute the frame pointer as `sp + frameSize`. We can
assert this matches the frame pointer register, now that we have one.

This catches cases where we bail out when there are still extra values on the
stack. In theory we could now support such bailouts by using the frame pointer
register directly instead of the static frame size, but until we change that
we should at least assert we're consistent.

Differential Revision: https://phabricator.services.mozilla.com/D150463
2022-06-30 07:54:11 +00:00
Jan de Mooij
7fd5ac30b8 Bug 1776666 part 8 - Use frame pointer to access JitFrameLayout in Wasm JitEntry stub. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D150451
2022-06-30 07:54:10 +00:00
Jan de Mooij
b66368c14f Bug 1776666 part 7 - Optimize CodeGenerator::visitRest a bit. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D150450
2022-06-30 07:54:10 +00:00
Jan de Mooij
9ef05c4358 Bug 1776666 part 6 - Use frame pointer to access JitFrameLayout in CodeGenerator. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D150449
2022-06-30 07:54:09 +00:00
Gerald Squelart
c3f739da8e Bug 1777391 - Document that registered IOInterposeObserver's should be static and reusable - r=florian
Depends on D150698

Differential Revision: https://phabricator.services.mozilla.com/D150699
2022-06-30 07:30:08 +00:00
Gerald Squelart
700356529b Bug 1777391 - Constify the ObserverLists to ensure that they're never modified after construction - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D150698
2022-06-30 07:30:07 +00:00
byron jones
004695a65d no bug: doc: clarify supported macOS versions DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D150530
2022-06-30 07:20:58 +00:00
Mozilla Releng Treescript
e122440c59 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
de -> 726427cb60aad871e00dd2267609d083c623002d
es-AR -> afe0fd82790bfff985ee0b6c6110e50f860f004d
es-CL -> e639e1070f122bbbbd8a8dd26b04753e51fd41fd
2022-06-30 06:59:19 +00:00
Iulian Moraru
16c5973006 Backed out changeset a5b0a803821d (bug 1772942) for causing multiple failures. CLOSED TREE 2022-06-30 09:54:27 +03:00
Iulian Moraru
23c0c3baed Backed out 3 changesets (bug 1776109) for causing hazzard build bustages on ServiceWorker.cpp.
Backed out changeset b6222b68a403 (bug 1776109)
Backed out changeset 80fb3c3a5a40 (bug 1776109)
Backed out changeset 021a94a72d0c (bug 1776109)
2022-06-30 09:53:28 +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
Barret Rennie
664ea667d7 Bug 1772942 - Port osfile.jsm usage to IOUtils in toolkit/modules/ r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D149304
2022-06-30 04:42:27 +00:00
Barret Rennie
47beac2e67 Bug 1772742 - Port osfile.jsm usage to IOUtils in uriloader/ r=nika
Differential Revision: https://phabricator.services.mozilla.com/D148445
2022-06-30 04:33:05 +00:00
Paul Bone
2cf65a849a Bug 1777220 - Remove memory map assertions r=glandium
Now that we know these assertions fire, we can remove them.

Differential Revision: https://phabricator.services.mozilla.com/D150695
2022-06-30 04:11:11 +00:00
Bernard Igiri
912323236a Bug 1777310 - Added Colorway CTA image to FX View r=dao
Added Colorway CTA image to FX View

Differential Revision: https://phabricator.services.mozilla.com/D150677
2022-06-30 04:00:40 +00:00
scott
7efed16519 Bug 1776770 - Pocket newtab recent saves pref work r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D150579
2022-06-30 03:29:13 +00:00
Glenn Watson
65bb3e9aee Bug 1777388 - Remove legacy clip-parenting from clip-to-frame in wrench r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D150683
2022-06-30 02:41:02 +00:00
criss
d5ece910a9 Backed out 3 changesets (bug 1771374) for causing bustages on Colorspaces.h. CLOSED TREE
Backed out changeset 498c27656dc3 (bug 1771374)
Backed out changeset 6f97bc39643f (bug 1771374)
Backed out changeset b4fdb70808b6 (bug 1771374)
2022-06-30 05:28:11 +03:00
Kagami Sascha Rosylight
30b8df0dc0 Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-30 01:35:13 +00:00
Kagami Sascha Rosylight
e772d23751 Bug 1776109 - Part 2: Add ServiceWorkersEnabled() for service worker interfaces exposure r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D150441
2022-06-30 01:35:13 +00:00
Kagami Sascha Rosylight
f6988ca7cf Bug 1776109 - Part 1: Fall back to nsIPrincipal in StorageAllowedForWindow r=asuth,anti-tracking-reviewers,pbz
Differential Revision: https://phabricator.services.mozilla.com/D150282
2022-06-30 01:35:12 +00:00
Nika Layzell
933e0ff56a Bug 1777181 - Use cancelable runnables for DataPipe notifications, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D150611
2022-06-30 00:44:06 +00:00
criss
a78fdd3dc0 Backed out 3 changesets (bug 1776109) for causing multiple failures. CLOSED TREE
Backed out changeset 8e76401f7c43 (bug 1776109)
Backed out changeset 1cdbbad1d996 (bug 1776109)
Backed out changeset 66bb4c49d615 (bug 1776109)
2022-06-30 03:23:01 +03:00
Kelsey Gilbert
8fdac7788a Bug 1771374 - Fix lint warnings. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D150620
2022-06-29 23:38:23 +00:00