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

8792 Коммитов

Автор SHA1 Сообщение Дата
Julien Wajsberg 3b2478d420 Bug 1688669 - Add a new test for network markers r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D102940
2021-02-15 16:01:15 +00:00
Julien Wajsberg 5d5e29f665 Bug 1688669 - Add a helper to assert property values in objects r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D102939
2021-02-15 16:01:15 +00:00
Julien Wajsberg fbe7a30fc7 Bug 1688669 - Clearly write which support files are needed for which profiler browser tests r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D102938
2021-02-15 16:01:15 +00:00
Julien Wajsberg 129f3bec94 Bug 1688669 - Do not sample stacks in marker tests r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D102937
2021-02-15 16:01:14 +00:00
Gregory Mierzwinski 4981c8073a Bug 1691558 - Disable perfdocs linting tests on windows and mac. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D105195
2021-02-15 15:12:26 +00:00
Daisuke Akatsuka 8a1a30387f Bug 1678618: Imlement a mechanism to fire page-removed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101114
2021-02-15 08:04:14 +00:00
Csoregi Natalia b32d4ca055 Backed out 4 changesets (bug 1678618) for node failures. CLOSED TREE
Backed out changeset e714440f6c0d (bug 1678618)
Backed out changeset ae83fda183dd (bug 1678618)
Backed out changeset bef0ea72ded8 (bug 1678618)
Backed out changeset ec96259a3f81 (bug 1678618)
2021-02-15 05:49:54 +02:00
Daisuke Akatsuka a0b93f756d Bug 1678618: Imlement a mechanism to fire page-removed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101114
2021-02-15 02:47:37 +00:00
Henrik Skupin 8cb90829cc Bug 1690474 - [remote] Move CDP specific code to cdp/. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D104574
2021-02-14 14:24:27 +00:00
Calixte Denizet a0b66fc1c7 Bug 1602482 - Remove use of ___custom_llvm_gcov_flush r=marco,dmajor
Because of conflicts between gcov_flush from gcc and the one from llvm, we renamed llvm one into ___custom_llvm_gcov_flush.
Since we switched to clang for linux ccov builds, this workaround is now useless.

Differential Revision: https://phabricator.services.mozilla.com/D104990
2021-02-12 20:37:25 +00:00
Csoregi Natalia 63a9b1da37 Backed out changeset 333391f911e5 (bug 1602482) for toolchains bustage. CLOSED TREE 2021-02-12 18:14:44 +02:00
Calixte Denizet 169e0b5a38 Bug 1602482 - Remove use of ___custom_llvm_gcov_flush r=marco,dmajor
Because of conflicts between gcov_flush from gcc and the one from llvm, we renamed llvm one into ___custom_llvm_gcov_flush.
Since we switched to clang for linux ccov builds, this workaround is now useless.

Differential Revision: https://phabricator.services.mozilla.com/D104990
2021-02-12 14:45:24 +00:00
Sylvestre Ledru fcc9fd2a93 no bug - doc(import-mdn): Update the procedure as it didn't work archived pages r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104992
2021-02-12 14:28:12 +00:00
Marco Castelluccio 1237bc5325 Bug 1692421 - Update fuzzy test to use the Python 3 taskgraph tests task instead of the Python 2 one. r=jmaher DONTBUILD
The Python 2 taskgraph tests task was removed in bug 1691731.

Differential Revision: https://phabricator.services.mozilla.com/D104985
2021-02-12 13:19:39 +00:00
Mark Banner 67bf517e00 Bug 1608272 - Extend an ESLint rule to disallow 'this' as the second argument to ChromeUtils.import. r=Gijs
Depends on D104684

Differential Revision: https://phabricator.services.mozilla.com/D104685
2021-02-11 22:02:16 +00:00
Dan Minor a5dea5e689 Bug 1416149 - Fix placement of test_fluent_lint.py r=gregtatum
Depends on D104414

Differential Revision: https://phabricator.services.mozilla.com/D104853
2021-02-11 20:30:19 +00:00
Sylvestre Ledru 7bc11534bc no bug - doc(import-mdn): mention that distro packages for pandoc can be too old r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104830
2021-02-11 18:58:40 +00:00
Julien Wajsberg 3c4ba8f56b Bug 1690631 - Add string matching helpers to Assert.jsm r=Gijs
This adds Assert.stringContains and Assert.stringMatches.

