Commit Graph

11550 Commits

Author SHA1 Message Date
Tomislav Jovanovic
8ef7cd3cf1 Bug 1903390 - Make it easy to update typelibs when changing interfaces, add instructions r=mossop,saschanaz,smaug DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D214162
2024-08-03 20:35:44 +00:00
Stanca Serban
1ff77350d5 Backed out 2 changesets (bug 1910311) as requested by Sylvestre.
Backed out changeset 5b8997293aaa (bug 1910311)
Backed out changeset d9bfe8fcbecf (bug 1910311)
2024-07-30 11:55:46 +03:00
Sylvestre Ledru
2c495330f8 Bug 1910311 - ride along: fix sphinx warnings r=firefox-source-docs-reviewers,ahal DONTBUILD
tools/moztreedocs/__init__.py:35: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead.
  is_main = docdir == MAIN_DOC_PATH

Differential Revision: https://phabricator.services.mozilla.com/D217912
2024-07-29 18:58:50 +00:00
Denis Palmeiro
7f70ed243c Bug 1900846: Remove duplicate definitions of perfetto macros. r=canaltinova,profiler-reviewers
This patch removes some duplicate macro definitions for the perfetto macro's, such as TRACE_EVENT_BEGIN.  They are not currently used and are mapped to no-op's in this file.

Differential Revision: https://phabricator.services.mozilla.com/D217412
2024-07-26 01:46:39 +00:00
Denis Palmeiro
069d9c4abb Bug 1900846: Emit gecko profiler markers as perfetto track events if enabled. r=profiler-reviewers,canaltinova
If perfetto is enabled, then this patch enables emitting gecko profiler markers as perfetto track events.  It will always emit the marker name, category and timestamps at the very least.  It also adds support to the various payload types that are currently used, and those will be emitted as perfetto debug annotations.

Differential Revision: https://phabricator.services.mozilla.com/D214033
2024-07-26 01:46:38 +00:00
Stanca Serban
11cd73d7a7 Backed out 6 changesets (bug 1900930) for causing xpcshell assertion failures in ErrorResult.h. CLOSED TREE
Backed out changeset 5234a13894b2 (bug 1900930)
Backed out changeset 638842494167 (bug 1900930)
Backed out changeset 36695bae43ed (bug 1900930)
Backed out changeset 23ab72aa4589 (bug 1900930)
Backed out changeset c89109c12d59 (bug 1900930)
Backed out changeset 2d3f52edb98a (bug 1900930)
2024-07-25 13:53:53 +03:00
Peter Van der Beken
bc82f920a6 Bug 1900930 - Make nsProfiler use TypedArrayCreator. r=dom-core,profiler-reviewers,farre,canaltinova
Using TypedArrayCreator avoids use of ErrorResult completely (and the need to
call MightThrowJSException/WouldReportJSException).

Differential Revision: https://phabricator.services.mozilla.com/D214793
2024-07-25 07:40:40 +00:00
Tamas Szentpeteri
a005c79fd8 Backed out 4 changesets (bug 1900846) for causing crashes related to MarkerPhase.
Backed out changeset 3020439d8d51 (bug 1900846)
Backed out changeset 3a9a742747b0 (bug 1900846)
Backed out changeset 5c6c1e590b8c (bug 1900846)
Backed out changeset d5ba32edc63c (bug 1900846)
2024-07-25 01:17:17 +03:00
Denis Palmeiro
3f3cbccba2 Bug 1900846: Remove duplicate definitions of perfetto macros. r=canaltinova,profiler-reviewers
This patch removes some duplicate macro definitions for the perfetto macro's, such as TRACE_EVENT_BEGIN.  They are not currently used and are mapped to no-op's in this file.

Differential Revision: https://phabricator.services.mozilla.com/D217412
2024-07-24 20:11:14 +00:00
Denis Palmeiro
65b65c9ba7 Bug 1900846: Emit gecko profiler markers as perfetto track events if enabled. r=profiler-reviewers,canaltinova
If perfetto is enabled, then this patch enables emitting gecko profiler markers as perfetto track events.  It will always emit the marker name, category and timestamps at the very least.  It also adds support to the various payload types that are currently used, and those will be emitted as perfetto debug annotations.

