Commit Graph

913193 Commits

Author SHA1 Message Date
Tamas Szentpeteri
5f48b45c29 Backed out 2 changesets (bug 1890277) for causing mochitest failures in csp.properties. CLOSED TREE
Backed out changeset 0434b6d79459 (bug 1890277)
Backed out changeset 2e4a028c156f (bug 1890277)
2024-04-17 18:19:33 +03:00
Masatoshi Kimura
1bf5dbe64b Bug 1891926 - Make "network.proxy.system_wpad.allowed" actually work. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D207701
2024-04-17 14:49:40 +00:00
Nathan Barrett
16df5a1bc9 Bug 1891769 - add nimbus vars and stub data for WeatherFeed r=thecount,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D207632
2024-04-17 14:31:26 +00:00
florin.bilt
4316e4e403 Bug 1890589 - Fix toml linter to remove 'lineno' lines and adjust the manifest test r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D207290
2024-04-17 14:26:25 +00:00
Alexandre Poirot
4d65070f63 Bug 1891699 - [devtools] Remove unused sourceMapURL React component property. r=devtools-reviewers,nchevobbe
This could possibly throw if sourceActor was null, and wasn't used.

Differential Revision: https://phabricator.services.mozilla.com/D207711
2024-04-17 13:54:27 +00:00
Andrew Creskey
a9a0c7519b Bug 1596935 - Add tests for rel="dns-prefetch" r=necko-reviewers,valentin
Provide a mechanism to allows dns prefetch via proxy (for mochi browser tests), testing only.
And ensure that we resolve the dns-prefetched domain.

Differential Revision: https://phabricator.services.mozilla.com/D206550
2024-04-17 13:54:06 +00:00
Andrew Creskey
3916243a2b Bug 1596935 - Firefox doesn’t resolve <link rel=dns-prefetch> on HTTPS r=dom-core,necko-reviewers,kershaw,sefeng
Enable rel=dns-prefetch on HTTPS documents.

Differential Revision: https://phabricator.services.mozilla.com/D205631
2024-04-17 13:54:05 +00:00
Andrew Creskey
1312eb3dff Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng
Split the rel=dns-prefetch behaviour from the Dom's speculative DNS prefetch for all anchor elements.
This will allow us to independently enable rel=dns-prefetch for https document without prefetching DNS for anchors.

This patch does not change the behaviour for either source of DNS prefetch.

Differential Revision: https://phabricator.services.mozilla.com/D205630
2024-04-17 13:54:05 +00:00
Henrik Skupin
735c8471c7 Bug 1891476 - [wpt] Fix intermittent failures in font-face-[003, 004].html. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D206622
2024-04-17 13:51:43 +00:00
pstanciu
aa611b64db Backed out changeset 5d23c8791538 (bug 1890245) for causing wpt failures on RecursiveMutex.cpp CLOSED TREE 2024-04-17 16:47:29 +03:00
Andrew Osmond
8c7ef92da0 Bug 1888634 - Disallow captureStream with canvas transferred to DOM worker. r=gfx-reviewers,lsalzman
This behaviour has yet to be defined by the spec and/or WPT, see:

https://github.com/w3c/mediacapture-fromelement/issues/65
https://github.com/w3c/mediacapture-extensions/pull/26
https://github.com/web-platform-tests/wpt/issues/21102

Differential Revision: https://phabricator.services.mozilla.com/D207582
2024-04-17 12:57:56 +00:00
mcarare
90fe921f97 Bug 1890790 - Skip unnecessary initialisations in Focus Robolectric tests. r=android-reviewers,tthibaud
This removes some noise related to metrics and Nimbus initialization in unit tests that use Robolectric. That was adding extra lines related to megazord init failures. Extension support initialization also added some noise.

The baseline log size ( as reported in the Bugzilla issue) downloaded from the browser was 108 MB

The log size after this patch (downloaded for the browser) is 4,9 MB.

An additional issue has been created to remove extra noise from other components like `TranslationsMiddleware` and system errors like PackageParser:

Differential Revision: https://phabricator.services.mozilla.com/D207348
2024-04-17 12:52:30 +00:00
Ryan VanderMeulen
9f38b9aa01 Bug 1888789 - Update Robolectric to version 4.12.1. r=geckoview-reviewers,android-reviewers,mcarare,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D207598
2024-04-17 12:49:02 +00:00
Barret Rennie
09a291b37b Bug 1883668 - Migrate gleanInternalSdk to use setPref r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D204524
2024-04-17 12:42:07 +00:00
Malte Juergens
0b87e0cf2a Bug 1885949 - Do not copy over HTTPS-First upgrade flag into new loadinfo r=necko-reviewers,freddyb,simonf,jesup
Differential Revision: https://phabricator.services.mozilla.com/D205048
2024-04-17 12:35:56 +00:00
Greg Mierzwinski
154791c4a2 Bug 1890318 - Update perfdocs linter documentation. r=perftest-reviewers,kshampur DONTBUILD
This patch updates the perfdocs linter documentation to contain the new config schema, and information about how to add documentation for the metrics.

Differential Revision: https://phabricator.services.mozilla.com/D206953
2024-04-17 12:34:31 +00:00
Greg Mierzwinski
764028466e Bug 1890318 - Add missing metrics to Raptor documentation. r=perftest-reviewers,kshampur DONTBUILD
This patch adds the final missing metrics that alert to the Raptor documentation.

Differential Revision: https://phabricator.services.mozilla.com/D206952
2024-04-17 12:34:30 +00:00
Greg Mierzwinski
db61601884 Bug 1890318 - Add unit tests for perfdocs metric documentation generation. r=perftest-reviewers,afinder DONTBUILD
This patch fixes some unit tests, and adds a new one for the metric documentation generation.

Differential Revision: https://phabricator.services.mozilla.com/D206951
2024-04-17 12:34:30 +00:00
Greg Mierzwinski
2c82f5dc16 Bug 1890318 - Add dynamic metric documentation to perfdocs. r=perftest-reviewers,aglavic DONTBUILD
This patch adds the ability to document metrics dynamically. The metrics are documented in the config YAML file for each framework, and then defined in a metrics.rst file. Two things are expected to be found in the framework docs now if they want to use dynamic metric documentation:
* A metrics.rst file that contains a `{metrics_documentation}` entry somewhere to insert the built documentation.
* A `{metrics_rst_name}` entry somewhere in the top-level/index.rst file so that a link can be produced to the metrics documentation.

The metrics documentation is specific to each framework. See the schema for the metrics for what is expected in this field. At the same time, the dynamic documentation for Raptor is generated here. Each metric in Raptor contains a list of all the tests that use (alert on) the specific metric. The tests link back to the test definition, and the metrics defined in the tests also link to the metric definitions.

Differential Revision: https://phabricator.services.mozilla.com/D206950
2024-04-17 12:34:29 +00:00
Greg Mierzwinski
39c5b0e5db Bug 1890318 - Remove metrics definition from suite/test levels, and gather valid metrics. r=perftest-reviewers,aglavic DONTBUILD
This patch removes the metric documentation definition ability from the suite/test levels. This is done because there's no case where a metric would need to be added to a single test, or a suite versus the global level. The tests that contain the metric are found automatically as well. Furthermore, it's already disallowed to have multiple definitions of a metric so having various levels makes no difference, and complicates the verification code. At the same time the valid metrics are gathered so that we can use them when building the metrics documentation. This prevents us from having to parse the YAML, and test lists a second time.

Differential Revision: https://phabricator.services.mozilla.com/D206949
2024-04-17 12:34:29 +00:00
Gregory Pappas
f36be1a7c4 Bug 1842507 - Remove media.mediasource.webm.audio.enabled pref r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D207622
2024-04-17 12:31:42 +00:00
sotaro
cf7c55f06a Bug 1889146 - Check if monitor of window enables HDR r=gfx-reviewers,bradwerth
Enable auto HDR only when monitor of window enables HDR.

