Commit Graph

6823 Commits

Author SHA1 Message Date
Edwin Gao
6ce175cc67 Bug 1559975 - fix python2 linter errors for testing/awsy r=ahal
Changes:
- change how the modules are imported with the `absolute_import` changes
- satisfy python2 linter

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

--HG--
extra : moz-landing-system : lando
2019-07-19 14:37:10 +00:00
Edwin Gao
cac304ad15 Bug 1559975 - remove dom/media/test from python3 linter exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37124

--HG--
extra : moz-landing-system : lando
2019-07-10 07:10:39 +00:00
Edwin Gao
892c0866e2 Bug 1559975 - fix python2 lint issues in tools/mach_commands.py r=ahal,catlee
Changes:
- add `print_function` to satisfy py2 linter

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

--HG--
extra : moz-landing-system : lando
2019-07-19 14:50:07 +00:00
Gurzau Raul
9866332964 Backed out 3 changesets (bug 1559975) for linting failure at WebIDL.py on a CLOSED TREE.
Backed out changeset a7154744a5d7 (bug 1559975)
Backed out changeset 4005ac274170 (bug 1559975)
Backed out changeset 68ed1ccb5921 (bug 1559975)
2019-07-19 18:25:10 +03:00
David Walsh
5b1625c2cb Bug 1561723 - Add debugger to whitelist for import-pr usage r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D36082

--HG--
rename : gfx/thebes/mach_commands.py => tools/vcs/mach_commands.py
extra : moz-landing-system : lando
2019-07-19 14:18:56 +00:00
Edwin Gao
8cc5b421aa Bug 1559975 - convert testing/mochitest to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37096

--HG--
extra : moz-landing-system : lando
2019-07-19 14:04:54 +00:00
Edwin Gao
805e1d99d2 Bug 1559975 - convert dom/bindings to python3 r=ahal,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36634

--HG--
extra : moz-landing-system : lando
2019-07-19 14:15:00 +00:00
Edwin Gao
78d4e7fac9 Bug 1559975 - convert layout/style to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35699

--HG--
extra : moz-landing-system : lando
2019-07-09 15:54:06 +00:00
championshuttler
071557545e Bug 1536103 - Fix various Sphinx Warning in 'mach doc' (4). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D38046

--HG--
extra : moz-landing-system : lando
2019-07-18 20:08:26 +00:00
Alexandre Poirot
040c1a34cc Bug 1566457 - Removed deprecated gDevTools JSM. r=jdescottes
This was kept to support old xul addons. All mozilla-central usages
have been removed and now uses Loader.jsm to get access to this module.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:13 +00:00
Alexandre Poirot
c9648fef81 Bug 1566457 - Only export require, loader and DevToolsLoader from Loader.jsm r=jdescottes
The rest was legacy code to support old xul add-ons.
All mozilla-central code used to be refactored, but a few places
were still using the old codepaths.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:03 +00:00
Mark Banner
8bae6a36eb Bug 1567134 - Update the node modules packages for the builders. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D38473

--HG--
extra : moz-landing-system : lando
2019-07-18 13:10:40 +00:00
Mark Banner
3561e3197c Bug 1566043 - Update npm dependencies for ESLint. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D38070

--HG--
extra : moz-landing-system : lando
2019-07-16 17:52:11 +00:00
Denis Palmeiro
25e544d4a8 Bug 1565399 - Update github tarball to 4989d0c22bba3a165078b8d784e8d303a727a119 r=nalexander
Update the browsertime snapshot to 4989d0c22bba3a165078b8d784e8d303a727a119 which uses lodash 4.7.14 and lodash.merge 4.6.2.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 15:09:17 +00:00
Sylvestre Ledru
ba5e16b74e Bug 1562645 - Add an autofix to the license check r=ahal
Depends on D37082

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