Differential Revision: https://phabricator.services.mozilla.com/D214033
2024-07-24 20:11:13 +00:00
Greg Mierzwinski
ae710791a0 Bug 1908345 - Add documentation about --tests option. r=perftest-reviewers,aglavic
This patch adds some documentation about the --tests option, and also updates a bit of the other documentation for mach-try-perf.

Differential Revision: https://phabricator.services.mozilla.com/D216934
2024-07-23 13:07:47 +00:00
Greg Mierzwinski
8702d4c020 Bug 1908345 - Add tests for --tests test selection. r=perftest-reviewers,kshampur
This patch adds tests for the --tests option. It includes a sample full-task-graph for the task finding stage.

Differential Revision: https://phabricator.services.mozilla.com/D216933
2024-07-23 13:07:47 +00:00
Greg Mierzwinski
3c1287faed Bug 1908345 - Add --tests option to mach try perf. r=perftest-reviewers,kshampur
This patch adds the abiltiy to run specific tests through mach try perf using the `--tests` option. When a test is specified, we search through the full-task-graph to find all tasks that run the test based on the command that is running in the task. Test finders are implemented on a per-suite basis to determine if the task contains the requested test. These are then used to (1) create new categories that only run this specific test, and (2) find all tasks that run the requested test. The query for the category is based on the longest common substring between all the tasks that were found, and some heuristics modifying the task label are needed within the test-finders to ensure that we find unique strings that only run the requested tasks/test. These tasks, and categories are then used within the other standard options like the category fuzzy view, the show-all view, and when running specific tests in an alert.

Differential Revision: https://phabricator.services.mozilla.com/D216932
2024-07-23 13:07:46 +00:00
Ryan VanderMeulen
e34640db4b Bug 1898304 - Clean up the GeckoView Try preset. r=calu DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D217017
2024-07-19 01:18:21 +00:00
Tooru Fujisawa
62fb8d5585 Bug 1896709 - Part 15: Add nsIDOMWindowUtils.clearSharedScriptCache. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215884
2024-07-18 21:58:15 +00:00
Tooru Fujisawa
844d66f242 Bug 1896709 - Part 14: Add ChromeUtils.clearScriptCache* methods. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215883
2024-07-18 21:58:15 +00:00
Norisz Fay
4f9e791bda Backed out 17 changesets (bug 1896709) for causing build bustage and mochitest failures CLOSED TREE
Backed out changeset 046f0f522ce7 (bug 1896709)
Backed out changeset 0271e50308e6 (bug 1896709)
Backed out changeset 26fac760de19 (bug 1896709)
Backed out changeset 6fa3424dfc40 (bug 1896709)
Backed out changeset b7bcb9904435 (bug 1896709)
Backed out changeset c6878c5fdde4 (bug 1896709)
Backed out changeset 8ca8a4082e44 (bug 1896709)
Backed out changeset 20ff83806cc6 (bug 1896709)
Backed out changeset 6c9338852a19 (bug 1896709)
Backed out changeset e8615b5d82ab (bug 1896709)
Backed out changeset 842f2047a4bd (bug 1896709)
Backed out changeset 54eea04a7342 (bug 1896709)
Backed out changeset 220b544127cb (bug 1896709)
Backed out changeset 52ce0ebfb29a (bug 1896709)
Backed out changeset 34fc79dc1ad7 (bug 1896709)
Backed out changeset 50b0f6a23e3c (bug 1896709)
Backed out changeset 89c4c6bb465a (bug 1896709)
2024-07-18 14:48:46 +03:00
Tooru Fujisawa
b255ab35f3 Bug 1896709 - Part 15: Add nsIDOMWindowUtils.clearSharedScriptCache. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215884
2024-07-18 09:15:29 +00:00
Tooru Fujisawa
c007d38afb Bug 1896709 - Part 14: Add ChromeUtils.clearScriptCache* methods. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D215883
2024-07-18 09:15:28 +00:00
Ryan VanderMeulen
75deea9393 Bug 1908335 - Add lint tasks to the Android Try presets. r=jcristau DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D216831
2024-07-17 16:21:15 +00:00
Sylvestre Ledru
45030f6970 Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato
This new version of clang 17 also slightly changed the formatting.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D215914
2024-07-17 11:15:31 +00:00
Mark Banner
27fac51e12 Bug 1907841 - Change ESLint's .eslintignore to be an imported module. r=frontend-codestyle-reviewers,zeid,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D216540
2024-07-16 12:53:09 +00:00
Mark Banner
f219486820 Bug 1907846 - Add ESLint flat config support to eslint-plugin-spidermonkey-js. r=frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D216539
2024-07-16 12:53:08 +00:00
Mark Banner
7ea3270091 Bug 1907846 - Change how our eslint-plugin-* modules determine the root source directory. r=frontend-codestyle-reviewers,mossop
This switches to checking for the package.json whose name is mozilla-central, which should be more
reliable than checking for .eslintignore, and ensures that we're compatible with flat config which
will remove .eslintignore.

