Commit Graph

867024 Commits

Author SHA1 Message Date
Butkovits Atila
54f7c0f0e4 Merge mozilla-central to autoland. CLOSED TREE 2023-12-13 23:48:40 +02:00
Butkovits Atila
fcac574890 Merge autoland to mozilla-central. a=merge 2023-12-13 23:40:45 +02:00
Jonathan Watt
3916394b8a Bug 1869880. Add some WPT tests for 'page-orientation'. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D196349
2023-12-13 21:39:01 +00:00
Greg Stoll
412f4cd88a Bug 1811076: Part 7.5 - Use enums in ContentAnalysis IDL interfaces r=handyman
This helps type-safety and code readability.

Differential Revision: https://phabricator.services.mozilla.com/D196248
2023-12-13 21:32:06 +00:00
Jeff Muizelaar
88bb0dc983 Bug 1869738. Add a test for transformed stroked lines. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D196350
2023-12-13 21:24:36 +00:00
Vsevolod Buzinov
0b3eb819d6 Bug 1869853 - Reversed window transparency logic r=emilio
One-liner to fix the accidental omission of the "not" sign in window
transparency logic.

Differential Revision: https://phabricator.services.mozilla.com/D196329
2023-12-13 21:02:59 +00:00
Andrew Osmond
fe11f40ca0 Bug 1869818 - Disable accelerated canvas if canvas worker threads are enabled. r=gfx-reviewers,lsalzman
Accelerated canvas requires that the canvas worker threads are disabled.
Since CanvasChild is a per thread singleton, we cannot meaningfully give
different behaviour to D2D canvas and accelerated (WebGL) canvas. For
now just disable accelerated canvas if those prefs are changed.

Differential Revision: https://phabricator.services.mozilla.com/D196307
2023-12-13 20:30:39 +00:00
Mike Hommey
ca039c7411 Bug 1869690 - Hack the vendored pip's vendored pkg_resources to support python 3.12. r=ahochheiden,mach-reviewers
While bug 1857470 is set to fix the problem with a pip upgrade, it is
going to take some time. In the meanwhile, we can just do the minimal
thing that makes things work well enough for a build to go through.

Differential Revision: https://phabricator.services.mozilla.com/D196256
2023-12-13 20:21:49 +00:00
Mike Hommey
e548ae78da Bug 1869670 - Attribute rlbox-related source files to the RLBox bugzilla component. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D196243
2023-12-13 20:21:16 +00:00
Niklas Baumgardner
e54c04758a Bug 1867282 - Hide show more button if content is too small in shopping card. r=shopping-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D195467
2023-12-13 20:03:57 +00:00
Niklas Baumgardner
1bd472cc71 Bug 1860585 - Focus close button after opting into shopping. r=ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D195814
2023-12-13 20:03:23 +00:00
Michael Hughes
92a471167c Bug 1868410 - MSIX set to default browser takes too long r=nalexander,nrishel
This fix addresses cleanup work from https://phabricator.services.mozilla.com/D194828
It also makes it so that all file/protocol handlers get set with one launch of Powershell, to speed things up. Which it does. A lot.

It also:
* makes somethings use of nsString (where it was easy to do)
* moves the thread managing code out of SetDefaultBrowser.cpp and into DefaultAgent.cpp
* puts auto in a couple of places to make the code easier to read
* removes some logging statements in the powershell script code

Differential Revision: https://phabricator.services.mozilla.com/D195839
2023-12-13 19:52:37 +00:00
Butkovits Atila
baa791e856 Backed out changeset cd14ec78f423 (bug 1869580) for causing failures at nsIFrame.h. CLOSED TREE 2023-12-13 21:54:59 +02:00
Nazım Can Altınova
16ba7a8274 Bug 1869418 - Run speedometer3 and unity tests as a benchmark test in Android r=kshampur,perftest-reviewers
Previously they were being run as a pageload test, which was making the
profiles that we capture not so useful. Also The desktop versions of these
tests already include `expose_browser_profiler` option. It's better to keep
them in sync.

Differential Revision: https://phabricator.services.mozilla.com/D196166
2023-12-13 19:25:29 +00:00
Nazım Can Altınova
da7e0979bf Bug 1869546 - Make expose_browser_profiler option work with gecko_profile as well r=kshampur,perftest-reviewers
We have 2 ways to enable the profiler in Raptor:
1. Using `--gecko-profile` argument locally or in CI, which runs the test only
with the profiler enabled.
2. Using `extra_profiler_run` also locally or in the CI, which runs the test
both normally/without the profiler and then adding an extra run with the
profiler enabled at the end.

