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

11110 Коммитов

Автор SHA1 Сообщение Дата
Gregory Pappas 1ea1f154f9 Bug 1872922 - Replace last few uses of XPCOMUtils.defineLazyGetter with ChromeUtils.defineLazyGetter and add linter error for XPCOMUtils.defineLazyGetter r=extension-reviewers,credential-management-reviewers,devtools-reviewers,Standard8,arai,robwu,Gijs,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D198677
2024-01-17 15:54:00 +00:00
Gijs Kruitbosch 6e486d97d8 Bug 1780071 - add eslint rule for misuse of assignments or conditions inside ok(), r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D198593
2024-01-17 15:04:34 +00:00
Luca Greco 398b822d42 Bug 1868144 - Introduce a new condprof-addons linter and condprof-addons-verify taskcluster task. r=sparky,jmaher,linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D195434
2024-01-17 14:07:53 +00:00
Mark Banner 80ddb3d9c2 Bug 1875027 - Remove deprecated ESLint rule no-return-await. r=mossop
Eslint has now deprecated the rule.

Depends on D198777

Differential Revision: https://phabricator.services.mozilla.com/D198778
2024-01-17 09:51:30 +00:00
Cristian Tuns 6f633887ad Backed out 2 changesets (bug 1868144, bug 1874487) for causing mozlint-condprof-addons failures CLOSED TREE
Backed out changeset 7a65679aabcf (bug 1874487)
Backed out changeset cd38cf3f7807 (bug 1868144)
2024-01-16 16:34:11 -05:00
Luca Greco 95d082d369 Bug 1868144 - Introduce a new condprof-addons linter and condprof-addons-verify taskcluster task. r=sparky,jmaher,linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D195434
2024-01-16 21:11:33 +00:00
Mark Banner c7947b6868 Bug 1872674 - Add an ESLint rule to reject new uses of Console.sys.mjs/Log.sys.mjs. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D197504
2024-01-16 13:37:07 +00:00
Mark Banner d4d7c28388 Bug 1874828 - Add .mn (e.g. jar.mn) checking to the file-perms and file-whitespace linters. r=linter-reviewers,devtools-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D198667
2024-01-16 10:26:13 +00:00
Mark Banner 5e50b178a8 Bug 1874607 - Add support for the license linter to be able to fix .mjs files. r=linter-reviewers,sylvestre
Depends on D198502

Differential Revision: https://phabricator.services.mozilla.com/D198503
2024-01-15 12:23:02 +00:00
Mark Banner 3a8b45b931 Bug 1874607 - Remove support for xul files from the file permissions and license linters. r=linter-reviewers,sylvestre
Depends on D198501

Differential Revision: https://phabricator.services.mozilla.com/D198502
2024-01-15 12:23:02 +00:00
Mark Banner 75a568276f Bug 1568873 - Prevent the license linter from emitting errors for files it has fixed. r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D198501
2024-01-15 12:23:01 +00:00
Heitor Neiva 2a3d7392c1 Bug 1874207 - Include provisioprofile ignore on dep update verify r=releng-reviewers,bhearsum
Adds Contents/embedded.provisionprofile to ignored paths when verifying dep updates since it's not included on dep builds

Differential Revision: https://phabricator.services.mozilla.com/D198458
2024-01-12 22:13:39 +00:00
Fred Chasen 466576038b Bug 1871140 - Vendor Readability Library. r=cmkm
- Adds a moz.yaml to vendor the files from the Readability library on Github to `toolkit/components/reader/readability`.
- Updates includes to point to the new library location.

Differential Revision: https://phabricator.services.mozilla.com/D196998
2024-01-11 21:47:21 +00:00
Florian Quèze 054aa096cb Bug 1874108 - Only declare the ProfilerBandwidthCounter class when MOZ_GECKO_PROFILER is defined, r=canaltinova,profiler-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D198263
2024-01-11 15:28:58 +00:00
Florian Quèze d7ddab90be Bug 1873761 - let counter samples have their own timestamp instead of using the start time of the entire profiler sample, r=canaltinova,profiler-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D198078
2024-01-11 12:15:52 +00:00
Greg Mierzwinski 4fded98c31 Bug 1873925 - Remove tp6-bench from mach-try-perf categories. r=perftest-reviewers,aglavic DONTBUILD
This patch removes the tp6-bench from all mach-try-perf categories since it's not a test that we should be running anywhere. It's still in development.