Differential Revision: https://phabricator.services.mozilla.com/D216538
2024-07-16 12:53:08 +00:00
Joel Maher
ca12e3bc60 Bug 1898051 - add ability for ./mach try --tag to work with wpt tests. r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D211485
2024-07-16 12:30:19 +00:00
Paul Adenot
b81bab7544 Bug 1890370 - Remove libtheora from the tree. r=sylvestre,frontend-codestyle-reviewers,zeid
Differential Revision: https://phabricator.services.mozilla.com/D215395
2024-07-15 14:20:37 +00:00
Nicolas Silva
0a68b380ae Bug 1903553 - Add perf stats for frame building and fix corresponding glean probe. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D215626
2024-07-11 12:23:12 +00:00
Andrew Halberstadt
8b37960992 Bug 1903320 - Create a dedicated task route for pernosco, r=taskgraph-reviewers,jcristau
This sets up a route on Pernosco tasks such that they will emit pulse messages
over the notify service's exchange with a dedicated routing key. This will allow
the Pernosco pulse consumer to receive only tasks that should be recorded.

Differential Revision: https://phabricator.services.mozilla.com/D215967
2024-07-10 15:01:38 +00:00
Alexandre Lissy
592d871234 Bug 1896054 - Import chromium's glibc hack r=gcp,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D214928
2024-07-10 13:38:43 +00:00
Noemi Erli
9583c064df Backed out 3 changesets (bug 1874689, bug 1896054) for causing build bustages in syscall_wrappers.cc
Backed out changeset 04d5ec99e767 (bug 1874689)
Backed out changeset 287a0381bd07 (bug 1896054)
Backed out changeset 274105296168 (bug 1896054)
2024-07-10 13:26:17 +03:00
Alexandre Lissy
809b792be2 Bug 1896054 - Import chromium's glibc hack r=gcp,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D214928
2024-07-10 08:00:54 +00:00
Cristian Tuns
02e472a9ac Backed out changeset e4a4b630e627 (bug 1897914) for causing build bustages in platform.cpp CLOSED TREE 2024-07-09 21:44:22 -04:00
Cristian Tuns
022adcf065 Backed out changeset 7403e6b18b71 (bug 1883903) for causing build bustages in platform.cpp CLOSED TREE 2024-07-09 20:43:18 -04:00
Adam Brouwers-Harries
a43a9fec8d Bug 1897914 - Use nsProfiler to gather multi-process profiles when recieving a signal r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D210997
2024-07-10 00:23:32 +00:00
Adam Brouwers-Harries
23454e353d Bug 1883903 - Try to get a profile when we encounter a hang r=florian,profiler-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D214842
2024-07-10 00:22:54 +00:00
Adam Brouwers-Harries
24a5bb50c1 Bug 1748814 - Add auto scoped markers to the profiler Rust API r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D213652
2024-07-10 00:22:45 +00:00
ahochheiden
e7e2018aab Bug 1887885 - Collect the target architecture of a build r=firefox-build-system-reviewers,glandium
Added one field:
 - The `--target` of a build.

