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

6842 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander f2e38650f0 Bug 1566171 - Part 1: Expose browsertime helpers to Raptor harness. r=barret
This will allow mozharness tooling, which does not run through `mach`,
to fish these paths.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:29:57 +00:00
Andreas Tolfsen 6d34028758 bug 1568881: mozbase: run rustfmt checks in ci; r=whimboo
The Rust port of mozbase passes all the lints, but there are ~20
warnings.  The warnings will not make the rustfmt job on Treeherder fail.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 12:02:40 +00:00
Andreas Tolfsen 439f43de87 bug 1568889: tools/lint: run rustfmt on geckodriver and webdriver; r=webdriver-reviewers,whimboo
Includes geckodriver and the webdriver crate in the rustfmt job
on Treeherder.

Enabling this does not cause any errors, but we are seeing 93 warnings.
These are not fatal and do not cause the job to fail in continuous
integration.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 11:18:08 +00:00
Edwin Gao 233b2d7fc7 Bug 1541424 - ensure path expansion in mach try respects manifest annotations r=ahal,marco
Differential Revision: https://phabricator.services.mozilla.com/D38771

--HG--
extra : moz-landing-system : lando
2019-07-25 17:10:43 +00:00
Julian Descottes 5689ca6238 Bug 1568823 - Move Parser.jsm to a regular module in devtools/shared/webconsole r=nchevobbe
Depends on D39333

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

--HG--
rename : devtools/shared/Parser.jsm => devtools/shared/webconsole/parser.js
extra : moz-landing-system : lando
2019-07-25 13:17:11 +00:00
Nick Alexander 280126dff5 Bug 1564256 - Part 2: Produce browsertime.zip in a toolchain task. r=mshal
In browsertime.zip we should have:

browsertime/
  package.json
  package-lock.json
  node_modules/
    .bin/
      browsertime -> ../browsertime/bin/browsertime.js
    browsertime/
      ...

The idea is that we'll fetch browsertime.zip in a generic-worker
environment and be able to run Node.js from within the top level
browsertime/ directory.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 20:59:55 +00:00
Nick Alexander ceec08a80d Bug 1564256 - Part 1: Don't install optional browsertime packages in automation. r=barret
browsertime depends on a few architecture and OS specific packages:
- sharp (libvips)
- geckodriver
- chromedriver

Our toolchain task packages up `tools/browsertime/node_modules` and
we'd like to use the resulting toolchain archive across all of our
test platforms.  Since in automation we don't require sharp (which is
only used for screenshotting), and we provide `geckodriver` and
`chromedriver` at the task level, the simplest way is to make these
`optionalDependencies` at the NPM level and not install them in our
toolchain task.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 20:58:39 +00:00
Gijs Kruitbosch fffc7f0c58 Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley
At a high level, this change does the following:
- move the pluginchild actor to be a JSWindowActorChild
- move the parent handling from browser-plugins into a JSWindowActorParent
- move the crash handling from ContentCrashHandlers.jsm to the parent actor,
  using a `PluginManager` object. It needs to talk to the actors (and vice
  versa), so this seemed a better fit than spreading actor implementation
  details to other JSMs.
- switch to using plugin IDs to identify plugins cross-process, instead of
  combinations of names or other properties of the plugin tag. As part of that,
  ensured plugin IDs are unique between "fake" plugins and the other ones.
- drop support for having a notification for more than 1 plugin. We only support
  Flash, in practice, so there didn't seem to be much point in the added
  complexity of trying to support more than 1 thing.

Some notes:
- the previous implementation mixes runIDs (for NPAPI plugin process "runs")
  and GMP pluginIDs when doing crashreporting. AFAICT there is no guarantee
  these don't conflict, so I've split them out to avoid issues. There's a
  pluginCrashID object I pass around instead that has either a runID or
  pluginID. Happy to rename some more for clarity.
- the previous implementation used `pluginInfo` and `plugin` for a bunch of
  different types of variables. I've tried to be consistent, where:
  * `pluginElement` is a DOM element for a plugin
  * `activationInfo` is a JS object used to track click to play state for a plugin
  * `plugin` is a plugintag as returned by the pluginhost service
  * `pluginCrashID` is an identifier for a crashed plugin (see previous point).
- I'm still using broadcastAsyncMessage to tell the content processes about
  gmp plugin crashes and plugin crash submission updates, because there's no
  guarantee the actors are instantiated (for gmp plugins) nor can the parent
  easily find out which actors to talk to (for either gmp or npapi plugins).
  Open to suggestions there, too. I think our best bet might be moving that to
  IPDL-based IPC within the GMP code, but that feels like a separate bug.

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

--HG--
rename : browser/base/content/browser-plugins.js => browser/actors/PluginParent.jsm
extra : moz-landing-system : lando
2019-07-23 22:04:40 +00:00
championshuttler f1a2758d2f Bug 1566097 - Setup rstcheck linter instead of restructuredtext-lint. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D38339

--HG--
extra : moz-landing-system : lando
2019-07-23 21:30:10 +00:00
Johann Hofmann c7d97e7440 Bug 1568110 - Add RPMGetStringPref for getting the content blocking category pref in about:protections. r=ewright
Depends on D38966

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

--HG--
extra : moz-landing-system : lando
2019-07-23 17:45:54 +00:00
Edwin Gao 28467d53d6 Bug 1559975 - fix python2 linter errors for js/xpconnect r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D38135

--HG--
extra : moz-landing-system : lando
2019-07-16 17:49:36 +00:00
Edwin Gao a02acfb096 Bug 1559975 - remove media from python2/3 linter blacklist r=ahal
Changes:
- remove `media` from python2 and python3 linter blacklist due to no errors

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

--HG--
extra : moz-landing-system : lando
2019-07-19 14:53:16 +00:00
Edwin Gao e20d3db72d Bug 1559975 - fix python2 linter errors for testing/tps r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37779

--HG--
extra : moz-landing-system : lando
2019-07-16 17:49:05 +00:00
Edwin Gao 67bbe2a68a Bug 1559975 - fix python2 linter errors for tools/lint r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37767

--HG--
extra : moz-landing-system : lando
2019-07-19 15:56:29 +00:00
Edwin Gao 8918aee616 Bug 1559975 - fix python2 linter error for tools/docs r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37777

--HG--
extra : moz-landing-system : lando
2019-07-19 14:45:24 +00:00
Edwin Gao fb0e9a64d5 Bug 1559975 - fix python2 linter error for tools/jprof/split-profile.py r=ahal
Changes:
- add __future__ import statements

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

--HG--
extra : moz-landing-system : lando
2019-07-16 17:47:33 +00:00
Edwin Gao ae0d488344 Bug 1559975 - fix python2 linter errors in mobile r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37667

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:25 +00:00
Edwin Gao bf3cb1ec8b Bug 1559975 - fix python2 linter errors for python/devtools r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37640

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:08 +00:00
Edwin Gao 346d648216 Bug 1559975 - fix python2 linter errors for testing/runtimes r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37615

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:06 +00:00
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