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

871 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 7893e89b5e Bug 1548922 - Fix handling of spread operators when checking the ESLint rule no-define-cc-etc. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D30168

--HG--
extra : moz-landing-system : lando
2019-05-07 16:40:23 +00:00
Gijs Kruitbosch d8a027e065 Bug 1257565 - switch gfx blocklist over to kinto-based storage, r=leplatrem,aswan
Differential Revision: https://phabricator.services.mozilla.com/D29833

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist2.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist2.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_AllOS.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_AllOS.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_OSVersion.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_OSVersion.json
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/head.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/head.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_gfx.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_gfx.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Device.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Device.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_DriverNew.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_DriverNew.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_DriverNew.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverNew.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_DriverOld.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverOld.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_GTE_DriverOld.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_GTE_DriverOld.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_GTE_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_GTE_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_No_Comparison.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_No_Comparison.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OS.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OS.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_match.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_match.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_mismatch_DriverVersion.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_mismatch_DriverVersion.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_mismatch_OSVersion.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_mismatch_OSVersion.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Vendor.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Vendor.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Version.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Version.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_prefs.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_prefs.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/xpcshell.ini => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/xpcshell.ini
extra : moz-landing-system : lando
2019-05-07 00:55:32 +00:00
Nick Alexander a7e3d82701 Bug 1543247 - Part 1: Add `mach browsertime` command that installs and invokes browsertime. r=Standard8,ahal
[browsertime](https://github.com/sitespeedio/browsertime) is a harness
for running performance tests, similar to Mozilla's Raptor testing
framework.  The Performance Team is using it locally with some
success, but we're running a heavily modified toolchain that is
challenging to install.  This mach command is intended to be leverage
for getting more folks able to use browsertime easily.

In particular, the version of browsertime that this installs has
nalexander's changes to support testing GeckoView-based vehicles.  If
this approach meets with approval, I'll continue to follow-up with
additional configuration and tooling layers to make it even easier to
drive GeckoView-based vehicles.

I elected to piggy-back install on the eslint installation process,
since this is very similar.  To that end, I generalized what was there
very slightly.  I elected not to try to move the existing code into a
more obvious shared location, although it might be possible, because
it wasn't clear what contexts the existing code would be invoked
from.  In particular I wasn't certain the code could rely on a
complete mozbuild checkout.

I did need to ensure the local Node.js binary is early on the PATH;
this was an issue I ran into with my initial Node/Yarn prototyping
many months ago.  At heart the issue is that package scripts in the
wild invoke a bare `node` or `npm` command; if there was a culture of
invoking $NODE or $NPM, this wouldn't be necessary.  There's no harm
doing it for ESlint, and it will help the next person who wants to
install an NPM package for tooling in this manner.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 23:56:49 +00:00
Razvan Maries 12bcfbb334 Backed out 2 changesets (bug 1543247) for build bustages. CLOSED TREE
Backed out changeset feb726e4f15d (bug 1543247)
Backed out changeset 4b3619d89abd (bug 1543247)
2019-05-04 03:10:55 +03:00
Nick Alexander 6df6c7ee39 Bug 1543247 - Part 1: Add `mach browsertime` command that installs and invokes browsertime. r=Standard8,ahal
[browsertime](https://github.com/sitespeedio/browsertime) is a harness
for running performance tests, similar to Mozilla's Raptor testing
framework.  The Performance Team is using it locally with some
success, but we're running a heavily modified toolchain that is
challenging to install.  This mach command is intended to be leverage
for getting more folks able to use browsertime easily.

In particular, the version of browsertime that this installs has
nalexander's changes to support testing GeckoView-based vehicles.  If
this approach meets with approval, I'll continue to follow-up with
additional configuration and tooling layers to make it even easier to
drive GeckoView-based vehicles.

I elected to piggy-back install on the eslint installation process,
since this is very similar.  To that end, I generalized what was there
very slightly.  I elected not to try to move the existing code into a
more obvious shared location, although it might be possible, because
it wasn't clear what contexts the existing code would be invoked
from.  In particular I wasn't certain the code could rely on a
complete mozbuild checkout.

I did need to ensure the local Node.js binary is early on the PATH;
this was an issue I ran into with my initial Node/Yarn prototyping
many months ago.  At heart the issue is that package scripts in the
wild invoke a bare `node` or `npm` command; if there was a culture of
invoking $NODE or $NPM, this wouldn't be necessary.  There's no harm
doing it for ESlint, and it will help the next person who wants to
install an NPM package for tooling in this manner.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 22:44:23 +00:00
Axel Hecht bcc7eeb6bd Bug 1353680, create test to prevent bad content in localizable strings, r=ahal,flod
Differential Revision: https://phabricator.services.mozilla.com/D20465

--HG--
extra : moz-landing-system : lando
2019-05-02 10:50:43 +00:00
Thomas Wisniewski b6f52532c4 Bug 1500474 - Rename webcompat-reporter directory to report-site-issue r=florian,Pike
Differential Revision: https://phabricator.services.mozilla.com/D17890

--HG--
rename : browser/extensions/webcompat-reporter/.eslintrc.js => browser/extensions/report-site-issue/.eslintrc.js
rename : browser/extensions/webcompat-reporter/background.js => browser/extensions/report-site-issue/background.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.js => browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.json => browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.js => browser/extensions/report-site-issue/experimentalAPIs/browserInfo.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.json => browser/extensions/report-site-issue/experimentalAPIs/browserInfo.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/l10n.js => browser/extensions/report-site-issue/experimentalAPIs/l10n.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/l10n.json => browser/extensions/report-site-issue/experimentalAPIs/l10n.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.js => browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.json => browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.js => browser/extensions/report-site-issue/experimentalAPIs/tabExtras.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.json => browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json
rename : browser/extensions/webcompat-reporter/icons/lightbulb.svg => browser/extensions/report-site-issue/icons/lightbulb.svg
rename : browser/extensions/webcompat-reporter/locales/en-US/webcompat.properties => browser/extensions/report-site-issue/locales/en-US/webcompat.properties
rename : browser/extensions/webcompat-reporter/locales/jar.mn => browser/extensions/report-site-issue/locales/jar.mn
rename : browser/extensions/webcompat-reporter/locales/moz.build => browser/extensions/report-site-issue/locales/moz.build
rename : browser/extensions/webcompat-reporter/manifest.json => browser/extensions/report-site-issue/manifest.json
rename : browser/extensions/webcompat-reporter/moz.build => browser/extensions/report-site-issue/moz.build
rename : browser/extensions/webcompat-reporter/test/browser/browser.ini => browser/extensions/report-site-issue/test/browser/browser.ini
rename : browser/extensions/webcompat-reporter/test/browser/browser_button_state.js => browser/extensions/report-site-issue/test/browser/browser_button_state.js
rename : browser/extensions/webcompat-reporter/test/browser/browser_disabled_cleanup.js => browser/extensions/report-site-issue/test/browser/browser_disabled_cleanup.js
rename : browser/extensions/webcompat-reporter/test/browser/browser_report_site_issue.js => browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js
rename : browser/extensions/webcompat-reporter/test/browser/fastclick1.html => browser/extensions/report-site-issue/test/browser/fastclick1.html
rename : browser/extensions/webcompat-reporter/test/browser/fastclick2.html => browser/extensions/report-site-issue/test/browser/fastclick2.html
rename : browser/extensions/webcompat-reporter/test/browser/head.js => browser/extensions/report-site-issue/test/browser/head.js
rename : browser/extensions/webcompat-reporter/test/browser/test.html => browser/extensions/report-site-issue/test/browser/test.html
rename : browser/extensions/webcompat-reporter/test/browser/webcompat.html => browser/extensions/report-site-issue/test/browser/webcompat.html
extra : moz-landing-system : lando
2019-04-23 17:36:40 +00:00
Mark Banner 8b27241809 Bug 1536589 - Update ESLint and associated modules. r=mossop
Depends on D26543

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

--HG--
extra : moz-landing-system : lando
2019-04-08 20:06:38 +00:00
Sylvestre Ledru ef3c576ac4 Bug 1542629 - clang-format git hook: Ignore unsupported extensions directly in the hook r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D26445

--HG--
extra : moz-landing-system : lando
2019-04-08 16:18:54 +00:00
Sylvestre Ledru 5312b75864 Bug 1541409 - git clang-format hook: add files one by one to avoid an error r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D26444

--HG--
extra : moz-landing-system : lando
2019-04-08 16:18:38 +00:00
Gijs Kruitbosch d7be8a0205 Bug 1537622 - add rudimentary support for linting XUL files, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24298

--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js => tools/lint/eslint/eslint-plugin-mozilla/lib/processors/processor-helpers.js
extra : moz-landing-system : lando
2019-04-05 12:40:23 +00:00
Chris H-C 1e8280c2f0 Bug 1536805 - Tell codespell 'whats' is a valid word r=ahal
Depends on D24263

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:32:59 +00:00
championshuttler 677714a968 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24536

--HG--
extra : moz-landing-system : lando
2019-03-22 19:30:34 +00:00
Ian Moody 167f623a3e Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24088

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:42 +00:00
Jagmeet Bhamber e15a06b5ac Bug 1508823 - Enable ESLint for dom/browser-element (manual changes). r=mccr8
Depends on D21215

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

--HG--
extra : moz-landing-system : lando
2019-03-19 20:56:24 +00:00
Sylvestre Ledru 1e86e44154 Bug 1514770 - hooks_clang_format for git: Run clang-format on the changed files r=sheehan
Depends on D23789

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

--HG--
extra : moz-landing-system : lando
2019-03-18 19:51:59 +00:00
Sylvestre Ledru 2f1bbc93d9 Bug 1535829 - Ride along, format the file using black r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D23789

--HG--
extra : moz-landing-system : lando
2019-03-19 15:25:25 +00:00
Sylvestre Ledru 74b0b15d8f Bug 1535829 - Disable the clang-format hook and point to the extension r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D23788

--HG--
extra : moz-landing-system : lando
2019-03-18 17:13:52 +00:00
Andrew Halberstadt aac57cc8b5 Bug 1533152 - [flake8] Make sure glob patterns are honoured when passing files directly, r=andi
Flake8 ignores the 'exclude' section of the .flake8.yml if you pass in a direct
path to a file. To get around this we have some custom logic to handle these
exclusions for us, but this custom logic didn't account for globs.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 15:08:41 +00:00
Matthew Noorenberghe b4768d96bc Bug 1533167 - Move LoginFormFactory to its own file. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22452

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginFormFactory.jsm
extra : moz-landing-system : lando
2019-03-07 18:10:00 +00:00
Matthew Noorenberghe cdedc6cb3a Bug 1532805 - Move UserAutoCompleteResult to its own file and rename to LoginAutoCompleteResult. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D22419

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginAutoCompleteResult.jsm
rename : toolkit/components/passwordmgr/test/unit/test_user_autocomplete_result.js => toolkit/components/passwordmgr/test/unit/test_login_autocomplete_result.js
extra : moz-landing-system : lando
2019-03-07 01:35:43 +00:00
Felipe Gomes 35c2dfb0ee Bug 827976 - Add requestIdleCallback support to Timer.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21084

--HG--
extra : moz-landing-system : lando
2019-03-04 18:53:14 +00:00
Axel Hecht e659d85fed Bug 1530352, add lintargs to lint setup, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D21010

--HG--
extra : moz-landing-system : lando
2019-03-05 16:15:03 +00:00
Cosmin Sabou a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Felipe Gomes 81059534d3 Bug 827976 - Add requestIdleCallback support to Timer.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21084

--HG--
extra : moz-landing-system : lando
2019-03-01 21:07:11 +00:00
Marco Bonardo 5c4e44ce0a Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753

--HG--
extra : moz-landing-system : lando
2019-02-28 08:39:33 +00:00
Andrew Halberstadt 8a88148150 Bug 1367092 - [flake8] Use a blacklist instead of a whitelist, r=egao
This ensures that the default for new python files is to be linted by flake8.

Depends on D20496

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

--HG--
extra : moz-landing-system : lando
2019-02-22 21:25:50 +00:00
Andrew Halberstadt db9e1a5ab1 Bug 1367092 - [flake8] Take exclusion handling away from flake8, r=egao
The motivations for this are:

1) Apply global excludes. This merges the exclusion rules defined in
tools/lint/mach_commands.py with the ones in .flake8.

2) Improve performance. Switching to a blacklist will result in a much longer
runtime for linting the entire tree and flake8 handles exclusions incredibly
slowly. Without this patch (and the blacklist change applied), I gave up
waiting after 30 minutes. With this patch, it takes 30 seconds.