--HG--
extra : moz-landing-system : lando
2019-07-16 13:40:43 +00:00
championshuttler
6170f47131 Bug 1527361 - Setup rst linter for the documentation. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D36586

--HG--
extra : moz-landing-system : lando
2019-07-16 13:20:09 +00:00
Ed Lee
e308710902 Bug 1559479 - mach lint complains about newtab node_modules r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D37818

--HG--
extra : moz-landing-system : lando
2019-07-12 15:24:07 +00:00
Carolina
dc61c90a77 Bug 1559225 - Build a certificate chain. r=johannh,keeler
Added third party libraries using browserify, builds a certificate chain using some functions defined in https://github.com/april/certainly-something and using a dummy certificate chain. r=johannh

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

--HG--
extra : moz-landing-system : lando
2019-07-12 12:17:04 +00:00
Nicolas Silva
9a0de7396e Bug 1565168 - Add a webrender try preset. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D37688

--HG--
extra : moz-landing-system : lando
2019-07-11 17:23:08 +00:00
Tom Prince
0cd3337d90 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Tom Prince
2208f1c2cf Bug 1458385: Generate MARs with the appropriate channel-id explicitly; r=nthomas
Rather than relying on the mar-channel-id set in the `mar` binary, set the channel
explicitly from taskcluster. This allows us to re-use the `mar` binary between
builds/channels.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Andrew Halberstadt
3486ba642c Bug 1563797 - Use 'backports.shutil_which' instead of 'which' across the tree r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D37097

--HG--
extra : moz-landing-system : lando
2019-07-11 14:03:39 +00:00
championshuttler
cd2c1ad3b1 Bug 1564799 - Use sphinx.util.logging instead of app.info(). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37539

--HG--
extra : moz-landing-system : lando
2019-07-11 08:41:25 +00:00
Sylvestre Ledru
8abb9a8efd Bug 1562642 - Part 4 - Add missing MPL2 headers in tools r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37579

--HG--
extra : moz-landing-system : lando
2019-07-10 19:12:07 +00:00
Andrew Halberstadt
09a16b2413 Bug 1485793 - [eslint] Don't print an error message if there aren't any files to lint, r=Standard8
This case is expected in the mozlint world (e.g, when running all linters).
This will still print a warning, just a far less scary one and will still
return 0. There is a case to be made that we should silently ignore this as no
other linters print this warning, but it's useful enough to warrant keeping.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 19:23:57 +00:00
Sylvestre Ledru
ff0b03401d Bug 1564847 - Add js/src/octane/ to the list of thirdparty code r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D37542

--HG--
extra : moz-landing-system : lando
2019-07-10 11:40:27 +00:00
Sylvestre Ledru
89621f361e Bug 1562642 - Ride along: Add newtab/vendor/ to the list of thirdparty code r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37534

--HG--
extra : moz-landing-system : lando
2019-07-10 09:29:02 +00:00
Greg Tatum
52c07a19be Bug 1564150 - Make do_work_500ms.html non-blocking; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D37282

--HG--
extra : moz-landing-system : lando
2019-07-09 12:10:37 +00:00
Sylvestre Ledru
54bab27b08 Bug 1562642 - Ride along: Add normandy/vendor/ and raven to the list of thirdparty code r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37436

--HG--
extra : moz-landing-system : lando
2019-07-09 15:34:45 +00:00
Simon Giesecke
5ed4b363cd Bug 1564068 - removing reference to trychooser web page which no longer exists; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37229

--HG--
extra : moz-landing-system : lando
2019-07-09 07:58:19 +00:00
Simon Giesecke
480ef5885c Bug 1564073 - fix reference to history files; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37228

--HG--
extra : moz-landing-system : lando
2019-07-09 07:58:23 +00:00
Sylvestre Ledru
d013672392 Bug 1562645 - Extend mozlint to have license check r=ahal
The goal is to have something simple and not relying on other tools.
I tried with licensecheck and licensee but, with if we use a different
wording to declare "public domain" (as example), they might not
catch it. Requiring to contribute upstream, etc

