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

1804 Коммитов

Автор SHA1 Сообщение Дата
Gregory Mierzwinski ca271d11d6 Bug 1732956 - Add facebook/reddit responsiveness tests. r=perftest-reviewers,kimberlythegeek
This patch adds 4 new interactive tests for facebook and reddit. The patch updates the recordings as well as needed. Furthermore, an update to the visualmetrics.py script is needed to handle a permafailure in the reddit-post tests. Note that the reddit-post test was split in 2 since they are quite large.

Differential Revision: https://phabricator.services.mozilla.com/D130665
2021-11-17 15:12:34 +00:00
Iulian Moraru 897bb9d353 Backed out 2 changesets (bug 1707591) for causing python mozlint failures on test_yaml.py. CLOSED TREE
Backed out changeset a730ab2d0dbe (bug 1707591)
Backed out changeset 0269849fd7ef (bug 1707591)
2021-11-12 18:44:36 +02:00
Sylvestre Ledru 372b8d509f Bug 1707591 - Update to black 21.10b0 r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D130964
2021-11-12 15:06:55 +00:00
Mark Banner b2e123ddca Bug 1739708 - Turn off ESLint rule mozilla/reject-importGlobalProperties for sjs files. r=Gijs,webdriver-reviewers,whimboo
sjs files have a separate sandbox, and require Cu.importGlobalProperties for now.

Differential Revision: https://phabricator.services.mozilla.com/D130693
2021-11-09 08:38:16 +00:00
Gregory Mierzwinski 688dc18433 Bug 1739426 - Add a diff feature to perfdocs verification. r=perftest-reviewers,AlexandruIonescu
This patch adds some code to produce a diff of the files that are problematic.

Differential Revision: https://phabricator.services.mozilla.com/D130380
2021-11-05 13:25:13 +00:00
andrej 144e97d457 Bug 1737152 - Review and update Raptor test owners r=perftest-reviewers,sparky
Depends on D128528

Differential Revision: https://phabricator.services.mozilla.com/D129293
2021-11-03 22:18:36 +00:00
Myeongjun Go a2e121e262 Bug 1674220 - [perfdocs] Enumerate Talos tests using PerfDocs r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D128037
2021-11-02 19:11:06 +00:00
OnuohaOluebube 5ff974a055 Bug 1460100 - Added ESLint rule to prevent use of nsIScriptableUnicodeConverter r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D129668
2021-11-01 16:56:25 +00:00
Riya c45c0f507e Bug 1730126 - Enable ESLint rule no-loss-of-precision. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D129336
2021-10-29 08:29:26 +00:00
Renovate Bot c54d5f420d no bug - Update dependency docutils to v0.18 r=linter-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D129513
2021-10-26 15:04:01 +00:00
Jan Odvarko eca2f3ae2a Bug 1737572 - [devtools] Move documentation for contributors to a subfolder r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D129389
2021-10-26 09:41:51 +00:00
Evgenia Kotovich 228e38a58c Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-25 11:12:41 +00:00
Riya ac2ad7e7f2 Bug 1737032 - Removed traces of "remote XUL". r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D129255
2021-10-25 11:00:47 +00:00
Renovate Bot 8ec610cce9 no bug - Update dependency autopep8 to v1.6.0 r=linter-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D129355
2021-10-24 21:33:48 +00:00
criss 152f71d4d3 Backed out changeset b60f98f26664 (bug 1576768) for causing mochitest failures. CLOSED TREE 2021-10-22 15:55:50 +03:00
Evgenia Kotovich e29e29aa5a Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-22 11:39:46 +00:00
Frederik Braun 07077e4449 Bug 1736781 - Update eslint-plugin-no-unsanitized to version 3.2.0 r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128988
2021-10-21 13:08:11 +00:00
Andrew Halberstadt cf4e5e6294 Bug 1736559 - [lint] Ignore all 'package-lock.json' files in codespell linter, r=linter-reviewers,sylvestre
Depends on D128885

