Граф коммитов

11110 Коммитов

Автор SHA1 Сообщение Дата
Gregory Pappas e1c08f9fbf Bug 1777492 - Merge geckoview-prefs.js and mobile.js r=geckoview-reviewers,Standard8,owlish
Differential Revision: https://phabricator.services.mozilla.com/D185400
2023-10-17 04:57:00 +00:00
Narcis Beleuzu 4b3f6f7f43 Backed out changeset 5a4a0b5fd195 (bug 1777492) for crashtest failure on data:text/html . CLOSED TREE 2023-10-17 07:01:25 +03:00
Gregory Pappas b624d52de5 Bug 1777492 - Merge geckoview-prefs.js and mobile.js r=geckoview-reviewers,Standard8,owlish
Differential Revision: https://phabricator.services.mozilla.com/D185400
2023-10-17 01:53:54 +00:00
Ray Kraesig 67f01bb291 Bug 1858739 - update object crate to 0.32.0 r=glandium,mstange,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190833
2023-10-16 22:25:58 +00:00
KS 2ac48ba196 Bug 1835071 - Use custom start/stop for running chrome trace to profile benchmarks in CI. r=perftest-reviewers,sparky
This patch uses the custom browsertime exposed start/stop command
for using the chrome Trace. Previously the logic in browsertime
was intended for profiling pageloads, and would end prematurely before
the benchmark was completed. A similar custom start/stop approach was
done previously for the gecko profiler, and now the same thing is needed
here.

Differential Revision: https://phabricator.services.mozilla.com/D188128
2023-10-16 21:21:22 +00:00
Narcis Beleuzu d9036d4cd7 Backed out 3 changesets (bug 1850914) for lint failures on test/params/ . CLOSED TREE
Backed out changeset 193078fd7666 (bug 1850914)
Backed out changeset fb5aa25d1c68 (bug 1850914)
Backed out changeset f98c7051fd98 (bug 1850914)
2023-10-16 21:58:41 +03:00
Julien Cristau 25c06d09ef Bug 1850914 - exclude taskgraph test params from yamllint. r=ahal,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D190956
2023-10-16 18:00:58 +00:00
Geoff Brown 323a22df14 Bug 1858451 - Use subprocess instead of mozprocess in linters r=sylvestre
Convert mozprocess references in tools/lint to use subprocess instead: with this change, subprocess is used consistently throughout tools/lint. mozprocess is poorly maintained and can be easily replaced with modern subprocess.

Differential Revision: https://phabricator.services.mozilla.com/D190696
2023-10-16 13:24:46 +00:00
Sandor Molnar 4e7d0230df Backed out changeset 561899ab9176 (bug 1858065) for breaking local mach browsertime tooling CLOSED TREE 2023-10-16 15:29:57 +03:00
serge-sans-paille 272077c094 Bug 1858065 - Use packaging's Version instead of distutils' StrictVersion r=saschanaz
distutils have been removed from Python 3.12.

Differential Revision: https://phabricator.services.mozilla.com/D190540
2023-10-16 12:18:12 +00:00
Nazım Can Altınova 1f0074deff Bug 1858927 - Indent the auto-generated tools/browsertime/package.json file r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D190923
2023-10-16 08:52:58 +00:00
Sylvestre Ledru 1e776756dd Bug 1856795 - ride along: use = default; on some recently modified files r=emilio
More on:
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html

Command:
L=$(hg export -r tip|grep +++|cut -d/ -f2-)
./mach static-analysis check --checks="-*, modernize-use-equals-default" --fix $L

Differential Revision: https://phabricator.services.mozilla.com/D191016
2023-10-15 15:29:03 +00:00
Sylvestre Ledru d0f6c7fc66 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-15 15:29:02 +00:00
Cristina Horotan 6a90f5eded Backed out 2 changesets (bug 1856795) for causing build bustage at BasicEvents.h CLOSED TREE
Backed out changeset 1d98b028923a (bug 1856795)
Backed out changeset eae2ac93e17c (bug 1856795)
2023-10-14 21:42:14 +03:00
Sylvestre Ledru c164bd9937 Bug 1856795 - ride along: use = default; on some recently modified files r=emilio
More on:
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html

Command:
L=$(hg export -r tip|grep +++|cut -d/ -f2-)
./mach static-analysis check --checks="-*, modernize-use-equals-default" --fix $L

Differential Revision: https://phabricator.services.mozilla.com/D191016
2023-10-14 17:34:27 +00:00
Sylvestre Ledru cc8a0ee742 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-14 17:34:26 +00:00
serge-sans-paille f839aeb59b Bug 1858299 - moz.yaml file should not start with --- r=tjr
That's usually a requirement for yaml files, but this break updatebot,
so add an exception here.

Differential Revision: https://phabricator.services.mozilla.com/D190651
2023-10-13 11:56:37 +00:00
Tom Marble 0cb91fe33e Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu
Differential Revision: https://phabricator.services.mozilla.com/D190515
2023-10-13 02:32:24 +00:00
Mark Banner 28b01ddf72 Bug 1858146 - Make more global properties available for sjs files. r=necko-reviewers,jesup
There are a couple of example removals to show it works, bug 1858148 will handle the rest.

Differential Revision: https://phabricator.services.mozilla.com/D190603
2023-10-10 21:38:57 +00:00
Kershaw Chang ff5a7836c1 Bug 1857217 - Understand the IPC delays introduced by socket process, r=acreskey,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D190182
2023-10-10 15:09:18 +00:00
Greg Mierzwinski 6506d97c9e Bug 1845932 - Rework mach-try-perf commit message to be shorter. r=perftest-reviewers,AlexandruIonescu DONTBUILD
This patch changes the mach-try-perf commit message (first line) to be much shorter, and limited to 200 characters. Instead of displaying both the queries, and the actual selections on the same line, this patch splits it into two lines. This provides better formatting options for the queries displayed as well.

Differential Revision: https://phabricator.services.mozilla.com/D190090
2023-10-10 14:36:38 +00:00
Christian Holler afee8d1548 Bug 1854349 - Make trigger in IPC fuzzing configurable. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D188860
2023-10-10 10:33:46 +00:00
Emilio Cobos Álvarez 25c0d10932 Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.

I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).

Differential Revision: https://phabricator.services.mozilla.com/D190450
2023-10-10 08:51:12 +00:00
serge-sans-paille d3e574bc41 Bug 1857234 - Have mach vendor's `**` globbing match hidden files r=tjr,devtools-reviewers,cubeb-reviewers,padenot,ochameau
This patch contains three changes:

1. a local version of glb.iglob in vendor_manifest.py that always
   matches hidden files for '**'. I've tested it on Python 3.5 up to
   3.12 and it works as expected.

2. a cleanup of many moz.yaml files that got convluted because of the
   previous behavior of '**'

3. removal of a few useless files that are now caught by the '**'
   globbing.

Differential Revision: https://phabricator.services.mozilla.com/D190195
2023-10-10 08:21:13 +00:00
Kagami Sascha Rosylight 670e93e456 Bug 1857879 - Include hazard analysis to Analysis tab r=marco
Differential Revision: https://phabricator.services.mozilla.com/D190443
2023-10-09 12:00:05 +00:00
Sylvestre Ledru 7baa783763 Bug 1857550 - clang-tidy: add test for readability-redundant-member-init r=linter-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D190396
2023-10-08 08:52:27 +00:00
Connor Sheehan c527ee26c2 Bug 1857296: `--push-to-lando` will submit even with no relevant commits r=glob
Update the output during a Lando-try push to indicate the contents more clearly.
Indicate when the push will only include the try config commit, and use better
phrasing when the stack is just 1 commit and the try config commit.

Differential Revision: https://phabricator.services.mozilla.com/D190219
2023-10-06 17:58:46 +00:00
Connor Sheehan 70860dc50e Bug 1856960: validate the Lando access token expiration manually r=zeid
The token verification code path checks the ID token is valid and not expired,
however the ID token and the access token have different expirations, causing
pushes to be rejected by Lando after local verification succeeds. Since
`auth0-python` doesn't provide an access token verification, we decode the
access token and manually verify the token is not about to expire.