Instead, I just create a list of line of license to catch it.
From my trials, it works well enough and it is trivial python.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 10:07:37 +00:00
Jeff Gilbert
7ebe9b695f Bug 1564240 - Update ThirdPartyPaths.txt for WebGL conformance suite checkout. r=sylvestre
Also change ANGLE's checkout to 'gfx/angle/checkout' instead of
'gfx/angle'.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 07:22:38 +00:00
Brindusan Cristian
88dcb17147 Backed out changeset 8e741ae8dcab (bug 1559975) as requested by ahal on irc. CLOSED TREE 2019-07-08 23:40:47 +03:00
Justin Wood
baa089903e Bug 1559975 - Make config/ lint with 'py2' and 'py3' r=catlee
Depends on D36091

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

--HG--
extra : moz-landing-system : lando
2019-07-08 17:30:34 +00:00
Justin Wood
7a37d64346 Bug 1559975 - Make configure.py lint with 'py2' and 'py3' r=catlee
Depends on D36090

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

--HG--
extra : moz-landing-system : lando
2019-07-08 17:34:09 +00:00
Edwin Gao
474a08164f Bug 1559975 - convert tools/jprof to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35564

--HG--
extra : moz-landing-system : lando
2019-07-08 17:34:43 +00:00
Edwin Gao
c9ea675a59 Bug 1559975 - convert dom/canvas/test to python3 syntax r=ahal
Changes:
- change syntax of all python files under `dom/canvas/test` to python3 syntax
- remove semicolon line terminators from `dom/canvas/test/webgl-conf/checkout/deqp/genHTMLfromTest.py`

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:35:43 +00:00
Greg Tatum
bb7857b872 Bug 1559486 - Remove scriptFilename from RecordAllocationInfo; r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D36651

--HG--
extra : moz-landing-system : lando
2019-07-04 05:19:58 +00:00
Sylvestre Ledru
569e7eda41 Bug 1562642 - Add toolkit/components/utils/mozjexl.js to the list of thirdparty code r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37230

--HG--
extra : moz-landing-system : lando
2019-07-08 12:46:03 +00:00
Sylvestre Ledru
fc2eb5393c Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37146

--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Ola Gasidlo
247d4a898e Bug 1554707 - Refactor test folder structure, r=jdescottes,ladybenko
Refactor test folder structure to align with remote debugging

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