Differential Revision: https://phabricator.services.mozilla.com/D128886
2021-10-19 19:11:09 +00:00
Andrew Halberstadt 4dd650366c Bug 1736559 - [lint] Fix codespell silently fixing files, r=linter-reviewers,sylvestre
We have a check in the 'CodespellProcess' class to ignore errors that are
fixing single letter camelCase errors (since these tend to be used frequently.

Unfortunately, when using '--fix', these errors are fixed regardless as the
fixing happens with the codespell process. Since we increment the 'fix'
variable after the check happens, we don't even report that anything was
'fixed'.

Ideally we would find a way to prevent these types of errors from being fixed,
but for now this at will at least ensure that the user is notified that
something was modified.

Differential Revision: https://phabricator.services.mozilla.com/D128885
2021-10-19 19:11:09 +00:00
Mark Banner 5e856096fc Bug 1736022 - For ESLint, mark 'handleRequest' as a used variable for sjs files. r=Gijs
Depends on D128594

Differential Revision: https://phabricator.services.mozilla.com/D128595
2021-10-18 14:28:26 +00:00
Mark Banner 660f501442 Bug 1736022 - Speed up ESLint rule no-arbitrary-setTimeout.js. r=Gijs
This moves the more expensive check for testing the file type until after we've found an instance of setTimeout.
This is quicker as the initial checks are for simple comparisons.

Differential Revision: https://phabricator.services.mozilla.com/D128594
2021-10-18 14:28:25 +00:00
Daisuke Akatsuka 4e72afc41d Bug 1678607: Implement a mechanism to fire bookmark-tags-changed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D128326
2021-10-18 04:43:44 +00:00
Alexandru Michis 5b0d89d8d6 Backed out 3 changesets (bug 1678607) for causing bc failures in browser_bookmark_add_tags.js
Backed out changeset bf20be578758 (bug 1678607)
Backed out changeset fd3fbf15e95d (bug 1678607)
Backed out changeset 2688fa3d2bc2 (bug 1678607)
2021-10-18 03:10:58 +03:00
Daisuke Akatsuka ef8ed2e02d Bug 1678607: Implement a mechanism to fire bookmark-tags-changed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D128326
2021-10-17 22:47:36 +00:00
Mathew Hodson 05af5b9c98 Bug 1735681 - Add colorama to pylint_requirements.in. r=ahal
This makes sure colorama stays in pylint_requirements.txt next
time someone regenerates it on a non-Windows machine. Since
colorama is only required by pylint on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D128426
2021-10-14 13:14:02 +00:00
Nihanth Subramanya e6d5cae88b Bug 1731780 - Reject .only() chained onto add_task in tests. r=Gijs,mythmon,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128027
2021-10-13 21:26:40 +00:00
Mathew Hodson 3df2d4789a Bug 1734971 - Add pylint requirements for Windows. r=linter-reviewers,sylvestre
This adds colorama, which is required by pylint only on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D128007
2021-10-13 17:05:42 +00:00
Renovate Bot c9b15cac97 no bug - Update dependency flake8 to v4 r=linter-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D128092
2021-10-13 14:16:38 +00:00
Andrei Oprea c73cc990d7 Bug 1730924 - Upgrade ajv.js from 4.1.1 to 6.12.6 r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127625
2021-10-12 19:41:05 +00:00
Alexandru Michis ba57f54149 Backed out changeset 837ba61b9975 (bug 1730924) for causing xpcshell failures in services/sync.
CLOSED TREE
2021-10-12 20:13:05 +03:00
Andrei Oprea db4ace8177 Bug 1730924 - Upgrade ajv.js from 4.1.1 to 6.12.6 r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127625
2021-10-12 14:43:02 +00:00
Agi Sferro 2bd64785fc Bug 1571899 - Use google-java-format via spotless to enforce Java formatting. r=ahal,owlish
This change adds a new lint `android-format` which enforces formatting of Java
code using google-java-format.

To run the lint simply run:

./mach lint -l android-format

This command also support automatically fixing all errors running by adding
--fix:

./mach lint -l android-format --fix

This change also removes all the formatting-related checkstyle checks which are
now implicitly enforced by the formatter.

Differential Revision: https://phabricator.services.mozilla.com/D127734
2021-10-11 18:11:55 +00:00
Mark Banner f7ee253451 Bug 1734823 - Enable ESLint rule no-unused-vars globally for xpcshell test*.js files. r=necko-reviewers,Gijs,valentin
This enables it as a warning for all files, and as an error for some files.

Differential Revision: https://phabricator.services.mozilla.com/D127944
2021-10-11 11:07:02 +00:00
Daisuke Akatsuka 4ab0a903c6 Bug 1678627: Implement a mechanism to fire bookmark-time-changed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D125924
2021-10-07 22:10:20 +00:00
Andrew Halberstadt 95449daa6d Bug 1732723 - Rename "taskgraph" Python module to "gecko_taskgraph". r=jmaher
For a long time two copies of the 'taskgraph' module have existed in parallel.
We've attempted to keep them in sync, but over time they have diverged and the
maintenance burden has increased.

In order to reduce this burden, we'd like to re-join the two code bases. The
canonical repo will be the one that lives outside of mozilla-central, and this
module will depend on it. Since they both have the same module name (taskgraph)
we need to rename the version in mozilla-central to avoid collisions.

Other consumers of 'taskgraph' (like mobile repos) have standardized on
'<project>_taskgraph' as their module names. So replicating that here as well.

Differential Revision: https://phabricator.services.mozilla.com/D127118
2021-09-30 09:50:08 -04:00
Daisuke Akatsuka a1a45ffa6a Bug 1678626: Implement a mechanism to fire bookmark-guid-changed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D125770
2021-10-05 00:53:46 +00:00
Daisuke Akatsuka e59acf8e6b Bug 1678624: Implement a mechanism to fire bookmark-url-changed event. r=mak
Depends on D103148

Differential Revision: https://phabricator.services.mozilla.com/D103883
2021-10-05 00:53:44 +00:00
Mirko Brodesser c61c10a2ce Bug 1731994: part 8) Rename `nsIContentPermissionRequest`'s `isHandlingUserInput` to `hasValidTransientUserGestureActivation`. r=edgar
It's more accurate.