It seems like the `expose_browser_profiler` flag was only working for the
second case and not when `--gecko-profile` was passed.

Differential Revision: https://phabricator.services.mozilla.com/D196284
2023-12-13 19:25:28 +00:00
serge-sans-paille
adc9a6a868 Bug 1867339 - Update xsimd to 12.1.1 r=padenot
This most notably introduces support for avx vnni that's going to be
useful to improve gemmology performances.

It also fixes a critical bug wrt. unsupported architectures.

Differential Revision: https://phabricator.services.mozilla.com/D195849
2023-12-13 19:02:34 +00:00
ogiorgis
111705f5fd Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D196268
2023-12-13 18:32:20 +00:00
hsingh
9666a364e6 Bug 1869087: Properly handle QuotaInitRunnable failure in Context::OnQuotaInit.r=dom-storage-reviewers,janv
QuotaInitRunnable is invoked by Context to set up cache directory. This is not always successful as it could be
interrupted by shutdown or other filesystem issues. By the time in ran into error, it's possible that some objects
needed by Context are not yet initialized in QuotaInitRunnable::Run. Since QuotaInitRunnable internal state machine
will always transition to 'COMPLETING' and Context::OnQuotaInit would always be called; it's possible that some objects
like mDirectoryLock, mCipherKeyManager and mDirectoryMetadata didn't get initialized yet. As an effect, we should
only assert these objects being non-null in Context::OnQuotaInit if the QuotaInitRunnable was successful.

Differential Revision: https://phabricator.services.mozilla.com/D196113
2023-12-13 18:24:33 +00:00
Sebastian Hengst
4d6a5b9742 Backed out 10 changesets (bug 1829026) for causing bug 1869760 and bug 1869738. a=backout
Backed out changeset 4c619422efe5 (bug 1829026)
Backed out changeset 77da89c7dab7 (bug 1829026)
Backed out changeset 19d28d8f75a4 (bug 1829026)
Backed out changeset 674b60ba54b1 (bug 1829026)
Backed out changeset 31935f164ef0 (bug 1829026)
Backed out changeset 13c9bf69085f (bug 1829026)
Backed out changeset 330a6732fc0b (bug 1829026)
Backed out changeset 974c08a3791b (bug 1829026)
Backed out changeset 3ba040642ddc (bug 1829026)
Backed out changeset 9d9b3a68858c (bug 1829026)
2023-12-13 19:20:00 +01:00
Emilio Cobos Álvarez
0f63cc90c1 Bug 1869580 - Cache whether we are a stacking context. r=tnikkel,layout-reviewers
It's one of the hot and more complex functions during painting, and it depends only on frame type + style info, so it's a perfect candidate for caching.

Differential Revision: https://phabricator.services.mozilla.com/D196200
2023-12-13 18:17:15 +00:00
Adam Vandolder
73fa174833 Bug 1869003: Enable pref for remaining Declarative ShadowDOM WPT tests. r=dom-core,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D196125
2023-12-13 18:03:18 +00:00
Mozilla Releng Treescript
c7d6d9451e no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 71cbec08d82a98a3bc3a720d21b1bd47805eacba
en-GB -> 2ce5abddc7036a367a7de52689455526946df1b4
fr -> c51d2993ef3b94a0101c8f353e4c3e4ae6284319
gn -> 0bcabbf43e12aea0b5dc8a437b47d0a0015a196a
hsb -> ff63de4f15b55ffe8616dd80f0ba04db22d01c55
ia -> 0310cfd5307a261153098570a116b57f4ea27ad9
is -> f911fe7d4bca6d0babc35f441659326230b81169
it -> 5c8c59c0becfbeaa687bdb0ac4b5de92abf212bc
ko -> feeddf55be9a5c0aa84a9a5f60d72a09e53fe113
nb-NO -> 8cd167f84714ff42bccf97bea92340e095028a76
nl -> bd871de0802a37737d0c28fa54eb3302feffcc02
pt-BR -> d2d64aca7f48d3ee4ad7ebbdf9acad2a9589cc9e
tg -> 503f9be513ad31b46c18cd3df9bb5e71b8b4f0d9
tr -> 774a9d8242af8739f546bcda5c66d11b58818735
zh-CN -> fa95078bae2c349551195c345c0045216b66c251
zh-TW -> c18ec6d9469b37642658e28c8f435d655b1c86e0
2023-12-13 19:04:30 +00:00
Norisz Fay
1d15b23e10 Backed out changeset ce50950ce10b (bug 1859608) for causing bc failures on browser_doorhangerUserReject.js CLOSED TREE 2023-12-13 20:36:04 +02:00
Norisz Fay
c41993fe2e Backed out changeset 8d6eab6d2a21 (bug 1000540) for causing Bug 1869851 CLOSED TREE 2023-12-13 20:21:06 +02:00
Bob Owen
499038bba2 Bug 1869822: Check that mCurrentBuffer is valid in CanvasDrawEventRecorder::GetContiguousBuffer. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D196313
2023-12-13 17:47:58 +00:00
Yoshi Cheng-Hao Huang
c0eed8b59c Bug 1869780 - Move symbols_as_weakmap_keys feature in RELEASE_OR_BETA. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D196288
2023-12-13 17:36:35 +00:00
Emilio Cobos Álvarez
d4dfa221f7 Bug 1869525 - Watch KDE's colors.css and trigger theme recomputation when it mutates. r=stransky
Consider the following situation:

 * We're using the Breeze (light) theme.
 * We switch to dark mode.