Depends on D20495

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

--HG--
rename : tools/lint/test/files/flake8/bad.py => tools/lint/test/files/flake8/subdir/exclude/bad.py
extra : moz-landing-system : lando
2019-02-22 22:16:57 +00:00
Andrew Halberstadt 2fd30d78ad Bug 1367092 - [flake8] Run flake8 programmatically instead of via a subprocess, r=egao
This is required for a future commit which will monkeypatch flake8's
configuration to fit our needs.

But it has a couple nice benefits anyway:

    1. Less process overhead.
    2. Less complexity around handling SIGINT.
    3. Less complexity in the code.

Depends on D20494

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

--HG--
extra : moz-landing-system : lando
2019-02-22 21:14:06 +00:00
Andrew Halberstadt 2152caf120 Bug 1367092 - [lint] Move py2/py3 linter's exludes logic into mozlint, r=egao
This will be re-used by the flake8 linter, so moving it into mozlint for
re-useability.

Depends on D20493

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

--HG--
extra : moz-landing-system : lando
2019-02-22 21:18:22 +00:00
Felipe Gomes de03f8191a Bug 1351078 - Remove unused Battery.jsm. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20756

--HG--
extra : moz-landing-system : lando
2019-02-22 16:51:26 +00:00
Dorel Luca 95e0086f6f Backed out changeset 3607e50ad27a (bug 1351078) for build bustage. CLOSED TREE 2019-02-22 18:35:24 +02:00
Felipe Gomes 29b4521b7a Bug 1351078 - Remove unused Battery.jsm. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20756