Differential Revision: https://phabricator.services.mozilla.com/D190296
2023-10-06 17:06:52 +00:00
Logan Rosen 2df8cb1208 Bug 1852645 - fix mach try chooser regression r=ahal,jgraham
With the fix to Bug 1786490, we are now using Werkzeug 2.1.2, which removed the shutdown function that the chooser was relying on to shut down the Flask server after selecting tasks. To remedy this, I followed the instructions [here](https://werkzeug.palletsprojects.com/en/2.3.x/serving/#shutting-down-the-server) for shutting down the server using multiprocessing instead.

Since multiprocessing needs to pickle the objects with the spawn method (fork is not available on Windows and is not used by default on macOS), I needed to make ReadOnlyDict picklable by adding a `__reduce__` method like what is implemented [here](https://github.com/Marco-Sulla/python-frozendict/blob/master/src/frozendict/core.py#L142), as it is used in the task object that's passed to the Flask app.

***

Differential Revision: https://phabricator.services.mozilla.com/D187952
2023-10-06 16:30:47 +00:00
Sylvestre Ledru cfcaf0ad1f Bug 1856795 - Enable readability-redundant-member-init r=linter-reviewers,ahal DONTBUILD
Depends on D190002

Differential Revision: https://phabricator.services.mozilla.com/D190008
2023-10-06 07:46:43 +00:00
serge-sans-paille 58903aaa06 Bug 1856988 - Vendor libfuzzer using `mach vendor` r=decoder
We hit some limitations of the globbing system in exclude file, which
relies on glob.iglob and skips dotfiles...

As a side effect update the license to the one actually shipped with
libfuzzer.

Differential Revision: https://phabricator.services.mozilla.com/D190068
2023-10-05 18:45:40 +00:00
Emilio Cobos Álvarez 5e24b302c6 Bug 1857282 - Add a layout try preset. r=dshin
This is roughly what I use for a common sanity-check. Does it feel
useful? Am I missing something?

Differential Revision: https://phabricator.services.mozilla.com/D190213
2023-10-05 17:29:55 +00:00
Cristian Tuns 39cbd706eb Backed out changeset 6b3aa93d1a33 (bug 1856988) for causing lint failures in moz.yaml CLOSED TREE 2023-10-05 10:13:05 -04:00
serge-sans-paille e9ccf17041 Bug 1856988 - Vendor libfuzzer using `mach vendor` r=decoder
We hit some limitations of the globbing system in exclude file, which
relies on glob.iglob and skips dotfiles...

As a side effect update the license to the one actually shipped with
libfuzzer.

Differential Revision: https://phabricator.services.mozilla.com/D190068
2023-10-05 13:23:46 +00:00
Christian Holler 53368507cb Bug 1855915 - Make IPCFuzzController less verbose when actors are destroyed. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D189631
2023-10-04 10:01:27 +00:00
Julien Cristau 93630da8b8 Bug 1851988 - fix some python string escape sequences r=webdriver-reviewers,perftest-reviewers,whimboo,afinder,releng-reviewers,firefox-build-system-reviewers,ahal,sergesanspaille
Use r-strings or escape backslashes to avoid a deprecation warning.

Differential Revision: https://phabricator.services.mozilla.com/D187655
2023-10-04 09:49:09 +00:00
Mike Hommey ae92ce00f6 Bug 1856532 - Upgrade builders to clang 17.0.2. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189899
2023-10-03 20:48:31 +00:00
Greg Mierzwinski 1a79922213 Bug 1856379 - [perfdocs] Produce a lint error when no files were changed. r=perftest-reviewers,kshampur
This patch fixes an issue where the PerfDocLogger only produced an error when any file was changed which results in some odd behaviours. Now, when no files are changed, we produce a lint error that doesn't specify the file that contains the error. At the same time, a test is added for this.

Differential Revision: https://phabricator.services.mozilla.com/D189934
2023-10-03 18:56:34 +00:00
Connor Sheehan 8c8624b6dd Bug 1856588: clarify --push-to-lando pushes stack plus one try commit r=zeid
The statement "pushed 3 commits" can be confusing because the user has
actually pushed 2 of their own commits, plus one try config commit. Clarify
this in the command output.

Differential Revision: https://phabricator.services.mozilla.com/D189944
2023-10-03 15:08:54 +00:00
Rob Wu 98a3343ddf Bug 1856473 - Add webextensions-tests preset r=extension-reviewers,zombie
The path of GeckoView extension tests [1] are not included in the query,
because they would not be run anyway (bug 1826909).

[1]: mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/WebExtensionTest.kt

Differential Revision: https://phabricator.services.mozilla.com/D189869
2023-10-03 09:34:15 +00:00
Sylvestre Ledru 73b18f5ab7 Bug 1856530 - enable file-perm on toml files r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D189898
2023-10-03 09:22:19 +00:00
Sylvestre Ledru f8cfe7202a Bug 1856530 - enable file-whitespace on toml files r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189897
2023-10-03 09:22:19 +00:00
Sylvestre Ledru 4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Connor Sheehan c1c2126fce Bug 1835962: add support for `mach try` to submit to Lando r=zeid,mach-reviewers,ahochheiden
Add support for submitting stacks of commits to Lando for queueing
on Try, instead of pushing to hg.mozilla.org directly. This patch
implements the Device Code Authorization flow for Auth0, simple changeset
discovery and patch gathering, and submissing to Lando via HTTP POST.

Add a `try.txt` virtualenv site that contains packages from the common
virtualenv as well as the `auth0-python` package for verifying Auth0
JWTs. Use this new virtualenv for `mach try` and related subcommands.
Add a `--push-to-lando` flag that controls whether the push will be made
via the Lando API or using the VCS to hg.mozilla.org directly.

Create a `lando.py` module in the `tryselect` package that handles the
details around submitting to Lando. Authentication is handled by the
Device Code Authorization flow, and the returned access token is saved
to the mozbuild state directory. Auth0 details are added to the `.lando.ini`
file in the repo root, and a `LANDO_TRY_USE_DEV` environment variable can
be set to control submitting to the prod or dev Lando environments.
This module also includes patch stack gathering and discovery via `mozversioncontrol`.

mozversioncontrol's `Repository` subclass is extended with helper functions
to gather patch files from Mercurial and Git. We also add a `try_config_commit`
context manager that creates a temporary commit to hold try syntax commit
messages and/or a `try_task_config.json` file, which is removed from version
control on submission.

The `mach try` cram tests now use a separate virtualenv that must be built
before running, causing unexpected output in the tests. Run `mach try --help`
in the test setup to force the virtualenv to be built before running any
test.

`mach try chooser` would previously install packages for a small web application
from a `requirements.txt` file when run. Install these via the new `try.txt`
site environment instead. The required dependencies are also added to the
`python-test.txt` site since they will cause some tests to fail due to the
missing dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D187641
2023-10-02 14:31:43 +00:00
Mark Banner bed6c05a75 Bug 1774888 - Remove XPCOMUtils.defineLazyModuleGetter. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D189722
2023-10-02 09:48:01 +00:00
Andi-Bogdan Postelnicu 72276f379c Bug 1855848 - fix infra bust for static-analysis autotest. r=sylvestre DONTBUILD
This is because the std is not located in the default location where the compiler
searches.
This is normal, but for autotest we don't generate a compile commands through the build
system, we generate a dummy one, with dummy paths so we need to transplant definitions
from std to the test files.

Differential Revision: https://phabricator.services.mozilla.com/D189619
2023-09-29 22:01:46 +00:00
Joel Maher 60cffb40ee Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.75). r=aryx,extension-reviewers,application-update-reviewers,credential-management-reviewers,places-reviewers,profiler-reviewers,nalexander,canaltinova,Standard8,robwu,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D189382
2023-09-29 20:40:10 +00:00
Narcis Beleuzu 33ed26cf06 Backed out changeset 8265e6272d20 (bug 1853245) for breaking the Decision Task. CLOSED TREE 2023-09-29 19:45:01 +03:00
Joel Maher 56f31dc67a Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.75). r=aryx,extension-reviewers,application-update-reviewers,credential-management-reviewers,places-reviewers,profiler-reviewers,nalexander,canaltinova,Standard8,robwu,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D189382
2023-09-29 16:27:29 +00:00
Mike Hommey 83f4904aca Bug 1855631 - Upgrade bindgen to 0.68.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189457
2023-09-29 00:06:10 +00:00
Jan Varga c458754592 Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D189226
2023-09-28 20:46:07 +00:00
Sylvestre Ledru 1ee8840016 Bug 1855672 - Enable some new clang-tidy checkers r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189486
2023-09-28 16:03:55 +00:00
Tim Huang 051088939f Bug 1834274 - Part 1: Implement nsIRFPService.idl for nsRFPService. r=emilio
To allow remote settings client to set fingerprinting overrides from
Javascript, we need to implement nsIRFPService for nsRFPService.

This patch changes the return format of nsRFPService::GetOrCreate() to
match the singleton implementation of nsIRFPService. As a result of it,
we need to change the first init call in nsContentUtils because we
cannot forward a already_AddRefed<> to mozilla::Unused. It will cause a
memory leak.

Differential Revision: https://phabricator.services.mozilla.com/D182809
2023-09-27 14:58:25 +00:00
Mark Banner 03c088d08d Bug 1851632 - Add ESLint documentation about adding rules and plugins. r=Gijs,mossop
Differential Revision: https://phabricator.services.mozilla.com/D187475
2023-09-26 21:27:40 +00:00
Yury Delendik 8667790959 Bug 1846534 - Track unwind info for tail calls. r=jseward,mstange,profiler-reviewers
Tail calls are doing some stack data manipulations, and profiler (iterator) needs to know how to find where caller RA and FP stored. A platform now preserves temporary registers used to store FP/RA using collapse frame operations.

Differential Revision: https://phabricator.services.mozilla.com/D183269
2023-09-26 21:08:00 +00:00
Sandor Molnar b15dd3b0d9 Backed out 4 changesets (bug 1834274) Mn failures on browser/components/tests/marionette/test_no_errors_clean_profile.py CLOSED TREE
Backed out changeset c28b3520f3d7 (bug 1834274)
Backed out changeset e57a1b1b05c8 (bug 1834274)
Backed out changeset aae42550c449 (bug 1834274)
Backed out changeset 79b200c1060e (bug 1834274)
2023-09-26 19:10:23 +03:00
Tim Huang d68f687593 Bug 1834274 - Part 1: Implement nsIRFPService.idl for nsRFPService. r=emilio
To allow remote settings client to set fingerprinting overrides from
Javascript, we need to implement nsIRFPService for nsRFPService.

This patch changes the return format of nsRFPService::GetOrCreate() to
match the singleton implementation of nsIRFPService. As a result of it,
we need to change the first init call in nsContentUtils because we
cannot forward a already_AddRefed<> to mozilla::Unused. It will cause a
memory leak.

Differential Revision: https://phabricator.services.mozilla.com/D182809
2023-09-26 14:07:47 +00:00
Mark Banner adc07ece4e Bug 1854913 - Turn off ESLint rule mozilla/use-chromeutils-generateqi for plain mochitests as it should not apply there. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D189099
2023-09-26 13:38:20 +00:00
Andi-Bogdan Postelnicu b7b3a15bfc Bug 1855169 - static-analysis autotest fix. r=marco
Fixed fallout from migration to clang-17 where clang-tidy checker
bugprone-swapped-arguments has its message changed a bit.

Differential Revision: https://phabricator.services.mozilla.com/D189211
2023-09-26 10:32:13 +00:00
Mike Hommey b11b9075c4 Bug 1836193 - Update builders to clang 17. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D188634
2023-09-26 00:17:17 +00:00
Markus Stange b474c8da56 Bug 1853720 - Add a "hot" variant of AUTO_PROFILER_LABEL, for lower overhead when the profiler is disabled. r=aabh,profiler-reviewers
The overhead is showing up in Speedometer 3, especially in the innerHTML setter
when it calls into the frame constructor.