When the KDE system theme changes, we get a color scheme change
notification. However by the time we get it, the gtk colorreload module
that KDE uses to communicate its colors to GTK[1] hasn't processed the
change yet.

So we end up thinking that Breeze is still light, (and even
special-casing that wouldn't work, because we still get the light
colors). So we fall back to Adwaita-dark, and by the time the file
actually changes we don't get any other notification. I don't think
there's another thing to watch here, unfortunately, but if there is we
should do it. I guess we could patch the color-reload module to send
some sort of signal to the screen / settings objects?

[1]: https://invent.kde.org/plasma/kde-gtk-config/-/blob/master/color-reload-module

Differential Revision: https://phabricator.services.mozilla.com/D196164
2023-12-13 17:13:41 +00:00
Gijs Kruitbosch
edf29b31d0 Bug 1869812 put webcompat reporter panelviews in a template so their contents don't run or load additional script/css, r=twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D196306
2023-12-13 17:11:19 +00:00
Valentin Gosu
b4966af23f Bug 1859608 - Change the user's DoH region when that changes r=necko-reviewers,sunil,kershaw
The DoHConfig now listens for region change notification and
saves the new region in a pref. On the next initialization of
the DoH config we will use the saved pref to update the doh
region even if the pref was already set.

This should also work for testing (manually setting the value of the
pref) as long as no region changes happen.

Differential Revision: https://phabricator.services.mozilla.com/D195023
2023-12-13 17:06:27 +00:00
Anna Yeddi
e475b72826 Bug 1858041 - [devtools] Replace fail-if with skip-if for 2 tests that inconsistently failing/passing a11y-checks. r=devtools-reviewers,nchevobbe
The two tests affected are now inconsistently passing (in opt builds on all trees) and failing the Tier 2 a11y-checks: `devtools/client/webconsole/test/browser/browser_webconsole_longstring_getter.js` and `devtools/client/inspector/rules/test/browser_rules_edit-property-computed.js`, thus we are replacing the `fail-if` expectations with `skip-if` while the investigation is ongoing.

Related bugs: bug 1849028, bug 1867062, bug 1868497

Differential Revision: https://phabricator.services.mozilla.com/D195468
2023-12-13 16:31:23 +00:00
Jamie Nicol
839eb81211 Bug 1869777 - Avoid background process kills leading to GPU process being disabled. r=aosmond
On Android the OS may kill a process at any time while the app is in
the background. We try to avoid relaunching the GPU process in this
case, waiting instead until the app is foregrounded again. However, as
things stand if a content process is killed after the GPU process has
been killed, then the GPU process will be currently be
relaunched. This patch avoids that occuring by preventing
UnmapLayerTreeId() from launching a new process.

Additionally, we make it so that any GPU processes that are launched
whilst in the background are automatically assumed to be stable,
meaning they do not count towards the unstable launch count, and the
GPU process will not be disabled due to background process kills.

Differential Revision: https://phabricator.services.mozilla.com/D196292
2023-12-13 16:21:28 +00:00
Alexandre Poirot
65901aa8ae Bug 1868571 - [devtools] Run two blank runs before starting memory tracking test. r=devtools-reviewers,nchevobbe
For some reason, the debugger has a different behavior the second time it opens
compared to its very first opening. So that distinct React elements are instantiated
and are then reported as leaks...

