Commit Graph

6301 Commits

Author SHA1 Message Date
Mark Banner
ff9179a99e Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 09:31:26 +00:00
Cosmin Sabou
e3d5f2a521 Backed out changeset 6f69dc19ed7c (bug 1507487) for devtools failures on browser_scratchpad_pprint.js CLOSED TREE 2018-12-10 19:04:49 +02:00
Mark Banner
d4cd673de5 Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 17:27:56 +00:00
Marco Castelluccio
a2850b812e Bug 1512146 - Update expected results for some tests using mach try fuzzy. r=ahal
--HG--
extra : rebase_source : 4cf706b219126f90b11c2e17f0401d82fe228aa5
2018-12-04 22:54:36 -05:00
Andrew Halberstadt
ce87b08ac4 Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

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

--HG--
extra : moz-landing-system : lando
2018-12-05 19:20:16 +00:00
Cosmin Sabou
69f9d5002c Merge mozilla-inbound to mozilla-central. a=merge 2018-12-05 12:19:43 +02:00
Marco Castelluccio
a1348d373a Bug 1512082 - Add TRY_SELECTOR env to templates expected value. r=me
--HG--
extra : rebase_source : 498a3f1162ab15157ce553db9b38b4218a81ef48
2018-12-04 17:42:41 -05:00
Razvan Maries
36f8be9d4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-12-05 00:01:48 +02:00
Markus Stange
798399978e Bug 1505719 - Try harder when computing breakpad IDs for Android system libraries. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D12836

--HG--
extra : moz-landing-system : lando
2018-12-03 19:21:44 +00:00
Axel Hecht
068dc3fde6 Bug 1492070, update mach command for compare-locales, #firefox-build-system-reviewers r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D11902

--HG--
extra : moz-landing-system : lando
2018-12-03 12:08:31 +00:00
Tom Prince
0164c7946b Bug 1509962: [update-verify] Use taskgraph fetches in update-verify; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12981

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:55 +00:00
Tom Prince
3c202fa348 Bug 1509962: [update-verify] Use argparse in update-verify code; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12980

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:43 +00:00
Tom Prince
60cd948131 Bug 1509962: [update-verify] Remove some unused options from update-verify code; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12979

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:37 +00:00
Tom Prince
2eb17550b5 Bug 1509962: [update-verify] Run lint against python code in update-verify; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12978

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:31 +00:00
Tom Prince
6ffdb8908e Bug 1509962: [update-verify] Use in-tree update-verify code; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12977

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:28 +00:00
Tom Prince
5edec00d54 Bug 1509962: [update-verify] Import update-verify and final-verify code from build-tools; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12976

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:16 +00:00
Tom Prince
5cacb2dfc9 Bug 1509962: [mozrelease] Add mozrelease to in-tree lint config; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12975

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:08 +00:00
Coroiu Cristina
3564dfde3b Merge inbound to mozila-central a=merge 2018-12-01 07:46:00 +02:00
Marco Castelluccio
8eff89e376 Bug 1488849 - Don't fail when a chunk is not running any test when the try selector is 'coverage'. r=ahal
--HG--
extra : rebase_source : 8099420cf47593ea7b38fadc8b4c5f87f791f250
2018-11-23 17:59:04 +01:00
Mark Banner
da86564348 Bug 1511079 - Don't apply the node wrapper for npm when on windows. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D13456

--HG--
extra : moz-landing-system : lando
2018-11-29 21:41:13 +00:00
Ehsan Akhgari
6b07492159 Bug 1511319 - Ensure that tools/clang-tidy/test doesn't get reformatted using clang-format; r=sylvestre a=Aryx
Reformatting this directory can break some of the tests here.