Full breakdown of callers across sp3 is here: https://share.firefox.dev/3rfckTG

Time spent in AutoProfilerLabel during TodoMVC-jQuery innerHTML:
Before: https://share.firefox.dev/3Znlydp 378 sampes
After: https://share.firefox.dev/45VdVgr 71 samples

Differential Revision: https://phabricator.services.mozilla.com/D188487
2023-09-25 19:36:41 +00:00
Markus Stange abfc9f5199 Bug 1853720 - Inline-away AutoProfilerLabel::Push. r=aabh,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188486
2023-09-25 19:36:41 +00:00
Mark Banner c2782050e8 Bug 1854948 - Remove support for Cu.import and XPCOMUtils.defineLazyModuleGetter from most of ESLint. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D189132
2023-09-25 14:26:43 +00:00
Julien Cristau 5e4f6d4866 Bug 1854364 - add common options to "empty" try selector. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D188824
2023-09-25 11:52:24 +00:00
Mark Banner 3b817161dd Bug 1854783 - Remove some unnecessary ESLint globals and exports declarations. r=mossop,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189046
2023-09-25 11:11:54 +00:00
Christian Holler 2740047e37 Bug 1853933 - Make IPCFuzzController less verbose. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D188593
2023-09-21 08:26:27 +00:00
serge-sans-paille a6838d00a5 Bug 1836901 - Use taskcluster-built python for source-test task r=glandium
Because we use an older version of Python than the one generally used on
the host system, this implied enforcing a few package requirements.

Differential Revision: https://phabricator.services.mozilla.com/D180057
2023-09-20 04:49:03 +00:00
Haik Aftandilian 298f1ffaed Bug 1593072 - Patch 3 - Add parent process, plugin-container, media-plugin-container, and utility entitlement files as v2 versions r=spohl
Add separate entitlement lists for the parent process, plugin-container, and media-plugin-helper executables. Add a utility entitlement list to use for non-browser executables in developer builds to support debugging. For production codesigning versions, only allow loading of unsigned libraries by the media-plugin-helper executable. Limit most entitlements to the parent process executable.

A subsequent fix to taskcluster code will enable the new entitlements.

Other executables in the bundle will have no entitlements.

Differential Revision: https://phabricator.services.mozilla.com/D187245
2023-09-18 15:00:10 +00:00
Haik Aftandilian 245f70f05b Bug 1593072 - Patch 2 - Move existing entitlement files into a v1 directory r=spohl
Move existing entitlement files into a v1 directory and removed unused versions.

Differential Revision: https://phabricator.services.mozilla.com/D187244
2023-09-18 15:00:10 +00:00
Marco Bonardo 70fdad6676 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Masatoshi Kimura a19297dc5d Bug 1852806 - Remove macros for older Windows SDK from tools/profiler/. r=profiler-reviewers,florian
Depends on D188029

Differential Revision: https://phabricator.services.mozilla.com/D188030
2023-09-15 03:19:28 +00:00
Cosmin Sabou f8c16a8f94 Backed out 15 changesets (bug 1852806) for causing mda failures on test_video_low_power_telemetry.html. CLOSED TREE
Backed out changeset faea1f4cb9a9 (bug 1852806)
Backed out changeset 4db93c374f9b (bug 1852806)
Backed out changeset 7e40e0e04921 (bug 1852806)
Backed out changeset b0a66c4269ce (bug 1852806)
Backed out changeset 4ff3545936f9 (bug 1852806)
Backed out changeset 02c0a8eb3fd6 (bug 1852806)
Backed out changeset ae2c7b33acfb (bug 1852806)
Backed out changeset 2b89ba254a1a (bug 1852806)
Backed out changeset dfa4f73fc548 (bug 1852806)
Backed out changeset daffcc4c1877 (bug 1852806)
Backed out changeset 33855bcdf15e (bug 1852806)
Backed out changeset 694f29707f3e (bug 1852806)
Backed out changeset 1891eda22a59 (bug 1852806)
Backed out changeset 1b854941389c (bug 1852806)
Backed out changeset 2f7cfe04be59 (bug 1852806)
2023-09-15 09:48:27 +03:00
Masatoshi Kimura 61acede0f2 Bug 1852806 - Remove macros for older Windows SDK from tools/profiler/. r=profiler-reviewers,florian
Depends on D188029

Differential Revision: https://phabricator.services.mozilla.com/D188030
2023-09-15 03:19:28 +00:00
Sandor Molnar 950a3c620d Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo 61f8ecc425 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Benjamin De Kosnik 3a6200ddc3 Bug 1830181 - Add PerfStats for DocAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D185615
2023-09-13 19:28:00 +00:00
Tom Marble 9e40a719f2 Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Yannis Juglaret b8a4d1cccb Bug 1836225 - Prevent stack walking deadlock with background hang monitor. r=handyman,florian
InitializeWin64ProfilerHooks is called by the profiler to avoid deadlock
situations that can occur during stack walking. Actually, this is needed
not only for the profiler, but for any code that relies on stack
walking; and in particular the background hang monitor. So, let's move
this part outside of profiler code, and call it from the background
hang monitor.

Depends on D181435

Differential Revision: https://phabricator.services.mozilla.com/D181436
2023-09-13 14:32:51 +00:00
Yannis Juglaret 33453c44ab Bug 1836225 - Prevent stack walking deadlock on Windows aarch64. r=handyman,florian
On Windows aarch64 and x64 builds, stack walking relies on
RtlLookupFunctionEntry. This can lead to deadlock, which we avoid in x64
builds by adding stack walking suppressions. We must do the same in
aarch64 builds to avoid the same deadlock situation, but we are
missing some stack walk suppression paths. Let's fix that.

Differential Revision: https://phabricator.services.mozilla.com/D181435
2023-09-13 14:32:50 +00:00
Bob Owen a25c682e3b Bug 1851555: Add line for PATH env var to Windows ASan build instructions mozconfig. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D187582
2023-09-12 11:54:07 +00:00
Masatoshi Kimura 72af0f0aea Bug 1851937 - Add nsIDefaultAgent to platform-specific interfaces. r=nrishel
Differential Revision: https://phabricator.services.mozilla.com/D187892
2023-09-11 17:49:41 +00:00
Hanna Jones 4dd5370b53 Bug 1848365 - add linter exception for attributes used in Lit components r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D187820
2023-09-11 13:21:41 +00:00
Logan Rosen 0ea7512aa9 Bug 1750450 - update to Sphinx 5.3.0 r=sylvestre,firefox-source-docs-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D187860
2023-09-11 07:16:10 +00:00
Daisuke Akatsuka 8e9e77f019 Bug 1850902: Remove browser.fixup.alternate.enabled pref and its code path r=jteow,mak
Differential Revision: https://phabricator.services.mozilla.com/D187237
2023-09-10 22:33:27 +00:00
ahochheiden 7341e5e84d Bug 1831442 - Fix an issue with `./mach install-moz-phab` on `Ubuntu 23.04` and `Debian 12` r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D182497
2023-09-09 02:24:40 +00:00
Logan Rosen f024d94b2b Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D186092
2023-09-06 16:14:30 +00:00
Logan Rosen 983bcd711b Bug 1786490 - update chooser to Flask v2 r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D186410
2023-09-06 16:14:30 +00:00
Logan Rosen 658caae5b1 Bug 1786490 - update to black 23.3.0 r=sylvestre,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D186086
2023-09-06 16:14:29 +00:00
Nicholas Rishel d11b1b7541 Bug 1838754 - Part 3: Handle WDBA uninstall task unscheduling in standalone proxy executable so that it's executed with the same permissions as the uninstaller. r=nalexander
This can be reverted once Bug 1710143 lands.

Depends on D174973

Differential Revision: https://phabricator.services.mozilla.com/D187068
2023-09-05 20:55:26 +00:00
Nicholas Rishel 24930150b4 Bug 1838754 - Part 1: Move WDBA into a background task. r=nalexander,mossop
Depends on D187067

Differential Revision: https://phabricator.services.mozilla.com/D174972
2023-09-05 20:55:25 +00:00
Dana Keeler 58b11864ed Bug 1840135 - introduce rust implementation of nsIDataStorage r=nkulatova,nika,mak
Differential Revision: https://phabricator.services.mozilla.com/D181904
2023-09-05 17:14:51 +00:00
Manuel Bucher f71f056ccf Bug 1846540 - Improve IPC fuzzing doc r=decoder
Added my notes from when I was reproducing an IPC test failure.

* fix deprecation warning in fuzzfetch
* fix one spelling mistake
* add example command for IPC test case reproduction

Differential Revision: https://phabricator.services.mozilla.com/D186708
2023-09-05 13:18:15 +00:00
Mark Banner e640e38886 Bug 1563927 - Upgrade stylelint to the latest version. r=Gijs
Depends on D186882

Differential Revision: https://phabricator.services.mozilla.com/D187424
2023-09-05 12:59:31 +00:00
Mark Banner 640bcbbba0 Bug 1563927 - Add JSON linting via ESLint. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D186882
2023-09-05 12:59:31 +00:00
Mark Banner db70ee3220 Bug 1563927 - Fix existing JSON issues detected by eslint-plugin-json. r=Gijs,extension-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D186881
2023-09-05 12:59:30 +00:00
Joel Maher be038e3cb1 Bug 1851194 - adjust try_fuzzy.py to not have a variant as a choice. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D187298
2023-09-01 19:31:33 +00:00
serge-sans-paille 431b9817a1 Bug 1850951 - Avoid redundant initialisation of large buffer under -ftrivial-auto-var-init r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D187201
2023-09-01 07:22:46 +00:00
Iulian Moraru 02731904bb Backed out changeset e69a7143b38d (bug 1840135) for causing failures on test_sss_sanitizeOnShutdown.js.CLOSED TREE 2023-09-01 07:55:01 +03:00
Iulian Moraru 6b72bb6d92 Backed out 9 changesets (bug 1838754, bug 1778754) for causing multiple build bustages. CLOSED TREE
Backed out changeset d412fdc431d3 (bug 1778754)
Backed out changeset b07c43c2d0e3 (bug 1838754)
Backed out changeset 744552ffb916 (bug 1838754)
Backed out changeset 19a063fe4fc3 (bug 1838754)
Backed out changeset 85eb99b90c26 (bug 1838754)
Backed out changeset 626918ba3444 (bug 1838754)
Backed out changeset c4064dbb85a6 (bug 1838754)
Backed out changeset af624d29c748 (bug 1838754)
Backed out changeset 5a50ccbb53b0 (bug 1838754)
2023-09-01 02:16:43 +03:00
John Schanck 7438e57809 Bug 1816519 - implement getAuthenticatorData for AuthenticatorAttestationResponse. r=keeler,webidl,emilio,smaug
Depends on D186806