Differential Revision: https://phabricator.services.mozilla.com/D207510
2024-04-17 12:29:35 +00:00
William Durand
d2f06271f2 Bug 1891693 - Add tests for messages originating from a service worker. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D207528
2024-04-17 12:28:20 +00:00
Emilio Cobos Álvarez
1ff52b5aae Bug 1891583 - Sanitize better broken GetClientHeight values. r=sotaro
I don't see how this can happen other than GetClientHeight giving us a
negative width / height (wtf), or somehow huge sizes that end up
overflowing into a negative number.

My patch avoided messing with the window decorations when switching
transparent windows, which could potentially trigger this I guess.

In any case this should be safe (because we deal with it in
PresentToWindow).

Differential Revision: https://phabricator.services.mozilla.com/D207509
2024-04-17 12:26:06 +00:00
Mirko Brodesser
db3ca28481 Bug 1890277: part 2) Add require-trusted-types-for directive to CSP parser, guarded behind the Trusted Types pref. r=tschuster,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D206998
2024-04-17 12:24:18 +00:00
Mirko Brodesser
2fcd7e5c5c Bug 1890277: part 1) Add CSP parser tests for require-trusted-types-for. r=tschuster
Differential Revision: https://phabricator.services.mozilla.com/D206997
2024-04-17 12:24:17 +00:00
Updatebot
52b6809fd4 Bug 1891915 - Update android nightly application-services version bump to 8df35e4c85df62b2cbdbde371e02f7093c4125bb r=release-managers,pascalc
Differential Revision: https://phabricator.services.mozilla.com/D207671
2024-04-17 12:22:51 +00:00
William Durand
0603e008af Bug 1797811 - Fallback to _execute_browser_action on MV3. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D207454
2024-04-17 12:21:17 +00:00
Malte Juergens
d313ef0621 Bug 1835983 - Update tests in toolkit/components/ to work with https-first enabled r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D204662
2024-04-17 12:17:37 +00:00
Malte Juergens
1339f2a503 Bug 1835983 - Make https://trackertest.org available to mochitest r=nss-reviewers,jschanck
cert9.db, key4.db and mochitest.client have been generated by ./mach python build/pgo/genpgocert.py,
as per https://firefox-source-docs.mozilla.org/build/buildsystem/test_certificates.html.

Differential Revision: https://phabricator.services.mozilla.com/D205545
2024-04-17 12:17:36 +00:00
pstanciu
469de1ccbd Backed out changeset b50e38a82a4b (bug 1891145) for causing bustages in History.h CLOSED TREE 2024-04-17 15:11:42 +03:00
Alexandre Poirot
562f86b071 Bug 1890247 - [devtools] Prevent leaking WindowGlobal target actor via LazyPool. r=devtools-reviewers,nchevobbe
We shouldn't try to request target actor's form late during the destroy sequence.
This would force to re-create the Lazy Target Scoped Actors via LazyPool,
which would ultimately force to re-instantiate a new _targetScopedActorsPool
which wouldn't be destroyed as it is created post-destruction.

Avoid re-instantiating the target scoped actors when we detect that the actor is being destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D207487
2024-04-17 11:57:02 +00:00
Rob Wu
39abdcc27e Bug 1826390 - Make sure that post-uninstall cleanup runs for generated extensions in mochitests r=zombie
Data and preferences associated with generated extensions used to not be
cleaned up properly upon extension shutdown. This patch changes the
implementation to force the unload and cleanup of generated extensions
in mochitests in these cases, and enables us to remove the temporary
exceptions in ignorePrefs.json from bug 1825953.

While the same lack-of-cleanup issue exists in xpcshell tests, this
patch does not change the behavior for xpcshell tests yet to minimize
the odds of side effects (e.g. longer-running tests and observed
differences due to cleanup tasks being run).