Differential Revision: https://phabricator.services.mozilla.com/D104254
2021-02-11 17:59:03 +00:00
Dan Minor febbe04140 Bug 1416149 - Add linter for checking fluent files r=zbraniecki,gregtatum,flod,Gijs,fluent-reviewers,linter-reviewers,sylvestre
This adds a linter for Fluent files based upon the existing test for bad
strings in browser_misused_characters_in_strings.js. It also adds a check
for identifiers that only permits lowercase letters, numbers and the
hyphen character (in ascii). Since a large number of existing identifiers
use uppercase letters, an exclusions file is used to disable the identifier
check on a file by file basis.

Differential Revision: https://phabricator.services.mozilla.com/D104414
2021-02-11 17:35:29 +00:00
Butkovits Atila caa6d11ebe Backed out 2 changesets (bug 1681698, bug 1681699) for causing failure on browser_browser_resources_console_messages.js. CLOSED TREE
Backed out changeset cf75ed5213a0 (bug 1681698)
Backed out changeset 283763c17ed7 (bug 1681699)
2021-02-11 20:18:10 +02:00
Alexandre Poirot 11d4a4a1ff Bug 1681698 - [devtools] Bootstrap the thread actor early, when the target actor instantiates r=jdescottes,nchevobbe,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99356
2021-02-11 15:23:58 +00:00
Markus Stange 5b4ef30e55 Bug 1691128 - Propagate active browsing context ID to subprocesses via env vars so that early process startup samples aren't discarded when the real value is sent via ProfilerInitParams in the EnsureProfilerStarted IPC message. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D104297
2021-02-10 00:51:15 +00:00
Markus Stange 8bee4d97d7 Bug 1691121 - Use a more modern way to obtain the thread ID on macOS. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D104261
2021-02-09 22:39:19 +00:00
Sylvestre Ledru ee69201894 Bug 1691352 - fix: mozlint/codespell: Improve the --fix display r=linter-reviewers,andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104524
2021-02-09 13:45:46 +00:00
Gerald Squelart f3afaa1ce8 Bug 1691504 - ProfileBufferCollector now provides the main profiler buffer's range start - r=canaltinova
ProfileBufferCollector::SamplePositionInBuffer() and BufferRangeStart() need to provide indices in the same main buffer, because they will be used to discard old data (at some previous `SamplePositionInBuffer`) once the `BufferRangeStart` indicates that it is not referenced by the profiler anymore.

Because the periodic sampler uses a local buffer (to avoid allocations and locks), we need to record the special location from the main profiler buffer in ProfileBufferCollector.

Differential Revision: https://phabricator.services.mozilla.com/D104497
2021-02-09 12:21:32 +00:00
Gerald Squelart 3cfdbccd99 Bug 1691353 - Fixed non-MOZ_GECKO_PROFILER build around StackCaptureOptions - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D104500
2021-02-09 12:00:58 +00:00
Akshat Dixit ad11827401 Bug 1591991 Add lint Fixed count support to linters r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D102082
2021-02-08 19:00:10 +00:00
Bogdan Tara 97fb951c1f Backed out changeset 4cdbb5e25ce5 (bug 1691128) for browser_startup_content_mainthreadio.js failures CLOSED TREE 2021-02-08 18:24:07 +02:00
Markus Stange 8cd816e7cd Bug 1691128 - Propagate active browsing context ID to subprocesses via env vars so that early process startup samples aren't discarded when the real value is sent via ProfilerInitParams in the EnsureProfilerStarted IPC message. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D104297
2021-02-07 06:35:46 +00:00
championshuttler 55195c2881 Bug 1691327 - Update sphinxcontrib-mermaid to v0.6.0 by renovate, DONTBUILD. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D104352
2021-02-08 08:34:03 +00:00
Alex Ionescu 408ded5b5e Bug 1683912 Reorganize FrameworkGatherer._urls by suites r=perftest-reviewers,igoldan
Differential Revision: https://phabricator.services.mozilla.com/D103630
2021-02-04 15:41:28 +00:00
Alex Ionescu 582cf18b70 Bug 1683912 Add unit test for FrameworkGatherer._urls r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101449
2021-02-08 07:14:44 +00:00
Renovate Bot 60ec5ad1db Bug 1690989 Update dependency Sphinx to v3.4.3 r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104157
2021-02-08 05:14:43 +00:00
Sylvestre Ledru 9270e2e340 Bug 1690990 - lint: add some requirements.txt to the line check linter + fix them r=linter-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104156
2021-02-05 17:19:40 +00:00
Mitchell Hentges 95beb2c204 Bug 1688606: Improve moz-phab finding to avoid "moz-phab-script.py" r=firefox-build-system-reviewers,sheehan,glandium
On Windows, when `moz-phab` is installed, two "executable" files are
created:

* moz-phab.exe
* moz-phab-script.py

Our `moz-phab.exe` detection was choking on `moz-phab-script.py` and was
unsure which of the two to use.

Differential Revision: https://phabricator.services.mozilla.com/D103834
2021-02-05 16:39:59 +00:00
Florian Quèze d520574f5c Bug 1690375 - Record markers with partial stacks for flushing pending notifications and marking a style flush as needed, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D103844
2021-02-04 15:13:21 +00:00
James Graham 03953dc05e Bug 1690398 - Require Python 3 for wpt lint, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D104048
2021-02-04 12:35:56 +00:00
Sylvestre Ledru f3bf06a03a Bug 1690745 - mozlint: Update to autopep8 1.5.5 r=linter-reviewers,marco,andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104007
2021-02-04 10:00:13 +00:00
Myeongjun Go 28da1b2212 Bug 1686987 - [perfdocs] Add unit tests for the gatherer and generator. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D102859
2021-02-03 18:00:47 +00:00
David Major bb69a13c52 Bug 1689999 - Clean up Windows ASan build instructions r=firefox-source-docs-reviewers,sylvestre DONTBUILD
These instructions were imported from the MDN page which was written at a time when clang-cl was an unstable non-default. Nowadays it should Just Work so we can cut out some unnecessary verbosity.

Differential Revision: https://phabricator.services.mozilla.com/D103636
2021-02-01 15:04:24 +00:00
Paul Bone fd853f4aea Bug 1687221 - Refactoring in fix_stacks.py r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D102128
2021-02-01 03:51:26 +00:00
Xidorn Quan 1479c9d9e2 Bug 1687056 - Upgrade rkv to 0.17 and remove failure from rkv's dependent crates. r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D102052
2021-01-29 12:58:00 +00:00
Mike Hommey 1eb8a5a11a Bug 1689467 - Handle error log stream as bytes in isolate_test. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D103446
2021-01-29 13:00:58 +00:00
Mike Hommey 6779b992a5 Bug 1686831 - Import glibc printf test cases verbatim. r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D103131
2021-01-28 09:48:53 +00:00
Julien Cristau 7c320c08f3 Bug 1689040 - Don't silence curl errors in update-verify. r=releng-reviewers,mtabara DONTBUILD
This should make errors easier to diagnose, since what we seem to be
getting now is just the exit code, which in the recent instance was 16,
aka:

  HTTP/2 error. A problem was detected in the HTTP2 framing layer. This
  is somewhat generic and can be one out of several problems, see the
  error message for details.

So hopefully future errors will include the error message.

Differential Revision: https://phabricator.services.mozilla.com/D103490
2021-01-29 16:34:43 +00:00
thomasmo 87d023b4d2 BUG 1688920 - Remove vrhost from build r=jrmuizel
This change remove the files used for building and testing vrhost.dll, which was used for an early prototype of Firefox Reality PC.
This binary is no longer needed for FxR PC.

Differential Revision: https://phabricator.services.mozilla.com/D103237
2021-01-28 00:27:35 +00:00
Csoregi Natalia 8db3ebb5da Backed out 9 changesets (bug 1686831) for sanitizer failures on nsTSubstring.cpp. CLOSED TREE
Backed out changeset 0e03d508c8d4 (bug 1686831)
Backed out changeset cf6dd6eab427 (bug 1686831)
Backed out changeset 308000f1e14b (bug 1686831)
Backed out changeset c4d470be0184 (bug 1686831)
Backed out changeset 9751918b1ccb (bug 1686831)
Backed out changeset dd9b7e71dcfb (bug 1686831)
Backed out changeset 486a184530a7 (bug 1686831)
Backed out changeset b64d3e89bf68 (bug 1686831)
Backed out changeset dcc6396e455a (bug 1686831)
2021-01-28 09:55:28 +02:00
Mike Hommey 7208a7a56d Bug 1686831 - Import glibc printf test cases verbatim. r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D103131
2021-01-27 23:10:02 +00:00
Kershaw Chang 0d82c1d0d8 Bug 1684041 - Add ODoH test r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102629
2021-01-27 22:04:25 +00:00
Calixte Denizet 238fc59b59 Bug 1689062 - Store Windows third party symbol files without CFI on symbol server r=gsvelto
Right now we don't store missing symbols when binary is missing for 64 bit platforms.
But some people don't need CFI to unwind stack since they've their own stuff but need to get symbol from address.