Differential Revision: https://phabricator.services.mozilla.com/D186374
2023-08-31 22:56:50 +00:00
Nicholas Rishel 9c87c4e534 Bug 1838754 - Part 3: Handle WDBA uninstall task unscheduling in standalone proxy executable so that it's executed with the same permissions as the uninstaller. r=nalexander
This can be reverted once Bug 1710143 lands.

Depends on D174973

Differential Revision: https://phabricator.services.mozilla.com/D187068
2023-08-31 22:45:07 +00:00
Nicholas Rishel 571d7dc087 Bug 1838754 - Part 1: Move WDBA into a background task. r=nalexander,mossop
Depends on D187067

Differential Revision: https://phabricator.services.mozilla.com/D174972
2023-08-31 22:45:06 +00:00
Iulian Moraru 6fa14bea14 Backed out 2 changesets (bug 1816519, bug 1816520) for causing build bustages on WinWebAuthnManager.cpp. CLOSED TREE
Backed out changeset 1bae007bf17b (bug 1816520)
Backed out changeset 96cdbead4d15 (bug 1816519)
2023-08-31 23:07:26 +03:00
Dana Keeler b88348a253 Bug 1840135 - introduce rust implementation of nsIDataStorage r=nkulatova,nika,mak
Differential Revision: https://phabricator.services.mozilla.com/D181904
2023-08-31 18:20:43 +00:00
John Schanck 7933f948be Bug 1816519 - implement getAuthenticatorData for AuthenticatorAttestationResponse. r=keeler,webidl,emilio,smaug
Depends on D186806

Differential Revision: https://phabricator.services.mozilla.com/D186374
2023-08-31 18:06:48 +00:00
Cosmin Sabou 2d7b94471e Backed out 2 changesets (bug 1816520, bug 1816519) for non-unified build bustages on AuthrsBridge_ffi.h. CLOSED TREE
Backed out changeset 03d6e3a37329 (bug 1816520)
Backed out changeset 891504a115dd (bug 1816519)
2023-08-31 09:21:24 +03:00
John Schanck eb35827ea1 Bug 1816519 - implement getAuthenticatorData for AuthenticatorAttestationResponse. r=keeler,webidl,emilio,smaug
Depends on D186806

Differential Revision: https://phabricator.services.mozilla.com/D186374
2023-08-31 04:48:19 +00:00
Norisz Fay b16c6e1f04 Backed out changeset 568451480af9 (bug 1840135) for causing bustage on DataStorageManager.cpp CLOSED TREE 2023-08-31 03:12:12 +03:00
Dana Keeler 05774ab008 Bug 1840135 - introduce rust implementation of nsIDataStorage r=nkulatova,nika,mak
Differential Revision: https://phabricator.services.mozilla.com/D181904
2023-08-30 22:17:11 +00:00
Logan Rosen c80fdb8ab7 Bug 1715612 - remove usage of six in tools/lint r=linter-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D186095
2023-08-25 09:40:34 +00:00
Mark Banner 4e22b886bb Bug 1812550 - Update most mozilla plugin eslint rules to use 'latest' parser versions. r=Gijs,devtools-reviewers
This updates everything except for linting of eslint-plugin-mozilla which needs to work with older node versions.

Differential Revision: https://phabricator.services.mozilla.com/D186679
2023-08-23 15:18:05 +00:00
Mike Hommey 32f1151bdc Bug 1849718 - Remove redundant `use`. r=canaltinova
MarkerOptions is already imported via `pub use options::*;`.

Differential Revision: https://phabricator.services.mozilla.com/D186664
2023-08-22 20:43:49 +00:00
Paul Adenot 001148d1c8 Bug 1849271 - Flip test when checking for the presence of optional colorspace members on a VideoDecoderConfig. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D186530
2023-08-22 14:33:21 +00:00
Greg Mierzwinski bb0cb46996 Bug 1848876 - [mach-try-perf] Add option to use PerfCompare Beta. r=perftest-reviewers,kshampur
This patch adds an option to use the PerfCompare Beta link instead of the CompareView link.

Differential Revision: https://phabricator.services.mozilla.com/D186274
2023-08-17 18:08:37 +00:00
Gijs Kruitbosch e744e32695 Bug 1847322 - use https for license linter autofix, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D185486
2023-08-17 12:53:32 +00:00
Tooru Fujisawa feda566217 Bug 1847469 - Part 13: Use column number types in PCToLineNumber. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D185751
2023-08-16 17:31:39 +00:00
Cristian Tuns 4fe9ed8f30 Backed out 27 changesets (bug 1847469) for causing spidermonkey bustages in Script.cpp CLOSED TREE
Backed out changeset 9d6e2651a013 (bug 1847469)
Backed out changeset 9b72d668efd2 (bug 1847469)
Backed out changeset 86abf5cf0a22 (bug 1847469)
Backed out changeset 46833087f8ac (bug 1847469)
Backed out changeset f3e2207fdeec (bug 1847469)
Backed out changeset aed75776cfff (bug 1847469)
Backed out changeset 8292a38bd99f (bug 1847469)
Backed out changeset 1320f83fb8c7 (bug 1847469)
Backed out changeset df9f925f9837 (bug 1847469)
Backed out changeset 69f32cf1862a (bug 1847469)
Backed out changeset b2ddddec8818 (bug 1847469)
Backed out changeset 056eed7abc97 (bug 1847469)
Backed out changeset 5df4f43ac0bf (bug 1847469)
Backed out changeset cb57923f6532 (bug 1847469)
Backed out changeset a0993f2a2195 (bug 1847469)
Backed out changeset 782499fbedf2 (bug 1847469)
Backed out changeset cf84fb98c5e1 (bug 1847469)
Backed out changeset 1fa5ab59814b (bug 1847469)
Backed out changeset f5f78944df81 (bug 1847469)
Backed out changeset aa14337bf5c6 (bug 1847469)
Backed out changeset 6757db4575d7 (bug 1847469)
Backed out changeset 236ff135701e (bug 1847469)
Backed out changeset 9b4d5b435020 (bug 1847469)
Backed out changeset a0f789621bc8 (bug 1847469)
Backed out changeset c19b81f48055 (bug 1847469)
Backed out changeset b4521e546d7e (bug 1847469)
Backed out changeset f26a10289316 (bug 1847469)
2023-08-16 07:08:01 -04:00
Tooru Fujisawa 2415cca7ce Bug 1847469 - Part 13: Use column number types in PCToLineNumber. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D185751
2023-08-16 10:26:30 +00:00
Frederic Wang 3ca3383228 Bug 1847201 - Reorganize and tweak tests for mathml.disabled=true. r=emilio
After bug 1847177, the only remaining tests in layout/mathml/tests are
for testing the effect of mathml.disabled=true.

test_disabled.html is a plain mochitest, rename it
dynamic-math-tree-001.html and move it into
testing/web-platform/mozilla/tests/mathml/disabled. The iframe added in
bug 1470163 is no longer necessary since the preference is enabled in
the __dir__ini manifest.

test_disabled_chrome.html is a chrome mochitest checking that MathML
is still laid out in Chrome document when mathml.disabled is true. It
is a bit complex and non-obvious so try to rewrite it in a more
straightforward way. Also use test_disabled_chrome_iframe.html as
a file name for the the iframe content to make clear it's associated
to this test. Probably this test could be rewritten as a browser
mochitest (see bug 1847206).

math-parse01.html is copied from the the upstream WPT repo but runs
with mathml.disabled=true. Move it into the same directory as other
WPT tests testing support when MathML is disabled.

Finally, also enable linting for layout/mathml/tests.

Differential Revision: https://phabricator.services.mozilla.com/D185426
2023-08-16 09:06:01 +00:00
Myeongjun Go 5bc8930ccf Bug 1667866 - Add mach try command to rerun performance tests from a specific alert r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181333
2023-08-15 12:50:08 +00:00
Markus Stange 868b4e2d64 Bug 1790826 - Add more detail to the Try documentation for running downloaded macOS builds. r=haik,glandium
Differential Revision: https://phabricator.services.mozilla.com/D157329
2023-08-14 21:32:25 +00:00
Greg Mierzwinski 7fbc7b5648 Bug 1802567 - Increase task selection limit in mach try perf to 600. r=perftest-reviewers,kshampur DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D186047
2023-08-11 21:18:49 +00:00
Greg Mierzwinski 28b2a633a2 Bug 1826183 - Remove the pageload essential category from mach-try-perf. r=perftest-reviewers,kshampur DONTBUILD
This bug removes the pageload essential category from mach-try-perf since it's been causing confusion as to what it contains versus the other pageload category.

Differential Revision: https://phabricator.services.mozilla.com/D186046
2023-08-11 21:18:49 +00:00
Mike Kaply 811f00df2e Bug 1772409 - Allow setting xpinstall.whitelist.required via policy. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D185959
2023-08-11 15:16:50 +00:00
Eemeli Aro a5dabe8f0d Bug 1834305 - Remove intl/locale/PluralForm.sys.mjs as unused. r=nordzilla,devtools-reviewers
This library is now completely unused in m-c.