--HG--
rename : devtools/client/application/test/browser.ini => devtools/client/application/test/browser/browser.ini
rename : devtools/client/application/test/browser_application_panel_debug-service-worker.js => devtools/client/application/test/browser/browser_application_panel_debug-service-worker.js
rename : devtools/client/application/test/browser_application_panel_list-domain-workers.js => devtools/client/application/test/browser/browser_application_panel_list-domain-workers.js
rename : devtools/client/application/test/browser_application_panel_list-several-workers.js => devtools/client/application/test/browser/browser_application_panel_list-several-workers.js
rename : devtools/client/application/test/browser_application_panel_list-single-worker.js => devtools/client/application/test/browser/browser_application_panel_list-single-worker.js
rename : devtools/client/application/test/browser_application_panel_list-unicode.js => devtools/client/application/test/browser/browser_application_panel_list-unicode.js
rename : devtools/client/application/test/browser_application_panel_list-workers-empty.js => devtools/client/application/test/browser/browser_application_panel_list-workers-empty.js
rename : devtools/client/application/test/browser_application_panel_open-links.js => devtools/client/application/test/browser/browser_application_panel_open-links.js
rename : devtools/client/application/test/browser_application_panel_start-service-worker.js => devtools/client/application/test/browser/browser_application_panel_start-service-worker.js
rename : devtools/client/application/test/browser_application_panel_unregister-worker.js => devtools/client/application/test/browser/browser_application_panel_unregister-worker.js
rename : devtools/client/application/test/head.js => devtools/client/application/test/browser/head.js
rename : devtools/client/application/test/service-workers/debug-sw.js => devtools/client/application/test/browser/resources/service-workers/debug-sw.js
rename : devtools/client/application/test/service-workers/debug.html => devtools/client/application/test/browser/resources/service-workers/debug.html
rename : devtools/client/application/test/service-workers/dynamic-registration.html => devtools/client/application/test/browser/resources/service-workers/dynamic-registration.html
rename : devtools/client/application/test/service-workers/empty-sw.js => devtools/client/application/test/browser/resources/service-workers/empty-sw.js
rename : devtools/client/application/test/service-workers/empty.html => devtools/client/application/test/browser/resources/service-workers/empty.html
rename : devtools/client/application/test/service-workers/scope-page.html => devtools/client/application/test/browser/resources/service-workers/scope-page.html
rename : devtools/client/application/test/service-workers/simple-unicode.html => devtools/client/application/test/browser/resources/service-workers/simple-unicode.html
rename : devtools/client/application/test/service-workers/simple.html => devtools/client/application/test/browser/resources/service-workers/simple.html
rename : devtools/client/application/test/.eslintrc.js => devtools/client/application/test/components/.eslintrc.js
rename : devtools/client/application/test/babel.config.js => devtools/client/application/test/components/babel.config.js
rename : devtools/client/application/test/fixtures/Chrome.js => devtools/client/application/test/components/fixtures/Chrome.js
rename : devtools/client/application/test/fixtures/PluralForm.js => devtools/client/application/test/components/fixtures/PluralForm.js
rename : devtools/client/application/test/fixtures/Services.js => devtools/client/application/test/components/fixtures/Services.js
rename : devtools/client/application/test/fixtures/l10n.js => devtools/client/application/test/components/fixtures/l10n.js
rename : devtools/client/application/test/fixtures/stub.js => devtools/client/application/test/components/fixtures/stub.js
rename : devtools/client/application/test/jest.config.js => devtools/client/application/test/components/jest.config.js
rename : devtools/client/application/test/package.json => devtools/client/application/test/components/package.json
rename : devtools/client/application/test/setup.js => devtools/client/application/test/components/setup.js
rename : devtools/client/application/test/yarn.lock => devtools/client/application/test/components/yarn.lock
extra : moz-landing-system : lando
2019-07-08 09:20:28 +00:00
Tom Prince
ef2f3feb68 Bug 1563671: [tryselect] Adjust expectations of mach try empty test to include TRY_SELECTOR; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37074

--HG--
extra : moz-landing-system : lando
2019-07-05 18:04:09 +00:00
Justin Wood
4b233fe605 Bug 1559975 - Make python/mach lint with 'py2' and 'py3' r=catlee
Depends on D36096

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:24:58 +00:00
Justin Wood
939e67a089 Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D36090

--HG--
extra : moz-landing-system : lando
2019-07-05 14:36:43 +00:00
Edwin Gao
ee1a9fb757 Bug 1559975 - remove modules/freetype2 from python3 linter blacklist r=ahal
Changes:
- nothing changed except removing `modules/freetype2` from the blacklist

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:36:23 +00:00
Chris AtLee
8f13901785 Bug 1559975: Fix python2/3 compat in intl/ r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35342

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:18 +00:00
Edwin Gao
1c340c7633 Bug 1559975 - convert testing/tools/iceserver to python3 syntax r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35339

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:35 +00:00
Mihai Tabara
e6a44ee1a1 Bug 1559975 - Fix python2 lint issues on testing/firefox-ui r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35255

--HG--
extra : moz-landing-system : lando
2019-07-05 14:35:42 +00:00
Calixte Denizet
8cff6b528a Bug 1559975 - Fix python3 lint issues on servo r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35247

--HG--
extra : moz-landing-system : lando
2019-07-05 14:29:44 +00:00