Differential Revision: https://phabricator.services.mozilla.com/D13518
2018-11-30 06:36:07 -05:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Sylvestre Ledru
125623fce9 Bug 1511284 - Also ignore breakpad client r=me CLOSED TREE
--HG--
extra : amend_source : 68654497f1fe2270636ac8343d7411df92e0622b
2018-11-30 08:00:43 +01:00
Marco Castelluccio
33976b9bd2 Bug 1510391 - When a task is not found, don't add None to the list of tasks to run. r=ahal
--HG--
extra : rebase_source : ef53880797df740bbbd289099cb602539b208599
2018-11-27 17:29:34 +01:00
Marco Castelluccio
04087c53c1 Bug 1510452 - Use srcdir_relpath instead of file_relpath for tests and test support files. r=ahal
--HG--
extra : rebase_source : ec726b7b2a409e6e30dcdee2e5795eabacd56fb6
2018-11-27 23:53:33 +01:00
Ehsan Akhgari
490e611801 Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
Ehsan Akhgari
565ce9bbad Bug 1510787 - Add security/sandbox/chromium-shim/ to the list of third-party sources r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D13318

--HG--
extra : moz-landing-system : lando
2018-11-29 08:25:27 +00:00
Ehsan Akhgari
c8c64d1b1d Bug 1510765 - Add netwerk/dns/nsIDNKitInterface.h to the list of third-party sources r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D13306

--HG--
extra : moz-landing-system : lando
2018-11-29 08:25:04 +00:00
Sylvestre Ledru
ef05004811 Bug 1503537 - Get rid of the pdfium & mortar code r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D10352

--HG--
extra : moz-landing-system : lando
2018-11-28 19:31:21 +00:00
Dão Gottwald
859de3e25b Bug 1510579 - Load scripts in global-scripts.inc the same way browser.xul does. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13237

--HG--
extra : moz-landing-system : lando
2018-11-28 16:13:16 +00:00
Andrew Halberstadt
7b0d039311 Bug 1509391 - [eslint] Ignore excluded files that mozlint wasn't able to handle automatically r=Standard8
Normally eslint handles its own file exclusions, but there are still some
globally excluded paths that |mach lint| passes in (e.g objdirs and things in
ThirdPartyPaths.txt).

This makes sure that if they show up in the 'config', we handle them.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 15:16:19 +00:00
Cosmin Sabou
e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Dão Gottwald
0f23fd4558 Bug 1509309 - Move most browser-*.js scripts from global-scripts.inc to browser.xul. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13064

--HG--
extra : moz-landing-system : lando
2018-11-27 21:55:21 +00:00
Mark Banner
235ab837b2 Bug 1509270 - Allow 'location' as a writeable global property for ESLint (previously read-only). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D12748

--HG--
extra : moz-landing-system : lando
2018-11-27 18:55:11 +00:00
Tom Prince
4f07d7aa2e Bug 1482395: [mozrelease] Generate whats new blob and populate it during release; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12708

--HG--
extra : moz-landing-system : lando
2018-11-26 17:51:23 +00:00
Mark Banner
43e3063ea9 Bug 1509387 - When setting up ESLint, call npm via node so that node doesn't need to be in the path. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D12742

--HG--
extra : moz-landing-system : lando
2018-11-27 14:46:53 +00:00
Andreea Pavel
5208359b12 Backed out changeset f851c3e82c2b (bug 1509387) for build bustages on a CLOSED TREE 2018-11-27 12:17:23 +02:00
Ehsan Akhgari
68aaa1c433 Bug 1510130 - Update the third-party directories under media with reality r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D13045

--HG--
extra : moz-landing-system : lando
2018-11-27 10:07:13 +00:00
Ehsan Akhgari
47b1067478 Bug 1510126 - Add tools/profiler/core/vtune to the list of third-party directories r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D13044

--HG--
extra : moz-landing-system : lando
2018-11-27 10:06:53 +00:00
Mark Banner
a74ab6032f Bug 1509387 - When setting up ESLint, call npm via node so that node doesn't need to be in the path. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D12742