--HG--
extra : moz-landing-system : lando
2019-02-22 12:52:27 +00:00
Gurzau Raul 3c9fcd1d07 Merge inbound to mozilla-central. a=merge 2019-02-22 07:27:40 +02:00
Edouard Oger 4177daaaf9 Bug 1490671 - Add FxA device pairing. r=markh,rfkelly,vladikoff,flod
Differential Revision: https://phabricator.services.mozilla.com/D6966

--HG--
extra : moz-landing-system : lando
2019-02-21 20:58:04 +00:00
Victor Porof 4622859c92 Bug 1523957 - Convert trees to custom elements, r=bgrins, mak, standard8, MattN
***
Bug 1523957 - Part 0: Whitespace changes in tree.js, r=bgrins
***
Bug 1523957 - Part 1.1: Naively convert tree to a custom element, r=bgrins
***
Bug 1523957 - Part 1.2: Properly mixin BaseControl and extend XULTreeElement, r=bgrins
***
Bug 1523957 - Part 1.3: Use Shadow DOM for slotting children, r=bgrins
***
Bug 1523957 - Part 1.4: Properly handle key events in combination with shift modifiers, r=bgrins
***
Bug 1523957 - Part 1.5: Lint for the lint gods in tree.js, r=bgrins, standard8
***
Bug 1523957 - Part 2.1: Naively convert places-tree to a custom element, preserving history, r=bgrins
***
Bug 1523957 - Part 2.2: Lint for the lint gods in places-tree.js, r=bgrins
***
Bug 1523957 - Part 2.3: Fix browser_passwordmgr_editing.js, r=MattN
***
Bug 1523957 - Part 2.4: Fix browser_bookmarksProperties.js, r=bgrins
***
Bug 1523957 - Part 2.5: Make the edit bookmark tree lazily constructed so there aren't any trees left in the browser window markup, r=bgrins
***
Bug 1523957 - Part 2.6: Add eslint globals to places-tree.js, r=bgrins, standard8

