Cristian Tuns
b00f575d28
Merge mozilla-central to autoland on a CLOSED TREE
2021-12-10 09:41:08 -05:00
Cristian Tuns
9ad5101118
Backed out changeset 5396b58ddae7 (bug 1712837) for causing Android ARMv7 build bustages. a=backout
2021-12-10 09:35:39 -05:00
Cristian Tuns
6ca90e7a81
Backed out changeset 3ed167027315 (bug 1745384) for causing lint failures. CLOSED TREE
2021-12-10 09:12:33 -05:00
stransky
7246343331
Bug 1745431 [Wayland] Provide more logging to nsWindow::RequestFocusWaylandWindow() r=rmader
...
Differential Revision: https://phabricator.services.mozilla.com/D133485
2021-12-10 13:58:08 +00:00
Andrew Osmond
c39ff2b073
Bug 1745384 - Temporarily fix crash during clang mingw cross compile builds. r=gfx-reviewers,lsalzman
...
It appears that dom/canvas/nsICanvasRenderingContextInternal.cpp must be
part of a greater unified build file. Adding new files has pushed it
into its own unified file causing clang to crash when cross compiling
using mingw. For now, let's just put the new file a previous patch added
into SOURCES instead of UNIFIED_SOURCES to avoid breaking this delicate
balance.
A follow up bug will need to be created to investigate on the clang
side.
Differential Revision: https://phabricator.services.mozilla.com/D133487
2021-12-10 13:56:27 +00:00
Ryan VanderMeulen
9bad23ee9a
Bug 1271024 - Re-enable browser_purge_shistory.js when SHIP is enabled. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D133116
2021-12-10 13:43:55 +00:00
Barret Rennie
d5b5211ad6
Bug 1745350 - Remove OS.File from browser/components/downloads r=Standard8
...
Depends on D133461
Differential Revision: https://phabricator.services.mozilla.com/D133462
2021-12-10 13:23:54 +00:00
Barret Rennie
90d771eaf1
Bug 1745349 - Remove OS getter from browser/components/downloads tests r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D133461
2021-12-10 13:23:54 +00:00
Alexandre Lissy
b71840a20f
Bug 1745405 - Link to GeckoProcessType generator for complete definition of defines process r=firefox-source-docs-reviewers,sylvestre DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D133482
2021-12-10 13:12:38 +00:00
Cosmin Sabou
f8225b521f
Backed out changeset d53bfb002c23 (bug 1712837) for causing Android ARMv7 build bustages. a=backout
2021-12-10 14:50:12 +02:00
Ryan VanderMeulen
1aa61d071a
Bug 1277320 - Run GTests on all Windows flavors as Tier 1. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D133450
2021-12-10 12:49:54 +00:00
Benjamin VanderSloot
b863e6e929
Bug 1740828 - Improve UI to clarify difference between cross site tracking cookies and cross site cookies option, r=pbz,flod,fluent-reviewers,preferences-reviewers
...
Revise two strings, choosing "Option 1" from the discussion on Bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=1740828#c3
Differential Revision: https://phabricator.services.mozilla.com/D133346
2021-12-10 12:24:52 +00:00
Florian Quèze
7ea931ac35
Bug 1744162
- Test that RDD-process FOG metrics work r=chutten.
...
Differential Revision: https://phabricator.services.mozilla.com/D133137
2021-12-10 12:20:10 +00:00
Florian Queze
632f535b3d
Bug 1744162
- Expand FOG IPC to RDD process, to collect CPU and GPU time used there, r=chutten,jrmuizel.
...
Differential Revision: https://phabricator.services.mozilla.com/D132749
2021-12-10 12:20:10 +00:00
Paul Zuehlcke
07c84e1276
Bug 1744158, r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D133392
2021-12-10 12:20:04 +00:00
Alexandre Poirot
f71b6141a2
Bug 1744942 - [devtools] Convert browser_dbg-chrome-debugging.js into a resource command test. r=bomsy
...
This test was using legacy Thread actor APIs whereas sources are meant
to be received via ResourceCommand.
Differential Revision: https://phabricator.services.mozilla.com/D133189
2021-12-10 11:56:45 +00:00
Alexandre Poirot
50ecc431c2
Bug 1744942 - [devtools] Expose CommandsFactory.spawnClientToDebugSystemPrincipal to easily span Browser Toolbox-like DevToolsClient's. r=nchevobbe
...
This code could be useful in other places, especially in tests. (See next changeset)
I'm even wondering if `forMainProcess` should be using such type of client by default?
Concretely, in production, when we debug the main process, I think we always use such special client/server.
Differential Revision: https://phabricator.services.mozilla.com/D133188
2021-12-10 11:56:44 +00:00
Cosmin Sabou
15baf65a1f
Merge mozilla-central to autoland. CLOSED TREE
2021-12-10 14:54:45 +02:00
Tooru Fujisawa
415c8cd465
Bug 1745351 - Remove JS::StencilCanLazilyParse. r=nbp
...
Depends on D133463
Differential Revision: https://phabricator.services.mozilla.com/D133464
2021-12-10 11:27:23 +00:00
Tooru Fujisawa
01e563da27
Bug 1745347 - Categorize public Stencil APIs in js/public/experimental/JSStencil.h. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D133463
2021-12-10 11:27:22 +00:00
Rashelle Hopkins
46641fae91
Bug 1739515 - Remove checks for multiple PiP windows pref r=mtigley,kpatenio,mhowell,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D133147
2021-12-10 10:33:14 +00:00
Tim Huang
26082850f4
Bug 1743418
- Part 2: Remove URLQueryStrippingListProcessScript.js and URLQueryStrippingListService.jsm from the known list in browser startup tests. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D132991
2021-12-10 09:15:21 +00:00
Tim Huang
d70e7aa8c3
Bug 1743418
- Part 1: Use shared data to populate remote settings list to content processes. r=pbz
...
We used to use the message manager to get query stripping list from the
parent process during the startup of content processes as well as the
list gets updated from remote settings.
In this patch, we change to use the shared data to populate the list for
remote settings. This brings one benefit that we don't need to start the
list service during the startup of content processes in order to get the
list as early as possible. We can get the list lazily because the shared
data will be preloaded during the process startup.
Differential Revision: https://phabricator.services.mozilla.com/D132990
2021-12-10 09:15:21 +00:00
Mathew Hodson
0b99d11c0c
Bug 1733540 - Replace osfile.jsm usage in XPIInstall.jsm. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D128168
2021-12-10 09:06:04 +00:00
Barret Rennie
023a32e855
Bug 1742480 - Don't anger watchman r=mhentges
...
If watchman is invoked (as part of hg's fsmonitor) with a path whose case does
not match the on-disk case (e.g., for case-insensitive file systems like NTFS),
it will get angry and throw a RootResolveError (although it will still work).
When doing `./mach try`, we end up invoking watchman several times which leads
to it getting very angry and throwing lots of errors.
This is all due to how we compute virtualenv paths -- by normcase()-ing them in
`mach.pth` -- which results in `push.py` having a lowercase path *even if* your
mozilla-central checkout has a non-lowercase on-disk path.
Calling Path.resolve() on the resulting path returns it to its on-disk
representation and no longer angers watchman.
Differential Revision: https://phabricator.services.mozilla.com/D133397
2021-12-10 06:04:46 +00:00
Mike Hommey
db4b69a678
Bug 1744669 - Bulk update of rust crates. u, w, x. r=emilio
...
This updates all crates that can be updated with no addition of new
crates, that start with letter u, w or x.
Differential Revision: https://phabricator.services.mozilla.com/D133035
2021-12-10 05:50:35 +00:00
Mike Hommey
53c0138f48
Bug 1744669 - Bulk update of rust crates. t. r=emilio
...
This updates all crates that can be updated with no addition of new
crates, that start with letter t.
Differential Revision: https://phabricator.services.mozilla.com/D133034
2021-12-10 05:42:54 +00:00
Mike Hommey
c4eb2effeb
Bug 1744669 - Bulk update of rust crates. r, s. r=emilio
...
This updates all crates that can be updated with no addition of new
crates, that start with letter r or s.
Differential Revision: https://phabricator.services.mozilla.com/D133033
2021-12-10 04:48:02 +00:00
Iulian Moraru
a5854b43a4
Backed out changeset 01eb21de6aef (bug 1745325) for causing mochitest failures on browser_preview_print_coop.js. CLOSED TREE
2021-12-10 07:28:02 +02:00
Mike Hommey
86c0640983
Backout a part of changeset 292fba96742d (bug 1744669) for bustage. CLOSED TREE
...
This returns the idna crate to its previous version because of
https://github.com/servo/rust-url/issues/679 .
Differential Revision: https://phabricator.services.mozilla.com/D133453
2021-12-10 04:44:00 +00:00
Mike Hommey
1430e9adae
Bug 1744669 - Bulk update of rust crates. m, o, p, q. r=emilio
...
This updates all crates that can be updated with no addition of new
crates, that start with letter m, o, p or q.
Differential Revision: https://phabricator.services.mozilla.com/D133032
2021-12-10 04:31:15 +00:00
Tooru Fujisawa
6c3cb341b2
Bug 1734098 - Part 16: Use CompilationStencil in helper threads. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D133057
2021-12-10 04:28:31 +00:00
Tooru Fujisawa
57a8e099d3
Bug 1734098 - Part 15: Use consistent name for decode multi stencils API. r=tcampbell
...
* DecodeMultiOffThreadStencils => DecodeMultiStencilsOffThread
* FinishMultiOffThreadStencilDecoder => FinishDecodeMultiStencilsOffThread
* CancelMultiOffThreadScriptsDecoder => CancelDecodeMultiStencilsOffThread
Also make JS::DecodeMultiStencilsOffThread to receive JS::DecodeOptions,
and make ScriptPreloader to call JS::CanDecodeOffThread.
Differential Revision: https://phabricator.services.mozilla.com/D133056
2021-12-10 04:28:31 +00:00
Tooru Fujisawa
149129c9ce
Bug 1734098 - Part 14: Remove JSScript-related methods from ParseTask. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D133055
2021-12-10 04:28:30 +00:00
Tooru Fujisawa
26d3c78f8e
Bug 1734098 - Part 13: Remove JS::DecodeOffThreadScript. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D133054
2021-12-10 04:28:30 +00:00
Tooru Fujisawa
08c59b973d
Bug 1734098 - Part 12: Replace shell offThreadDecodeScript with offThreadDecodeStencil. r=tcampbell
...
* offThreadDecodeScript => offThreadDecodeStencil
* runOffThreadDecodedScript => finishOffThreadDecodeStencil+evalStencil
Differential Revision: https://phabricator.services.mozilla.com/D133053
2021-12-10 04:28:30 +00:00
Tooru Fujisawa
fbb9c44cf3
Bug 1734098 - Part 11: Add JS::DecodeStencilOffThread. r=tcampbell
...
Also make JS::CanDecodeOffThread to receive JS::DecodeOptions.
Differential Revision: https://phabricator.services.mozilla.com/D133052
2021-12-10 04:28:29 +00:00
Tooru Fujisawa
a1ea523706
Bug 1734098 - Part 10: Fix storageType for decoded stencil without borrowBuffer. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D133051
2021-12-10 04:28:29 +00:00
Tooru Fujisawa
4f2adf3534
Bug 1734098 - Part 9: Remove JS::CompileOffThreadModule. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D133050
2021-12-10 04:28:29 +00:00
Tooru Fujisawa
33f24e6ba3
Bug 1734098 - Part 8: Replace shell offThreadCompileModule with offThreadCompileModuleToStencil. r=tcampbell
...
* offThreadCompileModule => offThreadCompileModuleToStencil
* finishOffThreadModule => finishOffThreadCompileModuleToStencil+instantiateModuleStencil
Differential Revision: https://phabricator.services.mozilla.com/D133049
2021-12-10 04:28:28 +00:00
Tooru Fujisawa
c98888fc04
Bug 1734098 - Part 7: Add JS::CompileModuleToStencilOffThread. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D133048
2021-12-10 04:28:28 +00:00
Tooru Fujisawa
15cf203053
Bug 1734098 - Part 6: Remove JS::CompileOffThread. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D133047
2021-12-10 04:28:27 +00:00
Tooru Fujisawa
48d13c42da
Bug 1734098 - Part 5: Remove shell offThreadCompileScript. r=nbp
...
Rewrite tests to use stencil-based testing functions:
* offThreadCompileScript => offThreadCompileToStencil
* runOffThreadScript => finishOffThreadCompileToStencil+evalStencil
Differential Revision: https://phabricator.services.mozilla.com/D133046
2021-12-10 04:28:27 +00:00
Tooru Fujisawa
274b34bb0f
Bug 1734098 - Part 4: Remove stencil option mismatch check in testing function. r=nbp
...
Now there's no code that uses laziness during instantiation, remove the
remaining check for the options
Differential Revision: https://phabricator.services.mozilla.com/D133045
2021-12-10 04:28:26 +00:00
Tooru Fujisawa
86c24b48de
Bug 1734098 - Part 3: Use JS::CompileToStencilOffThread instead of JS::CompileOffThread in ScriptLoader. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D133044
2021-12-10 04:28:26 +00:00
Tooru Fujisawa
62eabc5cc0
Bug 1734098 - Part 2: Add JS::StartIncrementalEncoding. r=nbp
...
This is to support incremental encoding with stencil-based off-thread API.
Differential Revision: https://phabricator.services.mozilla.com/D133043
2021-12-10 04:28:26 +00:00
Tooru Fujisawa
aa2665dace
Bug 1734098 - Part 1: Use consistent function name for off-thread stencil API. r=nbp
...
Make the stencil-based off-thread API names follow the convention:
* ...OffThread
* Finish...OffThread
* Cancel...OffThread
This patch stack adds more functions for module/decode, with the above naming
convention.
Differential Revision: https://phabricator.services.mozilla.com/D133042
2021-12-10 04:28:25 +00:00
Tooru Fujisawa
f2f5da13ab
Bug 1744178 - Add JS::InstantiationStorage. r=nbp
...
In order to support allocating CompilationGCOutput off main thread with
stencil-based off-thread API, add public type that wraps CompilationGCOutput,
and make stencil-based off-thread API return pre-allocated CompilationGCOutput
if the `options.allocateInstantiationStorage` is true.
Differential Revision: https://phabricator.services.mozilla.com/D133041
2021-12-10 04:28:25 +00:00
Mike Hommey
79b66d492e
Bug 1744669 - Bulk update of rust crates. i, l. r=emilio
...
This updates all crates that can be updated with no addition of new
crates, that start with letter i or l.
Differential Revision: https://phabricator.services.mozilla.com/D133031
2021-12-10 04:24:55 +00:00
Mike Hommey
83e7800c32
Bug 1744669 - Bulk update of rust crates. g, h. r=emilio
...
This updates all crates that can be updated with no addition of new
crates, that start with letter g or h.
Differential Revision: https://phabricator.services.mozilla.com/D133030
2021-12-10 04:18:55 +00:00