Differential Revision: https://phabricator.services.mozilla.com/D126916
2021-10-04 12:16:00 +00:00
Daisuke Akatsuka d246521ee5 Bug 1678623: Implement a mechanism to fire bookmark-title-changed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103147
2021-10-01 12:01:29 +00:00
Alex Lopez 63022efc7a Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-27 18:12:51 +00:00
Butkovits Atila eb735ac57e Backed out changeset 53b1fa0faa6d (bug 1696251) for breaking the static-analysis integration. a=backout 2021-09-23 13:06:40 +03:00
Alex Lopez a8e7083c84 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-21 20:38:16 +00:00
Alex Lopez 78a61815e0 Bug 1696251 - Rename methods that would shadow builtin functions when de-classing. r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D126275
2021-09-21 20:38:15 +00:00
Mark Banner 7ad142bf38 Bug 1445813 - Allow globalThis as a second parameter to defineLazyScriptGetter and friends. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D126071
2021-09-21 12:42:37 +00:00
Sandor Molnar b0b9b300de Backed out changeset 539feb1c3bda (bug 1445813) for causing ES lint failure. CLOSED TREE 2021-09-21 15:19:18 +03:00
Mark Banner 1f1d768907 Bug 1445813 - Allow globalThis as a second parameter to defineLazyScriptGetter and friends. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D126071
2021-09-21 11:42:28 +00:00
Butkovits Atila c06a3dd9fa Backed out changeset 510dd46a9de7 (bug 1696251) for causing Android build bustages. 2021-09-21 05:16:50 +03:00
Alex Lopez fe61e94ec8 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-20 20:21:07 +00:00
Bob Owen 4e3f0dcd50 Bug 1546154 p6: Remove MSCOMInitThreadPoolListener. r=padenot
Threads are implicitly members of the multi-threaded apartment and calls to
CoInitializeEx (and CoUninitializeEx) cause user32 to load.

Differential Revision: https://phabricator.services.mozilla.com/D124934
2021-09-20 10:09:02 +00:00
Bob Owen f9afd195ff Bug 1546154 p5: Remove CoInitializeEx call from TaskController. r=bas
Threads are implicitly members of the multi-threaded apartment and calls to
CoInitializeEx (and CoUninitializeEx) cause user32 to load.

Differential Revision: https://phabricator.services.mozilla.com/D124933
2021-09-20 10:09:02 +00:00