Differential Revision: https://phabricator.services.mozilla.com/D103152
2021-01-27 20:22:26 +00:00
Florian Quèze f19f7c8bc9 Bug 1688046 - Accept a rounding error of up to 1e-5 in floats used for timestamps in test_addProfilerMarker.js, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D103047
2021-01-27 11:37:10 +00:00
Florian Quèze f447ef94de Bug 1688300 - Add 'Runnable' profiler markers showing when runnables are executed and a 'Task' label frame showing which tasks are started by TaskController, r=bas,gerald.
Differential Revision: https://phabricator.services.mozilla.com/D102803
2021-01-26 08:57:19 +00:00
Molly Howell 497fb34bf3 Bug 1615223 - Fix multiple character mapping errors during documentation generation on Windows. r=firefox-source-docs-reviewers,championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D102942
2021-01-25 17:52:25 +00:00
Molly Howell 14b6802978 Bug 1454551 - Regenerate requirements.txt so it includes colorama. r=firefox-source-docs-reviewers,sylvestre
This diff looks busy, but the only actual change is the addition of colorama to
the list; everything else is just formatting changes that the pip-compile tool
generated for me.

Differential Revision: https://phabricator.services.mozilla.com/D102869
2021-01-25 17:42:54 +00:00
Gerald Squelart 59c49baa24 Bug 1685937 - Between sampling loops, never sleep less than 1/4 the requested interval - r=canaltinova
More exactly: Instead of trying to compensate for only the previous sleep over/undershoot, we now try to keep each sampling loop to a schedule based on the very beginning of sampling, by adding the requested interval to the scheduled sampling time.

In addition, the sleep time is always kept to a minimum, to avoid making the system busier by having one loop right after the other -- also, this very-close data may be less useful.

And in presumably very busy times, one sleep and the following sampling work may take much more time than the requested sampling interval, trying to keep to schedule is now futile (it would require trying to effectively multiply the sampling rate, which seems unlikely to succeed, and would impact Firefox even more), in which case we revert to the full sampling interval.

Differential Revision: https://phabricator.services.mozilla.com/D102253
2021-01-22 04:11:15 +00:00
Paul Bone 087c2cf345 Bug 1686632 - Remove non-inclusive language r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D101700
2021-01-21 17:28:23 +00:00
Daisuke Akatsuka 212e8052b1 Bug 1678619: Implement a mechanism to fire pages-rank-changed event. r=mak
Depends on D100458

Differential Revision: https://phabricator.services.mozilla.com/D100459
2021-01-21 15:51:02 +00:00
smolnar 157d60cd59 Merge autoland to mozilla-central. a=merge 2021-01-21 17:29:17 +02:00
smolnar 6652db1a08 Backed out 6 changesets (bug 1678619) on suspicion of causing crashes (bug 1687914). a=backout DONTBUILD
Backed out changeset c8b691b8e793 (bug 1678619)
Backed out changeset 37b2f438bd2b (bug 1678619)
Backed out changeset 0a92dfd99dac (bug 1678619)
Backed out changeset 2043a28e668e (bug 1678619)
Backed out changeset 53e385030d67 (bug 1678619)
Backed out changeset 9a1d599b4060 (bug 1678619)
2021-01-21 17:25:23 +02:00
Florian Quèze a350b3e6d3 Bug 1687709 - enable the CPU utilization feature by default for startup profiling, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D102451
2021-01-21 11:05:25 +00:00
Gregory Mierzwinski 40f4b63085 Bug 1686327 - Rewrite raptor gecko-profiling code. r=julienw
This patch rewrites some parts of the GeckoProfiler code to make it clearer and easier to maintain. It also changes how the profiles get organized into separate folders for each type. Furthermore, the archives no longer have the full directory path in them. To do this, we also have to update browsertime.