Differential Revision: https://phabricator.services.mozilla.com/D185699
2023-08-10 20:39:20 +00:00
Nicolas Chevobbe f086602a6f Bug 1771113 - Add chromeOnly `StyleSheetRemoved` event, emitted when a stylesheet is removed. r=emilio.
This new event will be consumed by DevTools to update style information.

As for `StyleSheetApplicableStateChanged`, this event is emitted from the document.
It's only enabled when `document.styleSheetChangeEventsEnabled` is set to true.

The existing test around the `StyleSheetApplicableStateChanged` is renamed and
modified to assert both events when stylesheets are added, modified and removed.

Differential Revision: https://phabricator.services.mozilla.com/D147271
2023-08-10 14:36:03 +00:00
Emilio Cobos Álvarez 8c84cafd30 Bug 1848130 - Ensure profiler_add_marker arguments are not evaluated when not profiled. r=jnicol,canaltinova
This is a more generic version of D185008.

Differential Revision: https://phabricator.services.mozilla.com/D185800
2023-08-10 14:27:41 +00:00
Florian Quèze bdaa3415cc Bug 1838497 - Add a profiler feature to record the clock frequency of every core while sampling, r=canaltinova.
Differential Revision: https://phabricator.services.mozilla.com/D180983
2023-08-10 10:27:14 +00:00
Narcis Beleuzu ef9a0d3c1a Backed out changeset ccf1b5218169 (bug 1843534) for bustages on ProfilerMarkers.h . CLOSED TREE 2023-08-10 13:06:47 +03:00
Emilio Cobos Álvarez 2e7f6f8452 Bug 1843534 - Ensure profiler_add_marker arguments are not evaluated when not profiled. r=jnicol,canaltinova
This is a more generic version of D185008.

Differential Revision: https://phabricator.services.mozilla.com/D185800
2023-08-10 09:27:21 +00:00
Gabriele Svelto 2c5c4496c1 Bug 1847520 - Do not fetch the missing symbol list from the symbol server, use Socorro instead r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D185586
2023-08-10 07:35:35 +00:00
Mark Banner fd31dfc8ff Bug 1846747 - Remove SpecialPowers.importInMainProcess as it is unused. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D185571
2023-08-10 07:32:38 +00:00
Mike Hommey 3cb3ea3b50 Bug 1847198 - Update builders to clang 16.0.6. r=firefox-build-system-reviewers,ahochheiden
Remove llvmorg-17-init-11952-g2f0a1699eab7.patch as it was applied
upstream.

Differential Revision: https://phabricator.services.mozilla.com/D185423
2023-08-09 20:26:14 +00:00
Jamie Nicol a1284686b2 Bug 1843534 - Avoid taking unnecessary timestamps when thread is not being profiled for markers. r=julienw
As taking timestamps can be expensive on certain devices we should try
to avoid taking them where possible. This patch fixes a few occasions
where we take a timestamp solely for a profiler marker even when the
current thread is not being profiled.

Differential Revision: https://phabricator.services.mozilla.com/D185008
2023-08-09 10:28:37 +00:00
Paul Adenot 374d4dcd7e Bug 1833654 - Remove libtremor from the tree. r=karlt,media-playback-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D181519
2023-08-08 12:12:45 +00:00
ganna a5744d7258 Bug 1844848 - Use moz-message-bar in about:plugins. r=tgiles,fluent-reviewers,desktop-theme-reviewers,flod,dao
Differential Revision: https://phabricator.services.mozilla.com/D184773
2023-08-07 09:23:10 +00:00
Makoto Kato 80aa728f71 Bug 1719535 - Part 4. Add ICU4X Data Provider. r=platform-i18n-reviewers,dminor,sylvestre
ICU4X will be used by ECMA-402 implementation at future. So we should link it
to SpiderMonkey instead of libxul only.

Depends on D178157

Differential Revision: https://phabricator.services.mozilla.com/D167673
2023-08-07 06:23:48 +00:00
Hubert Boma Manilla db30b37fd3 Bug 1844204 - [devtools] Move the damp test app from github to MC r=perftest-reviewers,devtools-reviewers,nchevobbe,kshampur
This patch pulls in the code from https://github.com/codehag/debugger-talos-example into the `app` folder.

The code structure is also now slightly different. There are now two folders, which `app` and `app-build`

The code in the `app` folder should now be where any further changes are made, this then gets built into `app_build` folder
which is used for the tests.

The idea is that the code in the `app-build` folder should not be changed manually, but it is rather always built
from `app`. See the readme for details.

Differential Revision: https://phabricator.services.mozilla.com/D184455
2023-08-07 04:44:51 +00:00
Mark Banner 98a950aa76 Bug 1846758 - Automatically mark *.worker.?js files as belonging to the worker environment. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D185321
2023-08-04 09:51:15 +00:00
Andrew Halberstadt 463642a978 Bug 1847032 - Fix rejected-words lint errors under tools/tryselect, r=linter-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D185305
2023-08-03 19:03:20 +00:00
Mark Banner 7653914632 Bug 1846356 - Convert remaining ESLint rules to use messageIds and data values rather than message strings. r=cmkm
Differential Revision: https://phabricator.services.mozilla.com/D184981
2023-08-02 22:23:59 +00:00
Sandor Molnar 13c7e4a350 Backed out 14 changesets (bug 1719535) for causing mochitest failures in accessible/tests/browser/mac/browser_text_basics.js CLOSED TREE
Backed out changeset 338c2c8d91af (bug 1719535)
Backed out changeset 3fdb2e999aba (bug 1719535)
Backed out changeset 63b9d2064827 (bug 1719535)
Backed out changeset 09c216cdbbc8 (bug 1719535)
Backed out changeset 29977dc00fb3 (bug 1719535)
Backed out changeset d3f8850a343b (bug 1719535)
Backed out changeset 90f1f621031f (bug 1719535)
Backed out changeset 52ca9bdc5bd4 (bug 1719535)
Backed out changeset 94536f0d5a1f (bug 1719535)
Backed out changeset d615264f9f5f (bug 1719535)
Backed out changeset f16f9e583378 (bug 1719535)
Backed out changeset e1abdee07587 (bug 1719535)
Backed out changeset 45f9ad406428 (bug 1719535)
Backed out changeset caa2b8a731dc (bug 1719535)
2023-08-02 14:55:26 +03:00
Makoto Kato 696dad9f78 Bug 1719535 - Part 4. Add ICU4X Data Provider. r=platform-i18n-reviewers,dminor,sylvestre
ICU4X will be used by ECMA-402 implementation at future. So we should link it
to SpiderMonkey instead of libxul only.

Depends on D178157

Differential Revision: https://phabricator.services.mozilla.com/D167673
2023-08-02 10:32:49 +00:00
Florian Quèze 720f0c5145 Bug 1841837 - remove profiler power counter workaround for old Windows SDK, r=yjuglaret.
Differential Revision: https://phabricator.services.mozilla.com/D182793
2023-08-01 13:57:15 +00:00
Makoto Kato e10181029f Bug 1834278 - Get rid of nsIMessageLoop. r=emilio
This is unused now.

Differential Revision: https://phabricator.services.mozilla.com/D185039
2023-08-01 13:15:50 +00:00
Cristian Tuns 5d6b51256b Backed out 57 changesets (bug 1839389, bug 1840869, bug 1840399, bug 1840402, bug 1823953, bug 1828912, bug 1826382, bug 1837160, bug 1839391, bug 1833654) for causing build bustages in ogg_<something> CLOSED TREE
Backed out changeset 61356e1447e3 (bug 1823953)
Backed out changeset 85785505b6d6 (bug 1823953)
Backed out changeset 46a61cbfe8a8 (bug 1833654)
Backed out changeset 83e3de80337b (bug 1833654)
Backed out changeset 1a10c12874ac (bug 1840399)
Backed out changeset 6b087145b67f (bug 1833654)
Backed out changeset b9ac857ad43f (bug 1840399)
Backed out changeset 4b841e8dd033 (bug 1823953)
Backed out changeset 650e35803834 (bug 1823953)
Backed out changeset c11b58ac0709 (bug 1823953)
Backed out changeset c0249c90bc31 (bug 1823953)
Backed out changeset 8929288d5aec (bug 1823953)
Backed out changeset 828792b886bd (bug 1823953)
Backed out changeset 873f1d4a8875 (bug 1840869)
Backed out changeset a25abd05302c (bug 1823953)
Backed out changeset d4b1eb442c36 (bug 1840399)
Backed out changeset c25509d72a96 (bug 1840399)
Backed out changeset 0f72a0626a28 (bug 1840402)
Backed out changeset 82e7574364ce (bug 1840399)
Backed out changeset 93073105f063 (bug 1840399)
Backed out changeset 56ec8e3405e9 (bug 1840399)
Backed out changeset ff15dad37ab8 (bug 1840399)
Backed out changeset 0655ebd61eda (bug 1840399)
Backed out changeset 7bca1ae06c7d (bug 1828912)
Backed out changeset 8a5a849cfe5f (bug 1828912)
Backed out changeset 3d8422a2038a (bug 1828912)
Backed out changeset f08ee5de9370 (bug 1823953)
Backed out changeset a4eb210620ff (bug 1823953)
Backed out changeset aa8914cd55be (bug 1839391)
Backed out changeset 3ea1f43e4024 (bug 1823953)
Backed out changeset 3efe02ffa1c8 (bug 1826382)
Backed out changeset 81c4553ec23d (bug 1839391)
Backed out changeset 130894e4a781 (bug 1839391)
Backed out changeset 9a0247b0fc85 (bug 1839391)
Backed out changeset 11a923064382 (bug 1839391)
Backed out changeset 98ffb66160c3 (bug 1837160)
Backed out changeset a80dda9a220a (bug 1837160)
Backed out changeset 251b4ef97a2b (bug 1837160)
Backed out changeset 7372632eb32f (bug 1837160)
Backed out changeset c5d54bc3ee26 (bug 1839389)
Backed out changeset b232ec1bbc2d (bug 1833654)
Backed out changeset fc7ba125c2fe (bug 1833654)
Backed out changeset 8a47f6882e61 (bug 1823953)
Backed out changeset e29810541b53 (bug 1828912)
Backed out changeset bcf10730c8c9 (bug 1828912)
Backed out changeset 8df8290b6c33 (bug 1826382)
Backed out changeset 2811d12803cf (bug 1826382)
Backed out changeset 3fc718561ec9 (bug 1826382)
Backed out changeset 7827183776e1 (bug 1823953)
Backed out changeset a3eb5f228d9a (bug 1826382)
Backed out changeset 3113ad2e0987 (bug 1823953)
Backed out changeset 4b1dc01525af (bug 1823953)
Backed out changeset f7f4a7585ceb (bug 1823953)
Backed out changeset 93042f1becec (bug 1823953)
Backed out changeset b9ca30a0a066 (bug 1823953)
Backed out changeset 1000c4a6a92a (bug 1823953)
Backed out changeset 05dc13775fd6 (bug 1823953)
2023-08-01 09:37:39 -04:00
Paul Adenot 03e1982151 Bug 1833654 - Remove libtremor from the tree. r=karlt,media-playback-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D181519
2023-08-01 12:41:07 +00:00
Tooru Fujisawa aa900309a0 Bug 1843797 - Add ESLint rule to reject ChromeUtils.import. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D183696
2023-07-31 21:03:44 +00:00
Jan de Mooij f9f4eefdf5 Bug 1839422 part 1 - Change RegExpSearcher interface so it can be used for longer strings. r=iain
Change the interface so that instead of packing the match index and limit in a
single int32 value, we now only return the index and store the match limit in a
field on the context where we can load it from with a separate intrinsic.

