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

1005 Коммитов

Автор SHA1 Сообщение Дата
Andrew Swan d697e6aa9a Bug 1567258 - Convert fxmonitor to a built-in component r=nhnt11,flod
Differential Revision: https://phabricator.services.mozilla.com/D40666

--HG--
rename : browser/extensions/fxmonitor/privileged/api.js => browser/components/fxmonitor/FirefoxMonitor.jsm
rename : browser/extensions/fxmonitor/privileged/FirefoxMonitor.css => browser/components/fxmonitor/content/FirefoxMonitor.css
rename : browser/extensions/fxmonitor/assets/monitor32.svg => browser/components/fxmonitor/content/monitor32.svg
rename : browser/extensions/fxmonitor/moz.build => browser/components/fxmonitor/moz.build
rename : browser/extensions/fxmonitor/test/browser/browser.ini => browser/components/fxmonitor/test/browser/browser.ini
rename : browser/extensions/fxmonitor/test/browser/browser_fxmonitor_doorhanger.js => browser/components/fxmonitor/test/browser/browser_fxmonitor_doorhanger.js
rename : browser/extensions/fxmonitor/locales/en-US/fxmonitor.properties => browser/locales/en-US/chrome/browser/fxmonitor.properties
extra : moz-landing-system : lando
2019-08-23 14:27:55 +00:00
Mark Banner b3bdf13476 Bug 1551829 - Limit exectution scope of the spidermonkey-js processor to only the directories where it is required. r=mossop
This helps ensure that when running `--fix` across the entire tree, all places that can be are fixed correctly.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 19:09:27 +00:00
Mark Banner a05a7163d5 Bug 1551829 - Upgrade to ESLint 6.1.0. r=mossop
This picks up various improvements, especially to how configurations are handled and some new rules.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 19:08:44 +00:00
Mark Banner f11175d51e Bug 1551829 - Make eslint-plugin-mozilla compatible with ESLint 6. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D37270

--HG--
extra : moz-landing-system : lando
2019-08-21 19:10:16 +00:00
championshuttler 9316d7c7ca Bug 1569472 - Enable RST linter for browser/docs/ and tools/tryselect/docs/. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D41991

--HG--
extra : moz-landing-system : lando
2019-08-16 20:05:58 +00:00
Henrik Skupin 0529daadd3 Bug 1573406 - Remove every trace of Firefox UI update tests. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D41834

--HG--
extra : moz-landing-system : lando
2019-08-14 11:08:45 +00:00
Andrew Halberstadt 773c593e22 Bug 1570772 - [lint] Add the root 'node_modules' to the GLOBAL_EXCLUDES list, r=sylvestre
Depends on D41755

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

--HG--
extra : moz-landing-system : lando
2019-08-13 13:45:46 +00:00
Andrew Halberstadt 64fa3bdb48 Bug 1570772 - [lint] Don't enforce licenses in empty files, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D41755

--HG--
extra : moz-landing-system : lando
2019-08-13 13:45:06 +00:00
Nick Alexander 8e0d872e6e Bug 1542004 - Add `android-javadoc` lint. r=agi
This also applies the error listener just to the Javadoc tasks
(previously, it applied to the `apiGenerate*` tasks as well, 'cuz they
inherit from `Javadoc`).

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

--HG--
extra : moz-landing-system : lando
2019-08-13 01:45:03 +00:00
Brendan Dahl b474db77c6 Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie
All .xul files have been loading as HTMLDocuments for a few weeks now, so
it should be safe to remove the XULDocument implementation.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 19:57:50 +00:00
Axel Hecht d3cf6d2c83 Bug 1571671 - Enable RST linting on fluent docs in intl/l10n/docs. r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D40831

--HG--
extra : moz-landing-system : lando
2019-08-09 19:20:59 +00:00
Erica Wright cafcffa6a9 Bug 1557050 - Add basic telemetry to protection report. r=mtigley,johannh
Differential Revision: https://phabricator.services.mozilla.com/D39750

