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

89 Коммитов

Автор SHA1 Сообщение Дата
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
Nicholas Nethercote 0f5a239170 Bug 1572582 - Merge datareporting-prefs.js into all.js. r=chutten
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-11 23:31:12 +00:00
Nicholas Nethercote 41a012cce7 Bug 1572621 - Merge services-sync.js into all.js. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D41323

--HG--
extra : moz-landing-system : lando
2019-08-09 09:18:41 +00:00
Nicholas Nethercote 73d5a12400 Bug 1572621 - Merge services-common.js into all.js. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D41322

--HG--
extra : moz-landing-system : lando
2019-08-09 09:18:27 +00:00
Nicholas Nethercote fb0974ffb7 Bug 1572354 - Fix erroneous prefs-related entries in .prettierignore. r=vporof
This patch removes two entries:

- devtools/client/netmonitor/launchpad.js: this file no longer exists.
- devtools/client/webconsole/test/mocha-test-setup.js: this file is a proper JS
  file, not a prefs file.

The patch also reformats mocha-test-setup.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 06:40:49 +00:00
Nicholas Nethercote b256ece713 Bug 1571934 - Inline security-prefs.js into all.js. r=keeler
security-prefs.js is #included into greprefs.js, but there's no good reason for
it to be separate from all.js. Having it separate makes it easier to overlook,
and all.js has a bunch of `security.*` prefs in it anyway.

This patch inlines it into all.js. It inlines it at the start of the file to
minimize the risk of the change, so that the prefs end up in greprefs.js in the
same order as before.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 17:41:22 +00:00
Victor Porof b8157dfaaf Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE
# ignore-this-changeset

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

--HG--
extra : source : 4722b924e08478f5337ab509718bd66906bf472f
extra : amend_source : a5baa1aab21639fdba44537e3a10b179b0073cb4
2019-07-05 11:29:32 +02:00
Victor Porof 24d2c75470 Bug 1561435 - Format devtools/server/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d2dc183b9bf9086d4b862e0e9a0cfa0bf773193f
2019-07-05 11:26:00 +02:00
Victor Porof f6db0ee557 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 60e4496cf9699dc59f2f4738cb60f87cbdb01e67
2019-07-05 11:24:38 +02:00
Victor Porof 7676fc16e4 Bug 1561435 - Format xpfe/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 8abd30d1e286593d4cbf60a389a4444902645530
2019-07-05 11:19:52 +02:00
Victor Porof 1fcaa7d445 Bug 1561435 - Format xpcom/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : c64ace0e98b196a9a392d54800159e327921bf99
2019-07-05 11:19:37 +02:00
Victor Porof c03a3e486b Bug 1561435 - Format widget/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 49c028f7fc5f40ecd36e5aae354d9a58d7a79435
2019-07-05 11:19:19 +02:00
Victor Porof 664ac086f7 Bug 1561435 - Format view/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 8692aedecb371e296a15dbab882cc7d927dd9521
2019-07-05 11:19:04 +02:00
Victor Porof afb5dbbfbb Bug 1561435 - Format uriloader/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 5dea4c57938db29579b142d06cec98f03eb5397d
2019-07-05 11:18:48 +02:00
Victor Porof 5c7cdbd4ba Bug 1561435 - Format tools/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d214f0c82813e5a8d3987debc490a2c11f1308ff
2019-07-05 11:18:19 +02:00
Victor Porof d3a1b5aeaa Bug 1561435 - Format toolkit/actors, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 2540803fff7587f65dd5d6253b6fb544647e5e20
2019-07-05 11:04:56 +02:00
Victor Porof 2b036e45c5 Bug 1561435 - Format testing/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : c0948f31e520ca087279cf429ca5f1db5a8341b8
2019-07-05 11:01:24 +02:00
Victor Porof 9b61ac0482 Bug 1561435 - Format taskcluster/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 469efde53a4fd604ffc7044779ce7cbad4576811
2019-07-05 10:59:45 +02:00
Victor Porof 9eeaa5c80c Bug 1561435 - Format storage/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 77bfd37cea066708241ba39795e94f5ee4a06ff6
2019-07-05 10:59:24 +02:00