This lets us simplify `RegExpReplace` because we don't need separate functions
for short and long strings.

Differential Revision: https://phabricator.services.mozilla.com/D181658
2023-07-31 10:29:00 +00:00
Gijs Kruitbosch 1627ed7f98 Bug 1844665 - rename RPMSetBoolPref so it's more obvious you can use it for int/char prefs, r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D184742
2023-07-27 21:09:28 +00:00
Peter Van der Beken a448c355d5 Bug 1845063 - Errors when opening or closing the Edit Credit Card window. r=emilio,credential-management-reviewers,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D184501
2023-07-27 16:29:21 +00:00
Greg Mierzwinski 1c2d48b10e Bug 1844046 - Auto-disable artifact mode on mach-try-perf when android tasks are selected. r=perftest-reviewers,afinder
This patch fixes an issue where selecting android tasks through mach-try-perf while having artifact mode enabled causes the CI android build tasks to fail due to the artifact mode. Here, some code is added to disable artifact mode when it's set to `True` and when any android tasks have been selected.

Differential Revision: https://phabricator.services.mozilla.com/D183871
2023-07-27 11:23:55 +00:00
Masatoshi Kimura 9ec38aeba1 Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D184307
2023-07-26 08:52:54 +00:00
Masatoshi Kimura 83b286649b Bug 1844908 - Remove pre-Win10-specific codepath from Gecko Profiler. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D184305
2023-07-26 08:52:53 +00:00
Gregory Pappas ca2d7cbfc2 Bug 1845156 - Remove XPCOMUtils.defineLazyProxy r=arai,Gijs"
At this point, there's only one non-test use of this method in FindBarChild.sys.mjs which could be replaced with a simpler solution.

Removing this method seems to lower memory usage a bit.
https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=2dc498c7c81bd00c989cc3b69993ec1a53ff3032&newProject=try&newRevision=32669e95c9609cb07c258ca5fe964e9eb6411ade&page=1&framework=4

Differential Revision: https://phabricator.services.mozilla.com/D184403
2023-07-25 23:27:51 +00:00
Natalia Csoregi 72a7b95555 Backed out 19 changesets (bug 1844908) for causing win bustage on AvailableMemoryTracker.cpp. CLOSED TREE
Backed out changeset 44c66f2233cf (bug 1844908)
Backed out changeset a8010ff534bf (bug 1844908)
Backed out changeset 225dc3aeb220 (bug 1844908)
Backed out changeset a1414db64e33 (bug 1844908)
Backed out changeset 7f1e0a527839 (bug 1844908)
Backed out changeset 6dc7646d1ffa (bug 1844908)
Backed out changeset 8d715131510f (bug 1844908)
Backed out changeset 4b6fe8a4e7db (bug 1844908)
Backed out changeset 2b419fabf1e8 (bug 1844908)
Backed out changeset af84e701d616 (bug 1844908)
Backed out changeset 2fa203969ec5 (bug 1844908)
Backed out changeset 2b3d2df94db3 (bug 1844908)
Backed out changeset 7eca452f5fd7 (bug 1844908)
Backed out changeset 3d961cf25afe (bug 1844908)
Backed out changeset 3c59143f8dd7 (bug 1844908)
Backed out changeset ab50c6c5425a (bug 1844908)
Backed out changeset b2c5636df673 (bug 1844908)
Backed out changeset e9a0f1c6760c (bug 1844908)
Backed out changeset 945ccbedde0b (bug 1844908)
2023-07-25 19:55:35 +03:00
Masatoshi Kimura 07e5081a48 Bug 1844908 - Remove pre-Win10-specific codepath from widget/. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D184307
2023-07-25 14:41:05 +00:00
Masatoshi Kimura fe7eca4ab3 Bug 1844908 - Remove pre-Win10-specific codepath from Gecko Profiler. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D184305
2023-07-25 14:41:04 +00:00
Natalia Csoregi a95bfa5f0c Backed out changeset 09c1addb65b6 (bug 1845156) for causing failures on browser_findbar.js. CLOSED TREE 2023-07-25 17:47:07 +03:00
Gregory Pappas f88e1bfd16 Bug 1845156 - Remove XPCOMUtils.defineLazyProxy r=arai,Gijs"
At this point, there's only one non-test use of this method in FindBarChild.sys.mjs which could be replaced with a simpler solution.

Removing this method seems to lower memory usage a bit.
https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=2dc498c7c81bd00c989cc3b69993ec1a53ff3032&newProject=try&newRevision=32669e95c9609cb07c258ca5fe964e9eb6411ade&page=1&framework=4

Differential Revision: https://phabricator.services.mozilla.com/D184403
2023-07-25 12:49:00 +00:00
Mark Banner 87ca8e8a39 Bug 1845064 - Update files in browser/base/content/test/static/ to pass the rejected-words linter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184365
2023-07-24 15:23:06 +00:00
Stanca Serban 74033863ce Backed out 2 changesets (bug 1845064, bug 1801416) for causing mochitests failures in browser_parsable_css.js. CLOSED TREE
Backed out changeset 0072ca947732 (bug 1845064)
Backed out changeset 97d46689ef0a (bug 1801416)
2023-07-24 23:23:24 +03:00
Mark Banner 64cf79554f Bug 1845064 - Update files in browser/base/content/test/static/ to pass the rejected-words linter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184365
2023-07-24 15:23:06 +00:00
Noemi Erli 009812504a Backed out 2 changesets (bug 1801416, bug 1845064) for causing failures in browser_all_files_referenced.js CLOSED TREE
Backed out changeset 6588b692c52d (bug 1845064)
Backed out changeset 29325effffdb (bug 1801416)
2023-07-24 22:07:49 +03:00
Mark Banner 6fe765f7ca Bug 1845079 - Update more consumers to import ES modules directly. r=arai,settings-reviewers,credential-management-reviewers,sync-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D184371
2023-07-24 15:32:45 +00:00
Mark Banner d9a4dda484 Bug 1845064 - Update files in browser/base/content/test/static/ to pass the rejected-words linter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184365
2023-07-24 15:23:06 +00:00
Alex Finder e1114b2802 Bug 1834501 Add a --clear-cache flag to mach-try-perf r=perftest-reviewers,aglavic
Differential Revision: https://phabricator.services.mozilla.com/D184093
2023-07-24 14:52:55 +00:00
Gijs Kruitbosch df3ca85742 Bug 1842244 - driveby: update metadata for documentation files, r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D183155
2023-07-21 10:31:57 +00:00
andrej a6a714ecf0 Bug 1832974 - Changing unclear output message when too many tests are selected. r=perftest-reviewers,afinder
When too many tests are run(defined as rebuilds * tests selected > 300) we say too many tests are selected without letting the user know how far over the 300 limit they have gone, this patches makes it clear that you are over the 300 maximum and displays the math clearly so that they can alter the needed things to make their runs be under the threshold

Differential Revision: https://phabricator.services.mozilla.com/D183781
2023-07-20 15:54:54 +00:00
Emilio Cobos Álvarez c3f9b3c775 Bug 1844242 - Clean-up windows titlebar set-up now that buttons are always non-native. r=dao,handyman
Differential Revision: https://phabricator.services.mozilla.com/D183986
2023-07-20 13:33:19 +00:00
Butkovits Atila e0205221f1 Backed out changeset afef23568473 (bug 1843606) for causing failures at browser_all_files_referenced.js. CLOSED TREE 2023-07-19 19:00:08 +03:00
Andrew Creskey d555b51fa2 Bug 1843606 - Add test api that can make use of the dev tools network throttler r=necko-reviewers,jdescottes,kershaw
To create network tests that capture various codepaths and optimizations we need to fix network particulars such as latency and bandwidth.
This module provides access to the dev tools throttler for use in browsertime pageload tests.

Differential Revision: https://phabricator.services.mozilla.com/D183618
2023-07-19 13:12:16 +00:00
Hubert Boma Manilla e3ea49ac0f Bug 1724562 - [devtools] Move parse-script-tags module to the parser utils file r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D182665
2023-07-14 17:34:27 +00:00
Nazım Can Altınova 68882f5d7f Bug 1841834 - Fix the broken links in the profiler documentation r=aabh
Differential Revision: https://phabricator.services.mozilla.com/D183505
2023-07-14 10:50:35 +00:00
serge-sans-paille 760512deba Bug 1838408 - Lint paths referred in toolkit/content/license.html r=sylvestre,glandium,ochameau,Standard8
Paths mentioned between <code> tags are looked up in the repo, and an
error is emitted if they don't exist. This should make license.html more
resilient to code removal / move.