Differential Revision: https://phabricator.services.mozilla.com/D102043
2021-01-20 15:40:35 +00:00
Yura Zenevich 09a23bc0e6 Bug 1667998 - add AccessibilityUtils for testing accessibility related issues and use it to check accessibility when EventUtils.sendMouseEvent is used to make a click. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D100839
2021-01-15 18:20:37 +00:00
Daisuke Akatsuka b4770ef752 Bug 1678619: Implement a mechanism to fire pages-rank-changed event. r=mak
Depends on D100458

Differential Revision: https://phabricator.services.mozilla.com/D100459
2021-01-15 11:00:32 +00:00
Tyson Smith fb3bd328a3 No bug - Update fuzz blocker docs. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D102242
2021-01-20 03:42:43 +00:00
Gerald Squelart 87910429ba Bug 1685938 - Keep CPU measurements and their timestamp within 8*median duration - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D101546
2021-01-19 02:55:35 +00:00
Gerald Squelart 73c0a73dad Bug 1685938 - Add RunningTimes::mPostMeasurementTimeStamp and use as sample timestamp - r=canaltinova
mPostMeasurementTimeStamp records the time right after CPU measurements (point-based or interval) ended.
It is then used as the main sample timestamp, to both avoid another TimeStamp::Now() call, and to keep measurements and timestamp as close together as possible (and even closer in the next patch).

Differential Revision: https://phabricator.services.mozilla.com/D101545
2021-01-19 02:54:43 +00:00
Gerald Squelart 0688b80ad5 Bug 1685938 - Precompute sample timestamps as milliseconds in sampler loop - r=canaltinova
This handles the conversion (from TimeStamp to number of milliseconds since process start) once and gives it to subroutines.
It will also help in a following patch where this value will be more closely tied with the CPU usage value, so we need to make sure the sample timestamp is taken at a single point and then forwarded wherever it's needed, be it a duplicate or a real sample.

While here, the nested `delta` variables in the Sampler have been disambiguated for better clarity:
- `sampleStartDeltaMs` is at the start of each sampling loop,
- `threadSampleDeltaMs` is associated to one thread being sampled during that loop.

Differential Revision: https://phabricator.services.mozilla.com/D101544
2021-01-19 02:54:15 +00:00
Gerald Squelart 30c1777768 Bug 1685938 - Remove unused parameters in DoPeriodicSample - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D101543
2021-01-19 02:53:42 +00:00
Mike Hommey e4bf32e4f8 Bug 1686888 - Stop building dump_syms. r=gsvelto
Now that we use an external dump_syms, we don't need to build
breakpad's.

This means we also don't need the dump_syms_rust_demangle crate anymore.

Differential Revision: https://phabricator.services.mozilla.com/D101865
2021-01-15 10:31:48 +00:00
Noemi Erli 8ad2a18a79 Backed out 5 changesets (bug 1667998) for breaking a11y checks CLOSED TREE
Backed out changeset 633dda979b22 (bug 1667998)
Backed out changeset c9838cdb1303 (bug 1667998)
Backed out changeset 501c54cf59be (bug 1667998)
Backed out changeset 615b74c822ec (bug 1667998)
Backed out changeset 6d187c01fcb3 (bug 1667998)
2021-01-15 20:16:06 +02:00
Yura Zenevich ef01f4bcb9 Bug 1667998 - add AccessibilityUtils for testing accessibility related issues and use it to check accessibility when EventUtils.sendMouseEvent is used to make a click. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D100839
2021-01-15 16:52:44 +00:00
Myeongjun Go b30d64aa2e Bug 1674793 - [perfdocs] Expand the unit tests for perfdocs. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D99608
2021-01-15 14:47:36 +00:00
Butkovits Atila db44a41c6c Backed out 5 changesets (bug 1678619) for causing memory leaks. CLOSED TREE
Backed out changeset 64be4bea09dd (bug 1678619)
Backed out changeset 308fda30c166 (bug 1678619)
Backed out changeset efb9bdef89b8 (bug 1678619)
Backed out changeset d26f45eac0b9 (bug 1678619)
Backed out changeset b2f22d6d2725 (bug 1678619)
2021-01-15 12:56:01 +02:00
Daisuke Akatsuka e97c2c8e87 Bug 1678619: Implement a mechanism to fire pages-rank-changed event. r=mak
Depends on D100458