Differential Revision: https://phabricator.services.mozilla.com/D196191
2023-12-13 16:10:50 +00:00
Matthew Gaudet
f046fa90a2 Bug 1828654 - Move deflateInit before deflateBound r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D196224
2023-12-13 16:10:36 +00:00
Thomas Wisniewski
9bec24e579 Bug 1868527 - hide 'Site not working?' from the protections panel when the 'Report Broken Site' feature is active; r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D196184
2023-12-13 15:57:10 +00:00
Joel Maher
1ec9975fd9 Bug 1869590 - Batch 19 - convert remaining mochitest ini to toml. r=aryx,necko-reviewers,devtools-reviewers,dom-storage-reviewers,asuth,valentin,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D196203
2023-12-13 15:44:04 +00:00
Stanca Serban
d84ca52ee4 Backed out 6 changesets (bug 1869332) for causing build bustages. CLOSED TREE
Backed out changeset 4f8c19f9dfcf (bug 1869332)
Backed out changeset 661e520c2991 (bug 1869332)
Backed out changeset 74e2acabc439 (bug 1869332)
Backed out changeset 1c4b5311ac03 (bug 1869332)
Backed out changeset af22bc552759 (bug 1869332)
Backed out changeset f557e130d997 (bug 1869332)
2023-12-13 18:13:24 +02:00
aiunusov
99c69fd49b Bug 1868387 - Part 2: add MOZ_DIAGNOSTIC_ASSERT in content process, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D196290
2023-12-13 15:14:36 +00:00
aiunusov
41283b7581 Bug 1868387 - Part 1: Make a pref, that enables origin security check for SetDocumentURI() method, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D195554
2023-12-13 15:14:35 +00:00
Oliver Medhurst
b64693e408 Bug 1866517 - Part 1: Start implementing close method for file picker r=emilio
Implements it in IPC/base/etc, and also in GTK. Win32 and Cocoa do not implement it yet in this initial patch.

Differential Revision: https://phabricator.services.mozilla.com/D194631
2023-12-13 15:10:33 +00:00
Randell Jesup
1106898e06 Bug 1869666 - webrender thread-safety annotations r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D196242
2023-12-13 15:09:01 +00:00
André Bargull
35f45276a0 Bug 1869755: Use correct skip-condition for Intl.Segmenter tests. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D196281
2023-12-13 15:08:21 +00:00
Kershaw Chang
ac55497030 Bug 1848013 - Do not call HandleTunnelResponse for a tunnel connection created for WebSocket, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D196271
2023-12-13 15:07:21 +00:00
Randell Jesup
62ad57987c Bug 1869717: Set OMT OnDataFinished to ride the trains in 122 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D196255
2023-12-13 15:06:29 +00:00
Olivia Hall
6c3289f456 Bug 1865727 - GeckoView Runtime Never Translate Site Option r=geckoview-reviewers,settings-reviewers,translations-reviewers,gregtatum,owlish,boek
This patch adds an option for GeckoView to change site settings outside
of the session. These APIs should be used for global modifications to
the "never translate these sites" list.

Additionally, this patch moves some Desktop translations logic to the
toolkit for shared use.

Differential Revision: https://phabricator.services.mozilla.com/D195790
2023-12-13 14:50:08 +00:00
Stanca Serban
92689dbf30 Backed out changeset ebc60855035e (bug 1829026) as requested for causing Bug 1869760 and Bug 1869738. a=backout 2023-12-13 16:42:12 +02:00
Bob Owen
fce1e9e139 Bug 1869659: Check for Failed in CanvasTranslator::AddBuffer and SetDataSurfaceBuffer. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D196287
2023-12-13 14:33:25 +00:00
Mark Hammond
73cdd3b7d9 Bug 1869358 - reference rusqlite via a workspace dependency. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D196071
2023-12-13 14:28:12 +00:00
Rob Wu
03a6769c9c Bug 1865689 - Fixup browser.toml - move prefs to DEFAULT. CLOSED TREE
The individual test ran as expected when prefs was next to the file.
But when the whole directory is selected, the test runner refuses to
run the test due to the following error:

> The 'prefs' key must be set in the DEFAULT section of a manifest.

This patch fixes the issue by moving prefs to DEFAULT. This is okay
because the other test in the test manifest is independent of the pref.

Differential Revision: https://phabricator.services.mozilla.com/D196295
2023-12-13 14:50:25 +00:00
Stanca Serban
b7a9ae787b Merge mozilla-central to autoland on a CLOSED TREE 2023-12-13 16:48:19 +02:00
Stanca Serban
8bd13999c2 Backed out changeset 2499ef5644ea (bug 1867098) as requested for causing Bug 1869728. 2023-12-13 16:21:31 +02:00