Differential Revision: https://phabricator.services.mozilla.com/D174758
2024-04-17 11:55:40 +00:00
Dennis Jackson
b00e9ae0b9 Bug 1891763 - land NSS NSS_3_100_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,nkulatova
Differential Revision: https://phabricator.services.mozilla.com/D207694
2024-04-17 11:45:12 +00:00
Dão Gottwald
6a2ee1af30 Bug 1891780 - Add DJ and Niklas as peers for Tabbed Browser. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D207604
2024-04-17 11:15:25 +00:00
Daisuke Akatsuka
2da9b49fd1 Bug 1891145: Implement history flooding protection r=places-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D207324
2024-04-17 10:40:44 +00:00
Tamas Szentpeteri
e697d81f93 Backed out 2 changesets (bug 1890277) for causing build bustages in nsCSPParser.cpp and mochitest failures in csp.properties. CLOSED TREE
Backed out changeset a2f1117a5422 (bug 1890277)
Backed out changeset 2ac938a72185 (bug 1890277)
2024-04-17 13:46:54 +03:00
Andreas Pehrson
d3e0b27507 Bug 1890873 - Avoid priming voice processing if the window is persistent blocked from microphone permission. r=jib
If a site has persistent DENY_ACTION, priming may cause unwanted audio glitches.
In this case, avoid priming altogether.

Differential Revision: https://phabricator.services.mozilla.com/D207214
2024-04-17 10:13:33 +00:00
Andreas Pehrson
89f4b44d7d Bug 1890873 - Prime a voice processing stream on macOS before showing gUM prompt. r=padenot
If priming is done when the gUM prompt is accepted by the user, creating the
voice processing stream is almost instantaneous since the primed stream can be
reused.

Differential Revision: https://phabricator.services.mozilla.com/D207213
2024-04-17 10:13:32 +00:00
Andreas Pehrson
a35c77dd10 Bug 1890873 - Rewrite #define CUBEB_TASK_THREAD as CubebUtils::GetCubebOperationThread. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D207212
2024-04-17 10:13:32 +00:00
Dennis Jackson
276e1e210c Bug 1891483 - Check parental controls before using ECH r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D207443
2024-04-17 09:53:52 +00:00
Dennis Jackson
212d70c505 Bug 1891470 - Add an Enterprise Policy for Encrypted Client Hello. r=jschanck,mkaply,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D207436
2024-04-17 09:52:03 +00:00
Tamas Szentpeteri
a86fd1fb23 Backed out changeset 4309f75eaa90 (bug 1883615) for causing build bustages related to check_symbol_in_libs. CLOSED TREE 2024-04-17 12:57:02 +03:00
Mirko Brodesser
9181aa119b Bug 1890277: part 2) Add require-trusted-types-for directive to CSP parser, guarded behind the Trusted Types pref. r=tschuster,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D206998
2024-04-17 09:39:54 +00:00
Mirko Brodesser
d981e92ac4 Bug 1890277: part 1) Add CSP parser tests for require-trusted-types-for. r=tschuster
Differential Revision: https://phabricator.services.mozilla.com/D206997
2024-04-17 09:39:53 +00:00
serge-sans-paille
469e6b7b31 Bug 1885334 - Change the signature of FdPrintf to use a platform-dependently-sized argument type r=glandium
That way we avoid some spurious casts

Differential Revision: https://phabricator.services.mozilla.com/D204648
2024-04-17 09:36:13 +00:00
serge-sans-paille
78ac6a6ccf Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium
The -ldl flag was previously set globally, it's now set for the libs
that use it.

Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.

Differential Revision: https://phabricator.services.mozilla.com/D203594
2024-04-17 09:33:00 +00:00
Henrik Skupin
9c1e9e8583 Bug 1884401 - [marionette] Use psutil on MacOS as custom process handler drop-in for mozrunner. r=webdriver-reviewers,spohl,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D204697
2024-04-17 09:08:24 +00:00
Tamas Szentpeteri
f470f354e0 merge mozilla-central to autoland. CLOSED TREE 2024-04-17 12:13:36 +03:00
Valentin Gosu
0e97d24398 Bug 1849686 - Refactor nsHttpChannel to add all headers before dispatching transaction r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D207430
2024-04-17 09:02:58 +00:00