Differential Revision: https://phabricator.services.mozilla.com/D100459
2021-01-14 23:33:38 +00:00
Chris H-C fa00168092 Bug 1686726 - Update TSan docs to be slightly more precise r=Gankra
Differential Revision: https://phabricator.services.mozilla.com/D101817
2021-01-14 23:44:19 +00:00
Aaron Klotz b55bf5ac03 Bug 1611554: Part 3 - Use jinja templates to generate GeckoChildProcessServices.java and AndroidManifest_overlay.xml; r=geckoview-reviewers,agi
This patch converts `GeckoChildProcessServices.java` into a jinja template.
We also add an overlay generated from a jinja template for `AndroidManifest.xml`
that provides the definitions for content process services.

Note that even though Gradle supports simple substitution of variables in
manifests, I opted not to use that functionality. Since we need the more
powerful template functionality that jinja provides, I felt that having multiple
ways to substitute information into the manifest would be confusing, so we're
using jinja exclusively.

Differential Revision: https://phabricator.services.mozilla.com/D82578
2021-01-13 01:19:15 +00:00
Butkovits Atila bcdf48f6d6 Backed out 3 changesets (bug 1611554) for causing bustage on recurse.mk. CLOSED TREE
Backed out changeset bb1ce63d73ec (bug 1611554)
Backed out changeset 0d4317da1006 (bug 1611554)
Backed out changeset dc905e5db0cc (bug 1611554)
2021-01-13 03:16:17 +02:00
Aaron Klotz 898fb17519 Bug 1611554: Part 3 - Use jinja templates to generate GeckoChildProcessServices.java and AndroidManifest_overlay.xml; r=geckoview-reviewers,agi
This patch converts `GeckoChildProcessServices.java` into a jinja template.
We also add an overlay generated from a jinja template for `AndroidManifest.xml`
that provides the definitions for content process services.

Note that even though Gradle supports simple substitution of variables in
manifests, I opted not to use that functionality. Since we need the more
powerful template functionality that jinja provides, I felt that having multiple
ways to substitute information into the manifest would be confusing, so we're
using jinja exclusively.

Differential Revision: https://phabricator.services.mozilla.com/D82578
2021-01-13 00:38:25 +00:00
Mitchell Hentges f4a03e538f Bug 1680802: Install pylint requirements with legacy resolver r=firefox-build-system-reviewers,sheehan,glandium
pylint_requirements.txt fail to install with the new pip resolver due
to a conflict between astroid and lazy-object-proxy.
Rather than bumping those packages and handling the potential fallout,
the package-upgrade has been deferred and we will use the legacy
resolver in the interrim.

Differential Revision: https://phabricator.services.mozilla.com/D99940
2021-01-05 20:14:25 +00:00
Gregory Mierzwinski ddfec86473 Bug 1680998 - Update browsertime to v11. r=perftest-reviewers,davehunt
This patch updates browsertime to v11 which has a fix for the visual metrics failures that we've been seeing recently.

Differential Revision: https://phabricator.services.mozilla.com/D101193
2021-01-08 17:03:30 +00:00
Tyson Smith 77dd494f63 No bug - Update fuzz blocker Bugzilla link. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D101095
2021-01-08 08:23:02 +00:00
David Major 180d35da9f Bug 1685335 - Update to clang 11.0.1 r=firefox-build-system-reviewers,static-analysis-reviewers,andi,mhentges,sylvestre
In addition to the usual dot-release type of fixes, this also lets us drop a good amount of code that we had patched into our clang 11.

Differential Revision: https://phabricator.services.mozilla.com/D100959
2021-01-07 13:53:53 +00:00
Kartik Gautam 8828f6896c Bug 1682817 - Make whitespace/newline linter also fail for absent newline character at the end of files and also implement fix for it r=sylvestre
Depends on D100484