--HG--
rename : browser/components/places/content/tree.xml => browser/components/places/content/places-tree.js
2019-02-21 15:39:53 +01:00
Dorel Luca 6e4967f76e Backed out changeset 74922ea29d44 (bug 1490671) for browser-chrome failures in browser/components/preferences/in-content/tests/browser_sync_pairing.js 2019-02-20 02:43:16 +02:00
Edouard Oger 569d0cc5a7 Bug 1490671 - Add FxA device pairing. r=markh,rfkelly,vladikoff,flod
Differential Revision: https://phabricator.services.mozilla.com/D6966

--HG--
extra : moz-landing-system : lando
2019-02-19 19:20:12 +00:00
Markus Stange 6dbd19aac8 Bug 1509549 - Add a ProfilerGetSymbols module which can dump symbols with the help of a dynamically-loaded WebAssembly module. r=kmag
The module can dump ELF binaries, Mach-O binaries, and pdb files. So it works
for all our supported platforms.

The module is currently hosted on https://zealous-rosalind-a98ce8.netlify.com/ ,
which is a netlify server that serves files from the following repo:
https://github.com/mstange/profiler-assets

To make all of this look a bit more official, I'm planning on doing two things:
 - Move the github repo under the devtools-html organization
 - Get a firefox.com subdomain such as profiler-assets.firefox.com for hosting