Re-added `python/mach/metrics.yaml` to `./mach doc mach-telemetry` generation (Not sure why it was missing).

Re-generated the associated docs. (It looks like this was not done for previously when other fields were added.

Differential Revision: https://phabricator.services.mozilla.com/D208811
2024-07-09 19:57:45 +00:00
Tyson Smith
9aa4cd7171 Bug 1906390 - Display fuzzing targets with FUZZER=list. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D215828
2024-07-09 19:18:52 +00:00
Julien Cristau
ef27a4a21c Bug 1905493 - remove task_try_config.json after mach try r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215733
2024-07-09 07:49:01 +00:00
Tamas Szentpeteri
31a25d4186 Backed out 3 changesets (bug 1874689, bug 1896054) for causing mochitest failures on browser_toolbox_many_toggles.js. CLOSED TREE
Backed out changeset 48fa42d93368 (bug 1874689)
Backed out changeset 83fa543c6d11 (bug 1896054)
Backed out changeset 0326426f5ccc (bug 1896054)
2024-07-09 10:26:05 +03:00
Alexandre Lissy
3360654464 Bug 1896054 - Import chromium's glibc hack r=gcp,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D214928
2024-07-09 05:32:26 +00:00
Sebastian Hengst
f0710bcf2c Merge mozilla-central to autoland. CLOSED TREE 2024-07-09 00:05:08 +02:00
andrej
b017297b6e Bug 1903720 - Add commands to run tests locally on perftest documentation on mozilla source docs. r=perftest-reviewers,afinder,sparky
These changes will make it easier to run performance tests locally, this will reduce the barrier to entry for people poking around and help improve our reach!

Differential Revision: https://phabricator.services.mozilla.com/D214367
2024-07-08 19:33:46 +00:00
Mark Banner
04b4086789 Bug 1906047 - Remove ESLint workaround for importing headjs globals now that the test directories have been fixed. r=frontend-codestyle-reviewers,Gijs
The general-test configuration applies this rule for all tests.

Differential Revision: https://phabricator.services.mozilla.com/D215737
2024-07-08 08:51:18 +00:00
Mark Banner
d51b82ce71 Bug 1906082 - Fix calling the L10n linter setup from the git hooks. r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D215605
2024-07-04 08:49:36 +00:00
Jonas Jenwald
7cf779bd22 Bug 1905864 - Generate a PDF.js default-prefs file that can be used directly in mozilla-central. r=pdfjs-reviewers,geckoview-reviewers,frontend-codestyle-reviewers,calixte,ohall
Differential Revision: https://phabricator.services.mozilla.com/D215481
2024-07-03 19:51:41 +00:00
Mark Banner
1d0ca7396f Bug 1905959 - Move jsm rule handling out of eslint-plugin-mozilla to the top-level config. r=frontend-codestyle-reviewers,Gijs
This helps to simplify the combinations in eslint-plugin-mozilla ahead of supporting the ESLint flat config.

Differential Revision: https://phabricator.services.mozilla.com/D215541
2024-07-03 11:41:30 +00:00
Mark Banner
21fda4f9d2 Bug 1905957 - Remove ESLint rule enabling from test specific configs to the general-test config where appropriate. r=frontend-codestyle-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D215540
2024-07-03 11:41:30 +00:00
Mike Hommey
dec8465865 Bug 1905797 - Account for the new format of diff lines in rustfmt nightly output. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D215450
2024-07-02 07:40:21 +00:00
Niklas Baumgardner
6a148486ef Bug 1895563 - Update nsContextMenu to a system module. r=Gijs,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D209458
2024-07-01 16:44:24 +00:00