Differential Revision: https://phabricator.services.mozilla.com/D100443
2021-01-07 08:53:16 +00:00
Kartik Gautam 7ae6aea145 Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D100484
2021-01-07 08:53:08 +00:00
Mark Banner d866ed81a6 Bug 1685053 - Fix ESLint's setup_helper.py to continue working when a dependency section is missing in package.json. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D100765
2021-01-06 14:14:30 +00:00
Renovate Bot c2ff53383e Bug 1685147 - Update dependency sphinx-rtd-theme to v0.5.1 r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D100812
2021-01-05 22:10:19 +00:00
Kartikaya Gupta 8e2db561f5 Bug 1685198 - Fix failure on first sync for new repo. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D100843
2021-01-06 01:31:35 +00:00
Sylvestre Ledru 0ac5b07241 Bug 1684863 - Update to Sphinx 3.4.2 r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D100672
2021-01-04 14:16:28 +00:00
Mark Banner 14da69d10f Bug 1684905 - Fully enable globalThis for ESLint. r=Gijs,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D100697
2021-01-04 20:32:57 +00:00
Gerald Squelart a82ad0bb16 Bug 1329600 - Capture CPU usage on Linux - r=canaltinova,gcp
Differential Revision: https://phabricator.services.mozilla.com/D99416
2021-01-04 11:37:46 +00:00
Gerald Squelart 8ae4195eeb Bug 1329600 - Capture CPU usage on macos - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D99415
2021-01-04 07:22:59 +00:00
Gerald Squelart 6b6370fc4a Bug 1329600 - Capture CPU usage on Windows - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D99414
2021-01-04 07:19:18 +00:00
Gerald Squelart ecaf794c38 Bug 1329600 - Scaffolding to output CPU measurements in samples - r=canaltinova
The `RunningTimes` class stores CPU measurements. It may seem overkill for only one value, but in the future more measurements will be added.

During sampling, CPU measurements are collected by platform-specific code. This patch doesn't produce anything yet, see later patches.
These are stored with the samples.
Note that for duplicated samples (when a thread is known to be "asleep"), we still need to collect new measurements, because there could potentially be some activity happening, e.g. in system calls.
Finally the measurements are output as extra "samples" values.

Units for these values may platform-specific, so they are stored in the top-level JSON "meta" object.

We don't collect running times in the Base Profiler (yet), but we still need to add the appropriate field names in the samples' "schema", as expected by profiler.firefox.com.

Differential Revision: https://phabricator.services.mozilla.com/D99413
2021-01-04 07:19:16 +00:00
Gerald Squelart 484485975e Bug 1679930 - Add ActivePS experimental feature "CPU Utilization" - r=canaltinova
This patch adds "CPU Utilization" ("cpu" for short) as a new feature that will control the upcoming still-experimental CPU measurements.

Differential Revision: https://phabricator.services.mozilla.com/D99054
2021-01-04 07:17:38 +00:00
Gerald Squelart 581ab50327 Bug 1679930 - When the sampler thread function starts, it can store all ActivePS features - r=canaltinova
Instead of only capturing one feature (NoStackSampling), the sampler thread now stores all features so that any feature can be quickly looked at during sampling.

Currently this is still limited to NoStackSampling, a later patch will start using another feature.

Differential Revision: https://phabricator.services.mozilla.com/D99053
2021-01-04 07:16:59 +00:00
Cosmin Sabou 8a46d2e9d6 Backed out 3 changesets (bug 1680802, bug 1680630) for turning Bug 1521378 into permafail. CLOSED TREE
Backed out changeset 3464c8f10994 (bug 1680630)
Backed out changeset 591d32364c0f (bug 1680802)
Backed out changeset 3e9350fd509d (bug 1680802)
2021-01-04 18:47:44 +02:00
Mitchell Hentges cdf668d1ae Bug 1680802: Install pylint requirements with legacy resolver r=firefox-build-system-reviewers,sheehan,glandium
pylint_requirements.txt fail to install with the new pip resolver due
to a conflict between astroid and lazy-object-proxy.
Rather than bumping those packages and handling the potential fallout,
the package-upgrade has been deferred and we will use the legacy
resolver in the interrim.

Differential Revision: https://phabricator.services.mozilla.com/D99940
2021-01-04 15:20:21 +00:00
Cosmin Sabou 2978aa00a3 Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
Kartik Gautam 775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Razvan Maries 5ddff60025 Backed out 2 changesets (bug 1681985) for perma failures on test_basic.js and test_getInfo.js. CLOSED TREE
Backed out changeset 1ba9b39ff543 (bug 1681985)
Backed out changeset b515a3ab8bac (bug 1681985)
2020-12-23 20:04:55 +02:00