Commit Graph

107 Commits

Author SHA1 Message Date
Mark Banner
b8dcda2dd2 Bug 1596056 - Format reftest harness files with Prettier. r=tnikkel
Depends on D189056

Differential Revision: https://phabricator.services.mozilla.com/D189057
2023-09-24 10:38:55 +00:00
Alexandre Poirot
2e2e9b1590 Bug 1320607 - [devtools] Remove the generated CSS Properties database. r=devtools-reviewers,nchevobbe
This wasn't really used anymore.
We are fetching the database from the server runtime in order to support
remote debugging correctly, where frontend CSS may be different from debuggee CSS.

Differential Revision: https://phabricator.services.mozilla.com/D187492
2023-09-07 20:59:34 +00:00
Butkovits Atila
ef58dad0ea Backed out changeset fb19de542f01 (bug 1320607) for causing python failures complaining about test_devtools_database_parsing . CLOSED TREE 2023-09-07 18:58:05 +03:00
Alexandre Poirot
622b937669 Bug 1320607 - [devtools] Remove the generated CSS Properties database. r=devtools-reviewers,nchevobbe
This wasn't really used anymore.
We are fetching the database from the server runtime in order to support
remote debugging correctly, where frontend CSS may be different from debuggee CSS.

Differential Revision: https://phabricator.services.mozilla.com/D187492
2023-09-07 13:08:37 +00: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
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
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
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
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
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
Mark Banner
5eeac4e3f9 Bug 1778112 - Move dom/base/test/jsmodules/ to use mjs files, rather than defining sourceType for ESLint. r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D183372
2023-07-13 13:56:12 +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
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
Florian Quèze
58ce18a1c9 Bug 1836191 - remove ChromeUtils.requestPerformanceMetrics that was only used by about:performance, r=smaug.
Differential Revision: https://phabricator.services.mozilla.com/D179696
2023-06-08 21:53:18 +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
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
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
Mark Banner
11b121ca39 Bug 1826063 - Enable Prettier on production xhtml and html files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D177937
2023-05-20 12:26:55 +00:00
Mark Banner
baa061e133 Bug 1829618 - Enable Prettier on json files (configuration changes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D176338
2023-05-09 16:14:52 +00:00
Mark Banner
fd41071824 Bug 1757373 - Switch source task linters to use '.' rather than '*' for path matching, so that dot files are also checked. r=linter-reviewers,sylvestre
Currently dot files (e.g. .eslintrc.js) are not checked in the full run on CI.

Also ignores .gradle/ directory as that it a cache.

Differential Revision: https://phabricator.services.mozilla.com/D177261
2023-05-09 13:11:21 +00:00
Dimi
7c43289aa2 Bug 1831347 - Refactoring formautofill test data structure r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D177167
2023-05-09 08:50:51 +00:00
Mark Banner
2d03564d1e Bug 1830265 - Tidy up .prettierignore. r=Gijs,sync-reviewers,markh
Enables Prettier for (these don't need to be excluded):
- extensions/pref/autoconfig/test/unit/autoconfig.js
- services/sync/tests/unit/prefs_test_prefs_store.js

Removes duplications where the files are already ignored in the .eslintignore section.

Re-organises the structure of the remaining parts to make it clearer why they are being excluded.

Differential Revision: https://phabricator.services.mozilla.com/D176636
2023-05-04 17:21:03 +00:00
Mark Banner
0260a3c821 Bug 1830265 - Enable prettier formatting on testing/profiles/**/user.js files. r=ahal,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D176635
2023-05-04 17:21:03 +00:00
Mark Banner
2f8c17920f Bug 1830265 - Enable Prettier and ESLint on toolkit/components/backgroundtasks/defaults. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D176634
2023-05-04 17:21:02 +00:00
Issam Mani
0baa427d01 Bug 1806951 - P4. Make CreditCardRuleset an ESModule. r=credential-management-reviewers,sgalich,dimi
Differential Revision: https://phabricator.services.mozilla.com/D174626
2023-05-02 09:42:29 +00:00
Bilal
76a6a97929 Bug 1816987 - ESMified browser/components/enterprisepolicies/schemas r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D174495
2023-04-27 19:23:00 +00:00
Mark Banner
79db15f9e5 Bug 1829620 - Treat try_task_config.json as a generated file, so that it is not linted when pushing to try. r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D176285
2023-04-24 16:00:32 +00:00
Cristian Tuns
b8f66c974f Bug 1828402 - Ignore dom/media/webvtt/vtt.sys.mjs for eslint prettier failures.r=fix CLOSED TREE 2023-04-20 15:42:41 -04:00
Mark Banner
c5a581ae79 Bug 1826548 - Add more entries to .prettierignore. r=Gijs
Unfortunately Prettier does not currently support multiple ignore files (see bug 1825508). Therefore we have to duplicate the entries from .eslintignore/Generated.txt/ThirdPartyPaths.txt for the time being.

Differential Revision: https://phabricator.services.mozilla.com/D174762
2023-04-17 13:33:56 +00:00
Cosmin Sabou
c244b16815 Backed out changeset d00b4179a45b (bug 1826548) for causing bug 1826804. CLOSED TREE 2023-04-06 20:11:55 +03:00
Mark Banner
0db39111aa Bug 1826548 - Add more entries to .prettierignore. r=Gijs DONTBUILD
Unfortunately Prettier does not currently support multiple ignore files (see bug 1825508). Therefore we have to duplicate the entries from .eslintignore/Generated.txt/ThirdPartyPaths.txt for the time being.

Differential Revision: https://phabricator.services.mozilla.com/D174762
2023-04-06 15:19:39 +00:00
Mark Banner
80ddf2045e Bug 1825739 - Replace generic ESLint disable statements with specific and prettier ones for formautofill. r=credential-management-reviewers,dimi
Depends on D174227

Differential Revision: https://phabricator.services.mozilla.com/D174228
2023-04-03 10:23:53 +00:00
Mark Banner
82e49f1086 Bug 1825739 - Replace generic ESLint disable statements with specific and prettier ones in devtools. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D174225
2023-04-03 10:23:52 +00:00
André Bargull
511c96f0dc Bug 1782273 - Part 30: Enable prettier for selfhosted code. r=tcampbell,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D153263
2022-08-04 17:13:03 +00:00
André Bargull
440ca8257a Bug 1782190: Remove no longer used eslint definitions for js-shell module loader. r=jonco
The shell module loader was rewritten to C++ in bug 1637529.

"jsrtfuzzing-example.js" was changed to appease prettier, now that it's enabled.

Differential Revision: https://phabricator.services.mozilla.com/D153151
2022-07-29 09:44:27 +00:00
Nick Alexander
03ff66c89d Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright
There are some complications here to handle unpackaged and packaged
builds.  In addition, there could be a difference between App prefs
and GRE prefs.  Since the underlying backgroundtasks code is built as
part of Gecko (i.e., `toolkit/...` rather than `browser/...`) I have
favoured GRE prefs.  I think, however, that what is written will work
for App-specific prefs, but I'm not concerned with that detail at this
time.

This also add tests for backgroundtask-specific prefs, which are
structured as both xpcshell and mochitest-chrome tests because
locally, the former tests unpackaged builds and the latter can
accommodate testing packaged builds.  We could use mochitest-chrome
for both, but this has been pleasant to work with locally.

Differential Revision: https://phabricator.services.mozilla.com/D97510
2021-01-27 22:54:25 +00:00
Butkovits Atila
89fe8f250d Backed out 8 changesets (bug 1679440, bug 1682069, bug 1667276) for causing failure on test_crash_backgroundtask_moz_crash.js. CLOSED TREE
Backed out changeset f06504e3219f (bug 1682069)
Backed out changeset 4d325f68ea24 (bug 1679440)
Backed out changeset 9ab334e527a5 (bug 1667276)
Backed out changeset 1c8d51d2c90f (bug 1667276)
Backed out changeset 8d6f10d83c6b (bug 1667276)
Backed out changeset 62488ec634f9 (bug 1667276)
Backed out changeset 1dcb2d1be264 (bug 1667276)
Backed out changeset c673fff5bd85 (bug 1667276)
2021-01-27 22:17:17 +02:00
Nick Alexander
eb8ab6ddf2 Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright
There are some complications here to handle unpackaged and packaged
builds.  In addition, there could be a difference between App prefs
and GRE prefs.  Since the underlying backgroundtasks code is built as
part of Gecko (i.e., `toolkit/...` rather than `browser/...`) I have
favoured GRE prefs.  I think, however, that what is written will work
for App-specific prefs, but I'm not concerned with that detail at this
time.

This also add tests for backgroundtask-specific prefs, which are
structured as both xpcshell and mochitest-chrome tests because
locally, the former tests unpackaged builds and the latter can
accommodate testing packaged builds.  We could use mochitest-chrome
for both, but this has been pleasant to work with locally.

Differential Revision: https://phabricator.services.mozilla.com/D97510
2021-01-27 18:10:33 +00:00
Csoregi Natalia
0b28701943 Backed out 8 changesets (bug 1679440, bug 1682069, bug 1667276) for causing failures on browser_all_files_referenced.js. CLOSED TREE
Backed out changeset f1a65c9b3ca2 (bug 1682069)
Backed out changeset 310d2116faf7 (bug 1679440)
Backed out changeset f970ef0897cd (bug 1667276)
Backed out changeset 38c20196aabc (bug 1667276)
Backed out changeset 60c2f2dbc676 (bug 1667276)
Backed out changeset cf52687c4433 (bug 1667276)
Backed out changeset 74580a0f2633 (bug 1667276)
Backed out changeset ab6f830f6e75 (bug 1667276)
2021-01-26 06:49:04 +02:00
Nick Alexander
b29166e40c Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright
There are some complications here to handle unpackaged and packaged
builds.  In addition, there could be a difference between App prefs
and GRE prefs.  Since the underlying backgroundtasks code is built as
part of Gecko (i.e., `toolkit/...` rather than `browser/...`) I have
favoured GRE prefs.  I think, however, that what is written will work
for App-specific prefs, but I'm not concerned with that detail at this
time.

This also add tests for backgroundtask-specific prefs, which are
structured as both xpcshell and mochitest-chrome tests because
locally, the former tests unpackaged builds and the latter can
accommodate testing packaged builds.  We could use mochitest-chrome
for both, but this has been pleasant to work with locally.

Differential Revision: https://phabricator.services.mozilla.com/D97510
2021-01-25 23:49:23 +00:00
Luca Greco
05661deda5 Bug 1609671 - Inspect binding should try to get the sourcemapped location while inspecting a function. r=jdescottes,vporof
Differential Revision: https://phabricator.services.mozilla.com/D60138

--HG--
extra : moz-landing-system : lando
2020-01-24 12:58:24 +00:00
Julian Descottes
ec780daa43 Bug 1606787 - Exclude CSS files from Prettier configuration r=vporof
It seems that the recommended Prettier extension for VSCode automatically formats CSS.
I guess this is also true for any editor extension that formats on save.

However ./mach lint is not checking CSS formatting issues, and we have not auto-formatted CSS files in the tree.

This can lead to unexpected formatting changes for developers using VSCode.

Differential Revision: https://phabricator.services.mozilla.com/D58593

--HG--
extra : moz-landing-system : lando
2020-01-03 12:26:41 +00:00
Nicholas Nethercote
66a26ccca9 Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes
This makes prefs definition simpler, more consistent, and less error-prone.

Differential Revision: https://phabricator.services.mozilla.com/D41145

--HG--
extra : moz-landing-system : lando
2019-08-26 01:44:59 +00:00
Nicholas Nethercote
dd9bd0a9f7 Bug 1572622 - Merge remote.js into all.js. r=ato
This makes prefs definition simpler, more consistent, and less error-prone.

Differential Revision: https://phabricator.services.mozilla.com/D41324

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Nicholas Nethercote
3aa9f46986 Bug 1572336 - Merge marionette.js into all.js. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41151

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Nicholas Nethercote
d138bffba8 Bug 1572582 - Merge healthreport-prefs.js into all.js. r=chutten
This makes prefs definition simpler, more consistent, and less error-prone.

The patch also changes the form of the "not Android" condition to one used more
widely in all.js.

Differential Revision: https://phabricator.services.mozilla.com/D41299

--HG--
extra : moz-landing-system : lando
2019-08-11 23:31:30 +00:00