Jonathan Sudiaman
9c0af7af23
Bug 1783406 - Provide a separate environment for the globals in recommended ESLint config r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D157665
2022-09-22 15:11:38 +00:00
Mike Hommey
5db5ac20e0
Bug 1791886 - Stop running file-whitespace lint on python files. r=sylvestre DONTBUILD
...
They are covered by flake8 and black.
Differential Revision: https://phabricator.services.mozilla.com/D157871
2022-09-22 07:56:23 +00:00
Marian-Vasile Laza
dca276a235
Backed out changeset 1efa06d7902a (bug 1784202
) for causing mochitest failures. CLOSED TREE
2022-09-22 04:44:50 +03:00
Mike Hommey
70cdc9a963
Bug 1784202
- Update builders to clang 15. r=firefox-build-system-reviewers,andi
...
We keep clang 14 for webrender-wrench for now, because of bug 1789346.
Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-09-21 20:11:34 +00:00
Joel Maher
4c4438b4f7
Bug 1536208 - removing old aarch64 manifest annotations. r=aryx,application-update-reviewers,bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D157677
2022-09-21 15:35:02 +00:00
Butkovits Atila
86987f69cb
Backed out changeset 9d40b66a9202 (bug 1784202
) for causing build bustages.
2022-09-21 15:05:08 +03:00
Mike Hommey
ba0be83d9b
Bug 1784202
- Update builders to clang 15. r=firefox-build-system-reviewers,andi
...
We keep clang 14 for webrender-wrench for now, because of bug 1789346.
Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-09-21 09:17:18 +00:00
Mike Hommey
782a811ff3
Bug 1791518 - Don't rely on the raw output from clang-format in mozlint. r=linter-reviewers,andi
...
Because of a bug in clang-format, its output is not always 3 lines per
warning. So instead of relying on its raw output, use the xml
replacement output, and produce our own output, in the form of a diff.
Differential Revision: https://phabricator.services.mozilla.com/D157717
2022-09-21 09:05:08 +00:00
Norisz Fay
c51fab676d
Merge autoland to mozilla-central a=merge
2022-09-16 06:27:55 +03:00
Rob Lemley
731bb5d17b
Bug 1791040 - Determine path to codespell exclude-list.txt from config root. r=linter-reviewers,ahal
...
Set the path to codespell's ignore-words file based on where it's YAML config
file is located. This allows Thunderbird to maintain a list of words to ignore.
Differential Revision: https://phabricator.services.mozilla.com/D157508
2022-09-15 21:10:49 +00:00
Nika Layzell
0316dc51b9
Bug 1790614 - Part 2: Use {ASSERT,ENSURE}_NS_{SUCCEEEDED,FAILED} in gtests, r=ahal,necko-reviewers
...
These macros will produce better outputs when they fail than these existing
patterns using `ENSURE_TRUE(NS_SUCCEEDED(...))` or similar, so this is a bulk
rewrite of existing tests to use them.
It should also help with discoverability when people base their tests off of
other existing tests.
Differential Revision: https://phabricator.services.mozilla.com/D157214
2022-09-15 14:51:50 +00:00
Greg Mierzwinski
60f6522141
Bug 1790987 - Run wikipedia, and google-search tests on autoland. r=perftest-reviewers,kshampur
...
Differential Revision: https://phabricator.services.mozilla.com/D157457
2022-09-15 13:43:39 +00:00
criss
a1f901b618
Backed out 2 changesets (bug 1788183, bug 1790728) for causing build bustages. a=backout
...
Backed out changeset bffdd7acc922 (bug 1788183)
Backed out changeset e649103bbbab (bug 1790728)
2022-09-15 15:37:13 +03:00
Gerald Squelart
92a9be7744
Bug 1774773 - Added atomic locking around marker schema functions - r=florian
...
To avoid real or apparent races to the list of marker schema functions, some
bits of the atomic count are used to effectively implement a RWLock, so that
any number of threads can add their own new marker schema concurrently, while
the profile-capture reading of the whole list can only be done on its own.
Differential Revision: https://phabricator.services.mozilla.com/D157310
2022-09-15 03:39:00 +00:00
Mike Hommey
760f2bada5
Bug 1788183 - Convert parse_pbzx.py to python3. r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D156056
2022-09-15 00:03:47 +00:00
Mike Hommey
0c65698608
Bug 1790728 - Update libdmg-hfstools. r=gsvelto
...
And use the updated version for system-symbols-mac jobs, instead of
pre-building the same thing in the docker image.
Differential Revision: https://phabricator.services.mozilla.com/D157283
2022-09-15 00:03:46 +00:00
Gerald Squelart
3ff540628c
Bug 1789333 - Profiler back-end overview doc - r=canaltinova
...
Images were generated from UMLet document, program available at: https://www.umlet.com/
Differential Revision: https://phabricator.services.mozilla.com/D156522
2022-09-14 04:32:16 +00:00
Andrew Halberstadt
6b33ba5174
Bug 1759030 - Use 'load_graph_config' from vendored taskgraph, r=releng-reviewers,jlorenzo
...
This function is called by `generator.py`, so we need to replace this before we
can replace that.
Differential Revision: https://phabricator.services.mozilla.com/D156697
2022-09-13 14:47:57 +00:00
Mark Banner
186d63f202
Bug 1479515 - Add an ESLint rule to check for valid property accesses on Services. r=Gijs
...
This is manually run and requires a full build. MOZ_OBJDIR needs to be set to point to the object directory.
Differential Revision: https://phabricator.services.mozilla.com/D156426
2022-09-12 16:38:44 +00:00
Mark Banner
274f8662e6
Bug 1479515 - Extend the ESLint rule for checking Ci properties to check for unknown interfaces as well. r=Gijs,application-update-reviewers,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D156425
2022-09-12 16:38:44 +00:00
Mark Banner
fd892006be
Bug 1479515 - Add an ESLint rule to check for unknown property accesses on Ci. r=Gijs
...
This is manually run and requires a full build. MOZ_OBJDIR needs to be set to point to the object directory.
Differential Revision: https://phabricator.services.mozilla.com/D156424
2022-09-12 16:38:43 +00:00
Greg Mierzwinski
f7577e4996
Bug 1764609 - Use pathlib in perfdocs, and utf-8 encoding. r=perftest-reviewers,kshampur
...
This patch fixes the path issues with PerfDocs on Windows machines. To do this, all `os` path manipulations were converted to use `pathlib`. The encoding, and permissions of the files are also set properly now since Windows has different defaults. The tests were also fixed to be able to run on Windows machines.
Differential Revision: https://phabricator.services.mozilla.com/D156983
2022-09-12 16:07:34 +00:00
Mark Banner
98826153d0
Bug 1789232 - Allow specifying a rule parameter to ./mach eslint. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D156421
2022-09-10 17:55:59 +00:00
Mark Banner
5da7fad6fe
Bug 1789249 - For the linter ESLint tests ignore exclusions from the main .eslintignore. r=linter-reviewers,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D156869
2022-09-09 18:46:38 +00:00
Henrik Skupin
16d96ac3fd
Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 11:58:44 +00:00
Marian-Vasile Laza
27fd1e9739
Backed out 2 changesets (bug 1789357, bug 1506782) for causing xpcshell failures on test_Capabilities.js. CLOSED TREE
...
Backed out changeset 144d4be497c6 (bug 1506782)
Backed out changeset 0884729fca31 (bug 1789357)
2022-09-09 12:34:02 +03:00
Henrik Skupin
3246749215
Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 08:55:33 +00:00
Eemeli Aro
a293e05849
Bug 1734217
- Drop netError.dtd and appstrings.properties from mobile as unused. r=geckoview-reviewers,nalexander,calu
...
These files were made available as:
- `chrome://browser/locale/netError.dtd`
- `chrome://browser/locale/appstrings.properties`
For desktop, overrides are defined in `browser/base/jar.mn` that map the corresponding `global/` paths to the above:
```
% override chrome://global/locale/appstrings.properties chrome://browser/locale/appstrings.properties
% override chrome://global/locale/netError.dtd chrome://browser/locale/netError.dtd
```
For mobile, similar overrides were earlier defined in `mobile/android/chrome/jar.mn`, but that file was removed in bug 1589182 three years ago.
Consequently, the `global/` paths for these files that are used under `docshell/` and `dom/` have resolved to the non-overridden `dom/` files since Firefox 72.
It should therefore be safe to remove them.
Differential Revision: https://phabricator.services.mozilla.com/D156403
2022-09-09 06:47:45 +00:00
Mark Banner
31e69d49d8
Bug 1789254
- Fix rejected words issues in WebsiteFilter.jsm. r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D156462
2022-09-08 14:40:06 +00:00
Norisz Fay
1bb0960ae2
Backed out 3 changesets (bug 1789254
) for causing bc failures on browser_xpcom_graph_wait.js CLOSED TREE
...
Backed out changeset bea1e1ba4a14 (bug 1789254
)
Backed out changeset 4086aaa5f3d0 (bug 1789254
)
Backed out changeset 131cac1d1146 (bug 1789254
)
2022-09-08 17:14:00 +03:00
Mark Banner
4d2266111f
Bug 1789254
- Fix rejected words issues in WebsiteFilter.jsm. r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D156462
2022-09-08 12:43:31 +00:00
Joel Maher
c67d212559
Bug 1777906 - update quitter xpi to be signed from mozilla-extensions repo. r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D156702
2022-09-07 19:25:19 +00:00
lyavor
c4dd970059
Bug 1709150 - Consider linter rule to make https the default for all kind of tests we add. r=Standard8,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D149394
2022-09-07 08:45:12 +00:00
Mark Banner
eaf1544bc4
Bug 1789220 - Add storybook-static to the list of generated files. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D156415
2022-09-06 15:35:36 +00:00
Alexandre Poirot
10e8296ed1
Bug 1783821 - [devtools] Load Launcher.sys.mjs via ChromeUtils.importESModule. r=perftest-reviewers,bomsy,arai,sparky
...
This is the result of:
$ ./mach esmify --imports . --prefix=devtools/client/framework/browser-toolbox
Differential Revision: https://phabricator.services.mozilla.com/D154072
2022-09-05 12:29:57 +00:00
Sylvestre Ledru
32963370f6
Bug 1789204 - ride along: mdn import: add a link to the meta bug DONTBUILD
...
Depends on D156408
Differential Revision: https://phabricator.services.mozilla.com/D156409
2022-09-05 08:48:03 +00:00
Gerald Squelart
372749cf93
Bug 1612799 - Add gtest to test failure injected by marker - r=canaltinova
...
There is no easy way to inject failures like OOM during the JSON generation
process, except from markers, which have direct access to the
SpliceableJSONWriter that may now use a fallible FailureLatchSource.
Differential Revision: https://phabricator.services.mozilla.com/D155664
2022-09-05 01:19:34 +00:00
Gerald Squelart
dba16709d9
Bug 1612799 - Handle failures when generating child profile - r=canaltinova
...
Use a fallible FailureLatchSource, and record the failure message (if any).
Differential Revision: https://phabricator.services.mozilla.com/D155663
2022-09-05 01:19:33 +00:00
Gerald Squelart
59d14ed295
Bug 1612799 - Handle failures when generating shutdown profile - r=canaltinova
...
Use a fallible FailureLatchSource, and record the failure message (if any).
Differential Revision: https://phabricator.services.mozilla.com/D155662
2022-09-05 01:19:33 +00:00
Gerald Squelart
bcccce43c1
Bug 1612799 - Handle failures in nsProfiler - r=canaltinova
...
Switch from the FailureLatchInfallibleSource singleton to a local fallible FailureLatchSource.
Differential Revision: https://phabricator.services.mozilla.com/D155661
2022-09-05 01:19:32 +00:00
Gerald Squelart
7a6721a5c5
Bug 1612799 - Pass a FailureLatch to EntryGetter, to potentially exit early on failure - r=canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D155660
2022-09-05 01:19:32 +00:00
Gerald Squelart
aaa6b9c690
Bug 1612799 - Handle failures and exit early in main JSON-generation function - r=canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D155659
2022-09-05 01:19:32 +00:00
Gerald Squelart
9225e9b0f1
Bug 1612799 - Make JITFrameInfo operations fallible - r=canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D155658
2022-09-05 01:19:31 +00:00
Gerald Squelart
e41fd56546
Bug 1612799 - Make UniqueStacks operations fallible - r=canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D155657
2022-09-05 01:19:31 +00:00
Gerald Squelart
474f0cf9c9
Bug 1612799 - Make UniqueStacks a FailureLatch - r=canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D155656
2022-09-05 01:19:30 +00:00
Gerald Squelart
001b0d4ec0
Bug 1612799 - JITFrameInfo carries its own FailureLatchSource - r=canaltinova
...
Because JITFrameInfo objects are creating *during* profiling, they need to have
their own fallible FailureLatchSource, so that any error can be safely handled
even before we know which FailureLatch will be used in the final JSON
generation work.
Differential Revision: https://phabricator.services.mozilla.com/D155655
2022-09-05 01:19:30 +00:00
Gerald Squelart
892f66577e
Bug 1612799 - Make ProcessStreamingContext a FailureLatch - r=canaltinova
...
This will help with forwarding the chosen FailureLatch to the code and
structures gathering per-thread samples and markers.
Differential Revision: https://phabricator.services.mozilla.com/D155654
2022-09-05 01:19:30 +00:00
Gerald Squelart
7dc3f8d14e
Bug 1612799 - Make UniqueJSONStrings a FailureLatch - r=canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D155652
2022-09-05 01:19:29 +00:00
Gerald Squelart
1339f652fd
Bug 1612799 - Make Spliceable{,Chunked}JSONWriter a FailureLatch - r=canaltinova
...
For now, all users specify an infallible latch.
Differential Revision: https://phabricator.services.mozilla.com/D155651
2022-09-05 01:19:28 +00:00
Gerald Squelart
cc671ebfb1
Bug 1612799 - Make ChunkedJSONWriteFunc a FailureLatch, with optionally-fallible operations - r=canaltinova
...
Note that at this point, it's using the FailureLatchInfallibleSource singleton,
so operations are still effectively infallible, i.e. they will terminate the
program.
But users already handle future fallible outcomes.
Differential Revision: https://phabricator.services.mozilla.com/D155649
2022-09-05 01:19:28 +00:00