Idea inspired by a discussion with glandium.

This patch contains both the linter extension and the normalisation of
license.html to pass the linting.

Differential Revision: https://phabricator.services.mozilla.com/D180933
2023-07-12 09:39:57 +00:00
Tooru Fujisawa f2426922f2 Bug 1780695 - Part 1: Remove Services.jsm. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150914
2023-07-10 07:07:19 +00:00
Yannis Juglaret b220dac2ab Bug 1842368 - Force loading modules as image files for untrusted modules ping. r=gstoll
When we prepare an untrusted modules ping, we currently let Windows
choose between loading the module as a data file or as an image file.
However our code relies on the module being loaded as an image file,
because we do RVA computations. We must use the proper flag
LOAD_LIBRARY_AS_IMAGE_RESOURCE alone, which guarantees what we want:
loading as an image file, but not for execution.

Differential Revision: https://phabricator.services.mozilla.com/D183076
2023-07-08 15:09:02 +00:00
Mike Hommey 8f58459578 Bug 1841974 - Work around a rust bug that causes bogus ODR violation detection. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D182879
2023-07-07 11:02:28 +00:00
Norisz Fay 7e2bbefa0e Backed out 2 changesets (bug 1841974) for causing AddressSanitizer, Assertion failures on shared-libraries-win32.cc CLOSED TREE
Backed out changeset c7218806eb3f (bug 1841974)
Backed out changeset 7da6f26cd035 (bug 1841974)
2023-07-07 01:06:21 +03:00
Norisz Fay 05bd04294c Bug 1841974 - Fix for Fuzzer related SM bustage 2023-07-06 23:00:42 +03:00
Jared Hirsch f8fe856956 Bug 1838438 - Insert shopping sidebar into the XUL DOM. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D181688
2023-07-06 17:32:03 +00:00
Cosmin Sabou 8b302009a9 Backed out changeset 27dfafd3d2a2 (bug 1838438) for causing nightlyasrelease browsertime failures. CLOSED TREE 2023-07-05 21:18:21 +03:00
Jared Hirsch 12eeb4dfca Bug 1838438 - Insert shopping sidebar into the XUL DOM. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D181688
2023-07-05 14:06:24 +00:00
serge-sans-paille 91e75cc3eb Bug 1840549 - Avoid thread lock on TLS access r=canaltinova
function-local static variable imply a lock, which we can avoid for
ThreadLocalStorage because they already have a mechanism to check if
they're initialized.

Differential Revision: https://phabricator.services.mozilla.com/D182145
2023-07-05 12:25:23 +00:00
Adam Brouwers-Harries ae3f58ad55 Bug 1600093 - Add 'unique-string' marker payload type for repetitive marker strings r=canaltinova
This patch adds the 'unique-string' marker payload type, which allows marker writers to designate certain strings for inclusion in a (per-thread) unique string table. This allows the profiler to actively de-duplicate these strings, thereby saving space at runtime, and reducing the size of profiles. An example application is included through the `FrameMessageMarker` and `name` field.

Differential Revision: https://phabricator.services.mozilla.com/D181262
2023-06-30 14:05:18 +00:00
Makoto Kato d5664c7666 Bug 1840631 - Add Android's XML files to license lint rule. r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D182203
2023-06-30 08:01:04 +00:00
James Teow 3c95fa07c8 Bug 1840376 - Remove outstanding references to Preloaded Top URLs - r=adw
Differential Revision: https://phabricator.services.mozilla.com/D182195
2023-06-29 08:18:27 +00:00
Greg Mierzwinski cb64f2e65b Bug 1839368 - Fix debug mode in desktop browsertime tests. r=perftest-reviewers,kshampur
This patch fixes debug mode for desktop. Previously, it was detecting desktop runs as android ones.

Differential Revision: https://phabricator.services.mozilla.com/D181632
2023-06-26 12:59:54 +00:00
Mathieu Leplatre 712ef17f9e Bug 1838440 - Migrate kinto-http-client to ES module r=Standard8,robwu
Differential Revision: https://phabricator.services.mozilla.com/D181066
2023-06-26 09:03:01 +00:00
Sylvestre Ledru dbc1d86d8a Bug 1840227 - Update codespell to 2.2.5 r=linter-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D181929
2023-06-24 20:26:56 +00:00
Mike Hommey 5af31a8886 Bug 1839762 - Cast scoped enums to their underlying type when printing them. r=media-playback-reviewers,necko-reviewers,application-update-reviewers,geckoview-reviewers,handyman,emilio,valentin,bytesized,owlish,karlt
There is no implicit conversion for scoped enums, so using them without
an explicit conversion in varargs functions is undefined behavior. GCC
has had a warning about this for a long while, but clang only gained
this a few days ago on trunk.

Differential Revision: https://phabricator.services.mozilla.com/D181723
2023-06-24 20:14:31 +00:00
Mark Banner 8c8c1bb7f3 Bug 1839843 - Ensure exceptions from Prettier are correctly shown on treeherder and reviewbot. r=linter-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D181757
2023-06-23 09:30:26 +00:00
Nazım Can Altınova 3a2eb320d7 Bug 1812452 - Clamp the ProfileBufferGlobalController entries as well r=florian
Differential Revision: https://phabricator.services.mozilla.com/D181653
2023-06-23 09:17:43 +00:00
Florian Quèze 2218cc6cdc Bug 1839626 - Avoid creating an 'AwakeEnd' marker schema, r=canaltinova.
Differential Revision: https://phabricator.services.mozilla.com/D181641
2023-06-21 15:01:35 +00:00
Andrew McCreight a5b49717a3 Bug 1839531 - Don't check the pref javascript.options.asyncstack during shutdown. r=canaltinova
Getting a preference will always fail during shutdown, so avoid doing it.
The goal here is to avoid what is perhaps the most common source of warning
spam in logs in debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D181585
2023-06-21 13:25:51 +00:00
Mike Hommey d8456fd716 Bug 1836230 - Update bindgen to 0.66.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179656
2023-06-21 08:52:22 +00:00
Christian Holler (:decoder) dd6ef15900 Bug 1838595 - Nyx: Add a file dumping API. r=truber
Depends on D181058

Differential Revision: https://phabricator.services.mozilla.com/D181059
2023-06-20 19:51:47 +00:00
Christian Holler (:decoder) 72feb31526 Bug 1838596 - Nyx: Add an API to retrieve the raw fuzzing buffer. r=truber
Depends on D181057

Differential Revision: https://phabricator.services.mozilla.com/D181058
2023-06-20 19:51:47 +00:00
Christian Holler (:decoder) 0071128928 Bug 1838598 - Nyx: Adjust replay format. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D181057
2023-06-20 19:51:47 +00:00
Christian Holler (:decoder) 157e74a7f7 Bug 1838594 - IPC fuzzing: Add an additional sync with main thread. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D181061
2023-06-20 19:50:01 +00:00
Christian Holler (:decoder) 9a0fd3c3fd Bug 1838591 - Avoid shrinkTo call in IPCFuzzController. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D181055
2023-06-20 19:49:56 +00:00
Rob Wu 79c40be390 Bug 1839449 - Enforce alphabetic order of mochitest manifests in mobile/ r=geckoview-reviewers,mconley,calu
Differential Revision: https://phabricator.services.mozilla.com/D181540
2023-06-20 18:29:28 +00:00
M. Sirringhaus 61d2ba839d Bug 1838584 - Implement stripped down destructor for ProfilerParent, if MOZ_GECKO_PROFILER is undefined. r=mstange
On platforms such as ppc64, MOZ_GECKO_PROFILER is not defined, leading to a busted build.
The destructor-implementation was hidden behind an MOZ_GECKO_PROFILER-ifdef.

Differential Revision: https://phabricator.services.mozilla.com/D181042
2023-06-20 09:10:52 +00:00
Gijs Kruitbosch cdede3735a Bug 1838632 - make fluent-lint complain about unknown attributes, r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181228
2023-06-19 16:30:15 +00:00
Kash Shampur b3c72b5348 Bug 1820216 - Run Custom chromium-as-release performance tests on OSX. r=perftest-reviewers,sparky
This patch extends the chromium-as-release perftest configuration to be able to also run on the macOSX platform using a macOSX build.
With this, we now run CaR on all of our x64 platforms.

Also, the mac variant as added to the `mach try perf` selector

Differential Revision: https://phabricator.services.mozilla.com/D180825
2023-06-19 13:20:01 +00:00
Nazım Can Altınova 30deef21ad Bug 1838724 - Convert native allocations warning to a debug log r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D181160
2023-06-19 12:09:56 +00:00
Barret Rennie 3463d51539 Bug 1838874 - Remove remaining uses of FileUtils.getFile r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D181255
2023-06-16 14:48:44 +00:00
Andi-Bogdan Postelnicu 16445000ea Bug 1838396 - disable misc-include-cleaner until we move to before/after analysis. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D180925
2023-06-15 05:32:49 +00:00
Alex Finder d2b5dc6fad Bug 1831064 Remove WebExtension and all its references r=perftest-reviewers,taskgraph-reviewers,jmaher,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D178196
2023-06-14 14:03:22 +00:00
Marco Castelluccio 7eed3b11c9 Bug 1837744 - Remove PreferenceFilters.sys.mjs module and use Services.prefs directly in FilterExpressions.sys.mjs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D180540
2023-06-13 08:00:00 +00:00
Julien Cristau 40e11b8360 Bug 1837939 - update-packaging: quote filenames that can contain spaces. r=releng-reviewers,bhearsum DONTBUILD
Bug 1837329 added a new "Media Plugin Helper" that caused errors in repack logs
(though as far as I can tell had no effect on the mar files themselves).