Differential Revision: https://phabricator.services.mozilla.com/D198159
2024-01-10 16:49:34 +00:00
Mike Hommey ebace37fa9 Bug 1873570 - Only re-export gecko_profiler:🏷️:* when the profiler is enabled. r=profiler-reviewers,canaltinova
The only thing in the module in that case is a macro, and macros aren't
re-exported this way, macro_export puts them in the root of the crate
already.

Differential Revision: https://phabricator.services.mozilla.com/D197981
2024-01-10 00:27:47 +00:00
Stephen A Pohl 9d7f71a3ce Bug 1873782: Remove firefox-bin on macOS. r=mac-reviewers,bradwerth,glandium
Differential Revision: https://phabricator.services.mozilla.com/D197419
2024-01-09 22:41:11 +00:00
Stanca Serban 5a73b57894 Backed out changeset d88982ef09c8 (bug 1871447) as requested for landing under the wrong bug number and for better understanding of the changes made in the future. CLOSED TREE 2024-01-10 00:31:35 +02:00
Joel Maher 23271e7f18 Bug 1859911 - migrate raptor .ini to .toml. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197392
2024-01-09 20:43:41 +00:00
Catherine f0978e95f5 Bug 1873656 - Fix typo "sticked" -> "stuck". r=truber DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D198040
2024-01-09 19:24:54 +00:00
Florian Quèze 2f08a0f169 Bug 1871545 - add a profiler counter for bandwidth use, r=profiler-reviewers,necko-reviewers,kershaw,canaltinova.
Differential Revision: https://phabricator.services.mozilla.com/D197148
2024-01-09 14:41:55 +00:00
Stephen A Pohl bb58492631 Bug 1871447: Remove firefox-bin on macOS. r=mac-reviewers,bradwerth,glandium
Differential Revision: https://phabricator.services.mozilla.com/D197419
2024-01-09 00:18:31 +00:00
Natalia Csoregi b2289eef93 Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaObjectChild. CLOSED TREE 2024-01-08 23:18:19 +02:00
Nika Layzell c4aa6e4813 Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D195485
2024-01-08 19:48:23 +00:00
Mark Banner dca85f4f1b Bug 1873158 - Update ESLint related modules to their latest versions. r=mossop,aminomancer,devtools-reviewers,reusable-components-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197765
2024-01-05 19:52:08 +00:00
Mark Banner 8129e63fd3 Bug 1872857 - Add json checking to the file-perms and file-whitespace linters. r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D197583
2024-01-04 15:50:31 +00:00
James Graham c8599d8da5 Bug 1871425 - Log non-JSON output from wpt lint, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D197577
2024-01-04 09:01:36 +00:00
Nicholas Rishel 8722fbf2ab Bug 1869679 - Mark `nsIWindowsMutexFactory` as a platform specific interface. r=mhughes
Depends on D197555

Differential Revision: https://phabricator.services.mozilla.com/D197556
2024-01-03 19:53:48 +00:00
Nicholas Rishel c449907682 Bug 1872415 - Mark `nsIWindowsAlertNotification` as a platform specific interface. r=mhughes
Differential Revision: https://phabricator.services.mozilla.com/D197555
2024-01-03 19:53:48 +00:00
Bas Schouten e321e0508f Bug 1871461 - Part 3: Try another preprocessor macro that hopefully is actually defined on MinGW builds. r=mstange,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197338
2023-12-27 17:59:38 +00:00
Bas Schouten 34bcaa13fe Bug 1871461 - Part 2: Do not include ETW support on MinGW. r=mstange,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197269
2023-12-25 15:29:20 +00:00
Bas Schouten fce0ee013e Bug 1871461: Do not compile ETW support on MinGW. r=mstange,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197256
2023-12-24 21:37:48 +00:00
Mike Hommey 7885395123 Bug 1871183 - Use the local MarkerSchema in marker/mod.rs. r=profiler-reviewers,canaltinova
This makes the import/re-export used.

Differential Revision: https://phabricator.services.mozilla.com/D197015
2023-12-21 22:37:02 +00:00
Otto Länd 023b157add Bug 1869835: apply code formatting via Lando
# ignore-this-changeset
2023-12-21 18:20:47 +00:00
Bas Schouten a87f427a93 Bug 1869835 - Part 5: Update profiler documentation to match the new standard for defining markers. r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196764
2023-12-21 18:17:42 +00:00
Bas Schouten f9d9059cf6 Bug 1869835 - Part 1: Add code to emit ETW markers on Windows when a trace logger is enabled. r=canaltinova,profiler-reviewers
This adds code to emit ETW markers on windows. It supports all current
markers through a generic marker emitting schema. It also supports
additional payload and filtering for any markers that are updated to a
new compile-time marker schema system. Because of our abstraction layer
and cross-platform nature we have to manually create the TraceLogging
structs used and can't rely on their macro's, but this should give us a
very flexible and performant marker implementation on ETW.