--HG--
extra : moz-landing-system : lando
2019-08-08 18:53:41 +00:00
Agi Sferro d5d199cc40 Bug 1571492 - Add apiLint command in api_changes lint errors. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D41140

--HG--
extra : moz-landing-system : lando
2019-08-08 04:05:10 +00:00
Jared Wein 7ddc91c1db Bug 1571567 - Enable the no-fallthrough eslint rule. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D40744

--HG--
extra : moz-landing-system : lando
2019-08-08 15:18:51 +00:00
Bogdan Tara 844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Alexander Surkov 002fc892ce Bug 1539651 - Convert places-popup-base and places-popup-arrow bindings to Custom Elements r=mak
Differential Revision: https://phabricator.services.mozilla.com/D33821

--HG--
rename : browser/components/places/content/menu.xml => browser/components/places/content/places-menupopup.js
extra : moz-landing-system : lando
2019-08-08 14:28:36 +00:00
Jared Wein 1b77b801de Bug 1571567 - Enable the no-fallthrough eslint rule. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D40744

--HG--
extra : moz-landing-system : lando
2019-08-08 12:45:00 +00:00
rdalal 43acd674ea Bug 1569330 - Disable telemetry check in Normandy recipe runner r=mythmon,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39576

--HG--
extra : moz-landing-system : lando
2019-08-06 23:54:34 +00:00
Agi Sferro 41549d2c74 Bug 1571308 - Use error code from apilint. r=nalexander
Failures in apilint have a rule code so include that in the information from
the lint.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 17:26:31 +00:00
Agi Sferro 6c32deae47 Bug 1571308 - Don't include |detail| in apilint output. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40575

--HG--
extra : moz-landing-system : lando
2019-08-05 16:33:30 +00:00
Nick Alexander c5f931e3b5 Bug 1512487 - Part 3: Convert Android-specific code analyses into mozlints. r=ahal,agi
API lint is arguably the most valuable lint of all, but it's also hard
to fit into the Phab ecosystem, since there's no place to hang the
"API hash not correct" message in the case when the hash hasn't been
updated at all.  Therefore, this commit doesn't convert it.  See also
https://github.com/mozilla-mobile/gradle-apilint/issues/61 for adding
file/line information to API lint.

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

--HG--
rename : mobile/android/config/mozconfigs/android-api-16-frontend/nightly => mobile/android/config/mozconfigs/android-api-16/nightly-android-lints
extra : moz-landing-system : lando
2019-08-02 20:34:23 +00:00
Nick Alexander fd38e457ec Bug 1512487 - Part 1: Allow lints to inspect part of the build environment. r=ahal
This allows lints to "condition" themselves on having a build
environment or a specific build application.  It also adds the "name"
parameter, so that setup functions can be shared across lints.

`MozbuildObject` cannot be used as parameters to functions distributed
via multiprocessing, since they cannot be pickled (due, currently, to
internal terminal handles).  Therefore we extract just a few key
parts of the environment to expose.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:30:02 +00:00
Edwin Gao 5d0a507d0c Bug 1559975 - convert testing/mochitest to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37096

--HG--
extra : moz-landing-system : lando
2019-08-02 19:44:34 +00:00
Edwin Gao 1eb2f0f7be 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-08-02 19:45:12 +00:00
Edwin Gao 7e8510c1ae Bug 1559975 - convert layout/style to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35699

--HG--
extra : moz-landing-system : lando
2019-08-02 19:46:12 +00:00
Bastien Abadie 74eca00f1f Bug 1569882 - Fix mozlint unit tests for relative path outputs, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39877

--HG--
extra : moz-landing-system : lando
2019-07-30 23:30:15 +00:00
championshuttler c14004740f Bug 1569472 - Level Down the Error level to 2. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39663

--HG--
extra : moz-landing-system : lando
2019-07-30 15:20:00 +00:00
championshuttler 55342ff5a5 Bug 1569472 - Fix taskcluster docs linting errors. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39627

--HG--
extra : moz-landing-system : lando
2019-07-30 15:20:00 +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
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 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
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