Differential Revision: https://phabricator.services.mozilla.com/D180669
2023-06-12 13:14:53 +00:00
Florian Quèze d272e36525 Bug 1836191 - remove the about:performance implementation, r=mconley,fluent-reviewers,desktop-theme-reviewers,sfoster.
Differential Revision: https://phabricator.services.mozilla.com/D179695
2023-06-08 21:53:18 +00:00
Mark Banner 9c01efbc3e Bug 1816935 - Convert jsesc.js to an ES module. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D179808
2023-06-08 13:21:31 +00:00
Greg Mierzwinski abf9cbbf9f Bug 1837049 - Use no-fission as default in mach-try-perf android selections. r=perftest-reviewers,AlexandruIonescu DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D180142
2023-06-08 12:18:08 +00:00
Mike Hommey de03354dee Bug 1837098 - Move l10nregistry tests to a separate crate. r=dminor,supply-chain-reviewers,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D180159
2023-06-07 23:07:05 +00:00
Gabriele Svelto 4c87f445a6 Bug 1776197 - mozannotation_server crate implementation r=afranchuk
This crate contains the logic used to find the annotations within another
process and pull them out.

Depends on D173697

Differential Revision: https://phabricator.services.mozilla.com/D173698
2023-06-07 12:34:31 +00:00
Gabriele Svelto 73a3085a6b Bug 1776197 - mozannotation_client implementation r=afranchuk
This crate contains the required bits to store annotations in a process and
let the mozannotation_server crate find them and pull them out. Functionally
there's not much happening here as all the actual functionality is in
mozannotation_server.

Differential Revision: https://phabricator.services.mozilla.com/D173697
2023-06-07 12:34:30 +00:00
Andi-Bogdan Postelnicu 76e3e1586f Bug 1836676 - for clang-tidy activate mis-include-cleaner. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D179892
2023-06-06 09:46:49 +00:00
Mike Hommey 58605b2b21 Bug 1836236 - Switch profiler-macros to syn 2. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D179660
2023-06-05 20:48:35 +00:00
Andrew Halberstadt 14d25c05fa Bug 1836851 - [update-verify] Fix regression in compare-directories, r=releng-reviewers,hneiva
Differential Revision: https://phabricator.services.mozilla.com/D179997
2023-06-05 20:39:06 +00:00
ganna de17418440 Bug 1814412 - Use moz-support-link for the protections-popup-sendReportView-learn-more label. r=tgiles,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D179594
2023-06-05 14:25:51 +00:00
Gijs Kruitbosch ada56134f2 Bug 1834118 - quote stylelint path arguments on Windows, r=aminomancer,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D178602
2023-06-05 09:42:19 +00:00
Sylvestre Ledru 9dde27ae07 no bug - mozlint/ruff: log.debug the arguments r=linter-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D179371
2023-06-02 13:39:57 +00:00
Valentin Gosu 50fdf1286d Bug 1835805 - Remove odoh code r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D179456
2023-06-02 12:49:33 +00:00
Florian Quèze 71ff2d9962 Bug 1835649 - Avoid serializing the number of operations per sample for profiler counters that don't count operations, r=canaltinova.
Differential Revision: https://phabricator.services.mozilla.com/D179365
2023-06-02 02:01:10 +00:00
Mike Hommey c6281d6814 Bug 1835431 - Handle hardlinks when unpacking a SDK. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D179281
2023-05-31 22:24:34 +00:00
Will Kahn-Greene 275e39b6e5 Bug 1831952 - switch to use Mozilla Symbols Server. r=gsvelto
This switches two scripts to use the Mozilla Symbols Server for downloading
symbols rather than accessing the AWS S3 bucket directly so they don't stop
working correctly when we move symbols from AWS to GCP.

Differential Revision: https://phabricator.services.mozilla.com/D179452
2023-05-31 16:18:51 +00:00
Natalia Csoregi 448ccac0b9 Backed out changeset af645c9220f1 (bug 1835805) for causing bustage on DNSPacket.cpp. CLOSED TREE 2023-05-31 18:52:13 +03:00
Valentin Gosu 7ba32109b0 Bug 1835805 - Remove odoh code r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D179456
2023-05-31 15:05:06 +00:00
Gijs Kruitbosch b4130b15da Bug 1832765 - start linting scss across the tree in our standard config, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D178532
2023-05-30 22:41:22 +00:00
Mike Hommey 62f7b36735 Bug 1834707 - Update builders to clang 16.0.4. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178907
2023-05-29 22:31:34 +00:00
Stanca Serban 7fcbc85dfb Backed out changeset 220d89d838fe (bug 1834707) for causing build bustages on Windows 2012. CLOSED TREE 2023-05-30 00:47:58 +03:00
Mike Hommey 745fb89c08 Bug 1834707 - Update builders to clang 16.0.4. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178907
2023-05-29 20:36:31 +00:00
Eemeli Aro 0997552230 Bug 1831872 - Migrate client.name2 string from sync.properties to Fluent. r=markh,fluent-reviewers,geckoview-reviewers,sync-reviewers,flod,m_kato
As this is the only string in `services/`, let's simplify by moving it under `toolkit/` and removing `services/sync/locales/` as empty.

On advice from markh, the ON_NEW_DEVICE_ID notification is delayed during device registration & updates until the update has been written to storage.

Differential Revision: https://phabricator.services.mozilla.com/D178805
2023-05-29 15:24:38 +00:00
Greg Stoll dfee3a01de Bug 1835101 - treat .ftl files as UTF-8 for linting purposes r=flod
Differential Revision: https://phabricator.services.mozilla.com/D179112
2023-05-25 17:12:26 +00:00
Julien Cristau d1ed401557 Bug 1677171 - update-verify: silence spurious errors on mac staging releases. r=releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D178923
2023-05-25 13:46:13 +00:00
Barret Rennie 7b49b2cffe Bug 1833687 - Update nimbus-shared to 2.3.0 r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D178400
2023-05-24 20:49:40 +00:00
Rob Lemley 25bc6d4be2 Bug 1834590 - [stylelint] Use "stylelint-rc" from stylelint.yml if it exists. r=linter-reviewers,Standard8
Default to using .stylelintrc.js in $topsrcdir with optional override for
Thunderbird's config file in comm-central.

Differential Revision: https://phabricator.services.mozilla.com/D178835
2023-05-24 12:23:24 +00:00
Eemeli Aro 411a529019 Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish
This changes the arguments of `ExtensionData.formatPermissionStrings()`.
The second `bundle` arg is dropped, and a `localization` option is added.
Call sites in m-c are updated, but this will also need a matching update for Thunderbird.
A few Thunderbird test cases will also need to be updated,
as they currently point to a non-existing localization file paths
"messenger/addons.ftl" and "messenger/addonPermissions.ftl".

As discussed at the addon workweek,
the Fluent l10n keys for extension permissions match the pattern:

    webext-perms-description-{name}

where `{name}` is the permission's sanitized name.
A fluent-lint exception is added for the capitalization of these generated names.
To allow for message updates and subsequent l10n identifier updates,
a `PERMISSION_L10N_ID_OVERRIDES` map is provided.

Because Fluent localization keys are not enumerable
and attempting to format a missing key is an error,
the `PERMISSIONS_WITH_MESSAGE` set must be kept in sync with message updates.

Differential Revision: https://phabricator.services.mozilla.com/D158663
2023-05-23 12:00:01 +00:00
Gijs Kruitbosch a8576ab05a Bug 1834499 - fix path globbing for extensions in stylelint linter and fix debugger styles that this starts noticing, r=Standard8,devtools-reviewers
For some reason I didn't fully apply the suggestion in
https://phabricator.services.mozilla.com/D177477#inline-983366
and this is affecting some invocations of stylelint (but not others, for
reasons I don't fully understand). This commit both fixes this oversight and
fixes up some debugger styles that get flagged now that they're linted
appropriately.

Differential Revision: https://phabricator.services.mozilla.com/D178531
2023-05-23 11:41:20 +00:00
Botond Ballo 79288aaf4a Bug 1833072 - Use clangd's full HeuristicResolver implementation. r=asuth,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178122
2023-05-22 08:26:14 +00:00
James Graham 0329754821 Bug 1833606 - Remove removed path from whitespace lint config, r=CosminS
Differential Revision: https://phabricator.services.mozilla.com/D178599
2023-05-21 23:16:48 +00:00
Mark Banner 2a53076d43 Bug 1826063 - Automatic fixes for enabling Prettier on production xhtml and html files. r=mossop,webdriver-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,fxview-reviewers,sgalich,nalexander,devtools-reviewers,sclements,denschub,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177938
2023-05-20 12:26:56 +00:00
Mark Banner 130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner 12189bf738 Bug 1826062 - Upgrade Prettier to 2.8.8. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D177026
2023-05-20 12:26:52 +00:00
Mark Banner 8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Mark Banner 4ee0b4f787 Bug 1826062 - Upgrade Prettier to v2.0.5. r=mossop
Also keeps 'arrowParens' as 'avoid', rather than switching to the new Prettier default of 'always'.

Differential Revision: https://phabricator.services.mozilla.com/D177018
2023-05-20 12:26:49 +00:00
Pushpanjali 235f25ea9c Bug 1822010 - Convert toolkit/components/url-classifier to ES modules. r=perftest-reviewers,webcompat-reviewers,geckoview-reviewers,devtools-reviewers,twisniewski,valentin,m_kato,anti-tracking-reviewers,timhuang,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173390
2023-05-18 12:21:12 +00:00
Abhishek Madan ba1d4a0dfc Bug 1831363 - Converted SitePermissions.jsm to ES modules and all of its corresponding references. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D177380
2023-05-17 14:45:26 +00:00
Arthur Carcano 640dd3d14e Bug 1831312 - Use the mach cargo machinery to lint using clippy. r=glandium,linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D177156
2023-05-17 11:07:47 +00:00