Differential Revision: https://phabricator.services.mozilla.com/D196331
2023-12-21 18:17:40 +00:00
Mark Banner f644b5d5cc Bug 1862464 - Enable TypeScript style JSDoc definitions for jsdocs. r=mossop,webdriver-reviewers,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D196539
2023-12-21 14:00:32 +00:00
Nazım Can Altınova 423c0ace70 Bug 1868578 - Update CargoCallbacks usage in the profiler rust API r=aabh,profiler-reviewers
Previously CargoCallbacks was a unit-like struct. But with bindgen version
0.69.0, it's changed to a proper struct. To eliminate the breaking nature of
this change, they introduced another CargoCallbacks constant, but that's marked
as deprecated and we are currently using this instead of the new one. This
patch removes the usage of this deprecated constant and switches to the new
struct.

See the bindgen changelog here:
86f3dbe846/CHANGELOG.md (changed-1)

Differential Revision: https://phabricator.services.mozilla.com/D195649
2023-12-21 13:39:23 +00:00
Oliver Medhurst 1b63431c2f Bug 1730706 - Part 1: Remove IDBLocaleAwareKeyRange r=webidl,emilio,dom-storage-reviewers,janv,smaug
Unexpose and remove it, but keep locale internals
(as it is used by IDBObjectStore.createIndex() locale option)

Also remove test just for this (keep others for now)

Differential Revision: https://phabricator.services.mozilla.com/D192064
2023-12-21 12:12:44 +00:00
Butkovits Atila a28566bdd4 Backed out changeset 30210e0efac1 (bug 1867360) for causing failures at PIPDLUnitTestChild.cpp. CLOSED TREE 2023-12-19 02:28:52 +02:00
Nika Layzell 3bf610ffc2 Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D195485
2023-12-18 23:24:26 +00:00
Chris H-C 3a958a1442 Bug 1868988 - Remove PingCentre. Its watch has ended. r=nanj,thecount,perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D196227
2023-12-18 16:56:22 +00:00
Andrew Osmond 816b0b6da1 Bug 1868470 - Add new OffscreenCanvas and WebCodecs talos tests. r=perftest-reviewers,sparky
This patch adds new variants of the glvideo/canvas2dvideo talos tests,
but this time focused on OffscreenCanvas and WebCodecs.

There are test variants for each:
- Execution thread (main thread or DOM worker)
- Canvas type (WebGL or 2D canvas)
- Codec type (H264, VP9 or AV1)

They are included as part of the existing webgl talos job.

Differential Revision: https://phabricator.services.mozilla.com/D196465
2023-12-15 22:18:41 +00:00
Joel Maher 90c34fbbd0 Bug 1869204 - Batch 19.1 - migrate python/ mozbuild and mozbase .ini to toml. r=ahal,firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D195995
2023-12-15 20:59:46 +00:00
Joel Maher 0bc470a2e8 Bug 1869890 - migrate cram.ini to .toml. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D196352
2023-12-14 21:00:24 +00:00
Joel Maher 2a46c30602 Bug 1869871 - convert perftest.ini -> .toml. r=sparky,perftest-reviewers,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D196334
2023-12-14 19:41:14 +00:00
Mike Conley 9415a9f13d Bug 1866802 - Move ASRouterAdmin tool to about:asrouter and its own component folder. r=pdahiya,Gijs,desktop-theme-reviewers,dao
This tries to maintain stylistic continuity, while also trying to decouple from
newtab as much as possible. This is a first foray, and future patches will
further this decoupling.

This also modifies about:asrouter to show an error message if the ASRouter devtools
pref is not set to true.

Differential Revision: https://phabricator.services.mozilla.com/D194811
2023-12-14 18:46:55 +00:00
Randell Jesup 404c987e29 Bug 1869665 - profiler thread-safety annotations r=profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D196241
2023-12-14 14:05:17 +00:00
Butkovits Atila 8582db0ea5 Backed out 5 changesets (bug 1866802) for causing failures at test_TopSitesFeed.js. CLOSED TREE
Backed out changeset af9fbbc9ae50 (bug 1866802)
Backed out changeset 81d5b7de7178 (bug 1866802)
Backed out changeset e4d0863ed222 (bug 1866802)
Backed out changeset c0deb681b193 (bug 1866802)
Backed out changeset dda3e5e39f8c (bug 1866802)
2023-12-14 03:22:48 +02:00