Depends on D13004

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

--HG--
extra : moz-landing-system : lando
2019-02-07 19:36:43 +00:00
Andrew Halberstadt 01ca807367 Bug 1515746 - [flake8] Unsupport subdir .flake8 files and use new 'per-file-ignores' config instead, r=egao
This removes all .flake8 files except for the one at the root of the repo.
Instead we use the new 'per-file-ignores' config introduced in 3.7. To ignore
specific errors in a subdirectory, add a line like this to the root .flake8:

[per-file-ignores]
    path/to/subdir/*: E100, F200, ...

The reasons for this change are:

1. Unblock flake8 blacklist (bug 1367092).
2. Simplify configuration and code.
3. Encourage more consistent styling.
4. Improve performance.
5. Greater editor consistency.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 20:17:02 +00:00
Andrew Halberstadt a10eff76fa Bug 1515746 - [flake8] Upgrade flake8 and dependencies, r=egao
This bumps flake8 to version 3.7.5.

This also ignores the new lint rules that were added in the new versions.
These rules are de-marked via comment so we know that they should be enabled at
some point (as opposed to the other rules that are (presumably) ignored
intentionally.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 20:16:45 +00:00
Andrew Halberstadt cee62d2c1f Bug 1515746 - [lint] Remove duplicate flake8 implementation, r=egao
Somehow we have two copies of the flake8 linter implementation:

    - tools/lint/python/__init__.py
    - tools/lint/python/flake8.py

I'm not really sure how this happened, but the latter is the one that we use,
so let's remove the former. It wasn't really affecting anything, though could
have caused confusion to people looking to modify the lint integration.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 20:16:36 +00:00
Markus Stange 2c4ba7d789 Bug 1509549 - Add "WebAssembly" to the list of globals that are present in JSMs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13004

--HG--
extra : moz-landing-system : lando
2019-02-07 19:36:41 +00:00
Myk Melez 4db9ccb1af Bug 1490496 - implement XPCOM FFI for key-value storage r=nika,lina,mossop
MozReview-Commit-ID: JnQzXG581DW

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

--HG--
rename : third_party/rust/crossbeam-utils/.cargo-checksum.json => third_party/rust/crossbeam-utils-0.3.2/.cargo-checksum.json
rename : third_party/rust/crossbeam-utils/CHANGELOG.md => third_party/rust/crossbeam-utils-0.3.2/CHANGELOG.md
rename : third_party/rust/crossbeam-utils/Cargo.toml => third_party/rust/crossbeam-utils-0.3.2/Cargo.toml
rename : third_party/rust/crossbeam-utils/LICENSE-MIT => third_party/rust/crossbeam-utils-0.3.2/LICENSE-MIT
rename : third_party/rust/crossbeam-utils/README.md => third_party/rust/crossbeam-utils-0.3.2/README.md
rename : third_party/rust/crossbeam-utils/src/cache_padded.rs => third_party/rust/crossbeam-utils-0.3.2/src/cache_padded.rs
rename : third_party/rust/crossbeam-utils/src/consume.rs => third_party/rust/crossbeam-utils-0.3.2/src/consume.rs
rename : third_party/rust/crossbeam-utils/src/lib.rs => third_party/rust/crossbeam-utils-0.3.2/src/lib.rs
rename : third_party/rust/crossbeam-utils/src/scoped.rs => third_party/rust/crossbeam-utils-0.3.2/src/scoped.rs
rename : third_party/rust/crossbeam-utils/src/consume.rs => third_party/rust/crossbeam-utils/src/atomic/consume.rs
rename : third_party/rust/crossbeam-utils/Cargo.toml => third_party/rust/threadbound/Cargo.toml
rename : third_party/rust/crossbeam-utils/LICENSE-MIT => third_party/rust/threadbound/LICENSE-MIT
rename : third_party/rust/uuid/.cargo-checksum.json => third_party/rust/uuid-0.6.5/.cargo-checksum.json
rename : third_party/rust/uuid/CODE_OF_CONDUCT.md => third_party/rust/uuid-0.6.5/CODE_OF_CONDUCT.md
rename : third_party/rust/uuid/Cargo.toml => third_party/rust/uuid-0.6.5/Cargo.toml
rename : third_party/rust/crossbeam-utils/LICENSE-MIT => third_party/rust/uuid-0.6.5/LICENSE-MIT
rename : third_party/rust/uuid/README.md => third_party/rust/uuid-0.6.5/README.md
rename : third_party/rust/uuid/benches/parse_str.rs => third_party/rust/uuid-0.6.5/benches/parse_str.rs
rename : third_party/rust/uuid/src/adapter.rs => third_party/rust/uuid-0.6.5/src/adapter.rs
rename : third_party/rust/uuid/src/core_support.rs => third_party/rust/uuid-0.6.5/src/core_support.rs
rename : third_party/rust/uuid/src/lib.rs => third_party/rust/uuid-0.6.5/src/lib.rs
rename : third_party/rust/uuid/src/prelude.rs => third_party/rust/uuid-0.6.5/src/prelude.rs
rename : third_party/rust/uuid/src/serde_support.rs => third_party/rust/uuid-0.6.5/src/serde_support.rs
rename : third_party/rust/uuid/src/slog_support.rs => third_party/rust/uuid-0.6.5/src/slog_support.rs
rename : third_party/rust/uuid/src/std_support.rs => third_party/rust/uuid-0.6.5/src/std_support.rs
rename : third_party/rust/uuid/src/test_util.rs => third_party/rust/uuid-0.6.5/src/test_util.rs
rename : third_party/rust/uuid/src/u128_support.rs => third_party/rust/uuid-0.6.5/src/u128_support.rs
rename : third_party/rust/uuid/benches/parse_str.rs => third_party/rust/uuid/benches/invalid_parse_str.rs
rename : third_party/rust/uuid/src/std_support.rs => third_party/rust/uuid/src/parser/std_support.rs
extra : moz-landing-system : lando
2019-02-07 16:14:04 +00:00
Andrew Swan 9448a5ade8 Bug 1525445 Part 1: Remove obsolete addon manager test helper code r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18752

--HG--
extra : rebase_source : 8243dcefd6c327ad4a38230b37f24153d9b28678
2018-12-11 09:40:23 -08:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Sylvestre Ledru b6356f4723 Bug 1523092 - Enable codespell on more directories r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17740

--HG--
extra : moz-landing-system : lando
2019-01-30 14:16:08 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
John Dai f2524a5b86 Bug 1513878 - Part 3: Add getActor test for WindowGlobalParent/WindowGlobalChild. r=nika
Depends on D16845

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

--HG--
extra : moz-landing-system : lando
2019-01-28 19:01:40 +00:00
Dorel Luca 2702a37d2c Backed out 3 changesets (bug 1513878) for build bustage. CLOSED TREE
Backed out changeset a480d92de046 (bug 1513878)
Backed out changeset 0333640041bb (bug 1513878)
Backed out changeset 48b36980fe1c (bug 1513878)
2019-01-25 21:16:50 +02:00