--HG--
extra : moz-landing-system : lando
2018-11-26 20:49:00 +00:00
Andreea Pavel
74cd2bf73e Backed out 8 changesets (bug 1446161, bug 1487287, bug 1488993, bug 1474991, bug 1496608) for very frequent automation.py crashes on a CLOSED TREE
Backed out changeset 8b1f88d7bfeb (bug 1487287)
Backed out changeset 8fa5e81ad801 (bug 1487287)
Backed out changeset 7a480161fa0f (bug 1474991)
Backed out changeset 80116391b7fe (bug 1446161)
Backed out changeset 1bdf64b29121 (bug 1446161)
Backed out changeset 37bf52f0e9cf (bug 1446161)
Backed out changeset 8ede2ebe6b7a (bug 1496608)
Backed out changeset cea43bc88c7a (bug 1488993)
2018-11-27 08:53:18 +02:00
Jed Davis
8782927375 Bug 1487287 - Set profiler env vars in child processes without side-effecting the parent process. r=mstange
We can directly set environment variables for the child process on
all platforms now, instead of changing the parent's environment and
inheriting the changes.  This simplifies memory management, but more
importantly it's necessary for thread safety to allow launching
processes from a thread pool.

Depends on D8944

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

--HG--
extra : moz-landing-system : lando
2018-11-22 00:06:20 +00:00
Dorel Luca
37e525df6c Backed out changeset c8e417bfccfb (bug 1509391) for build bustage. CLOSED TREE 2018-11-27 00:00:46 +02:00
Andrew Halberstadt
afd8a94f03 Bug 1509391 - [eslint] Ignore excluded files that mozlint wasn't able to handle automatically r=Standard8
Normally eslint handles its own file exclusions, but there are still some
globally excluded paths that |mach lint| passes in (e.g objdirs and things in
ThirdPartyPaths.txt).

This makes sure that if they show up in the 'config', we handle them.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 14:16:59 +00:00
Nazım Can Altınova
52910a3163 Bug 1476775 - Part 1: Discard samples that are older than given duration r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6267

--HG--
extra : moz-landing-system : lando
2018-11-21 14:13:15 +00:00
Sylvestre Ledru
79fce9d9bb Bug 1508069 - Add js/src/editline to the ignore list r=andi
Differential Revision: https://phabricator.services.mozilla.com/D12804

--HG--
extra : moz-landing-system : lando
2018-11-23 21:57:50 +00:00
Andrew McCreight
af73442cbd Bug 1508826 - Add mach_override.* and crc32c.c to ThirdPartyPaths.txt. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12608

--HG--
extra : moz-landing-system : lando
2018-11-22 00:29:25 +00:00
Andrew Halberstadt
78d1bf89f0 Bug 1509048 - [tryselect] Pass full taskgraph into selectors, r=marco
Currently selectors that generate the taskgraph receive a list of task labels
back. While this works, it isn't very robust and limits the selectors in what
they can accomplish.

For example, it means we need to use regexes to map test suites to tasks. If
we had the full taskgraph, we could use filter functions instead.

There are also new selectors in the works which will need this (like ./mach
try chooser). Finally the try syntax selector would also need this if we
ever migrate it to use the 'try_task_config.json' format.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 18:17:33 +00:00
Kartikaya Gupta
d600969929 Bug 1507524 - Update miscellaneous things with the new WR location. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D12060

--HG--
extra : moz-landing-system : lando
2018-11-22 21:47:50 +00:00
Mark Banner
84c4aa45ce Bug 1502048 - Update the list of ESLint globals for recent JSM scope changes. r=nika,mossop
This patch creates a new list of privileged globals, based on the webidl bindings. The list of jsm globals is reduced to only the ones specially extended to that scope.

The privileged globals are enabled everywhere for the time being - although we likely could limit scopes, doing so is difficult with our current mozilla-central layout and configuration settings.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 16:46:19 +00:00