Commit Graph

1186 Commits

Author SHA1 Message Date
Kris Maglione
036e960542 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-17 21:36:10 +00:00
Siddhant085
676ce0d13c Bug 1511700 - Use the new notification system (PlacesObserver) for bookmark removed notifications. r=Standard8,mak
Phasing out the old notification system for OnItemRemoved events.

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

--HG--
extra : moz-landing-system : lando
2020-01-16 18:38:54 +00:00
Tomislav Jovanovic
48d05a45cb Bug 1602639 - Switch native messaging from MessageManagers to Conduits r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D58356

--HG--
extra : moz-landing-system : lando
2020-01-16 22:41:27 +00:00
shindli
3d28702804 Backed out changeset 1bdfd7c37b02 (bug 1511700) for causing newtab node test failure CLOSED TREE 2020-01-13 22:33:58 +02:00
Siddhant085
d48342d7db Bug 1511700 - Use the new notification system (PlacesObserver) for bookmark removed notifications. r=Standard8,mak
Phasing out the old notification system for OnItemRemoved events.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 16:25:39 +00:00
Ethan Glasser-Camp
7cd2a98da0 Bug 1606026: Move existing documentation into new locations r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58338

--HG--
rename : tools/docs/docs/contribute/mozilla_source_code_directory_structure.rst => docs/contributing/directory_structure.rst
rename : tools/docs/docs/contribute/how_to_contribute_firefox.rst => docs/contributing/how_to_contribute_firefox.rst
rename : tools/docs/docs/adding-documentation.rst => tools/moztreedocs/docs/adding-documentation.rst
rename : tools/docs/docs/index.rst => tools/moztreedocs/docs/index.rst
rename : tools/docs/docs/mdn-import.rst => tools/moztreedocs/docs/mdn-import.rst
extra : moz-landing-system : lando
2020-01-06 16:38:34 +00:00
Ethan Glasser-Camp
6f164aa98f Bug 1606026: Move documentation entry point to docs/ r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58552

--HG--
rename : tools/docs/conf.py => docs/conf.py
rename : tools/docs/config.yml => docs/config.yml
rename : tools/docs/index.rst => docs/index.rst
rename : tools/docs/jsdoc.json => docs/jsdoc.json
extra : moz-landing-system : lando
2020-01-06 16:14:11 +00:00
Ethan Glasser-Camp
0549c56796 Bug 1606026: move tools/docs code to tools/moztreedocs r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58337

--HG--
rename : tools/docs/Pipfile => tools/moztreedocs/Pipfile
rename : tools/docs/Pipfile.lock => tools/moztreedocs/Pipfile.lock
rename : tools/docs/moztreedocs/__init__.py => tools/moztreedocs/__init__.py
rename : tools/docs/_static/custom_theme.css => tools/moztreedocs/_static/custom_theme.css
rename : tools/docs/mach_commands.py => tools/moztreedocs/mach_commands.py
rename : tools/docs/moztreedocs/package.py => tools/moztreedocs/package.py
rename : tools/docs/moztreedocs/upload.py => tools/moztreedocs/upload.py
extra : moz-landing-system : lando
2020-01-06 16:29:21 +00:00
Thomas Nguyen
b4435e40e5 Bug 1603674 - Add a new API to check if permission delegation and Feature Policy are enabled r=baku
Differential Revision: https://phabricator.services.mozilla.com/D57077

--HG--
extra : moz-landing-system : lando
2020-01-06 15:28:12 +00:00
Julian Descottes
3b345a689e Bug 1605995 - Add linting rule against relative paths in DevTools require r=Standard8
Depends on D58243

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

--HG--
extra : moz-landing-system : lando
2020-01-06 12:54:39 +00:00
Sylvestre Ledru
81354de9c7 No bug - Document how add a new linter in the CI r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58247

--HG--
extra : moz-landing-system : lando
2020-01-02 21:42:18 +00:00
Sylvestre Ledru
cd2807905f No bug - mozlint: Document the result object r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58239

--HG--
extra : moz-landing-system : lando
2020-01-02 21:37:12 +00:00
Sylvestre Ledru
2c9610dc34 Bug 1606168 - Enable rustfmt on more directories r=andi
Before we improve the display at review phase

Depends on D58328

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

--HG--
extra : moz-landing-system : lando
2020-01-02 17:04:13 +00:00
Sylvestre Ledru
b329036033 Bug 1606168 - Document ./mach lint -l rustfmt r=andi
Differential Revision: https://phabricator.services.mozilla.com/D58328

--HG--
extra : moz-landing-system : lando
2020-01-02 17:03:50 +00:00
Andrew Halberstadt
4ebbd3b587 Bug 1605106 - [lint.rustfmt] Return early if expanding exclusions results in no paths to lint, r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D58052

--HG--
extra : moz-landing-system : lando
2020-01-02 16:48:35 +00:00
Dzmitry Malyshau
785a7cfbc2 Bug 1596126 - Github synchronization for gfx/wgpu r=Callek,tomprince
This change introduces a "github-sync" component into tools,
which aims to support synchronizing both wgpu and WebRender with github.
~~It also features a "cargo test" job for standalone wgpu (bug  1596127)~~

The code is ported from "gfx/wr/scripts/wrupdater" folder. Changes are:
  1. remove explicit WR parts and make them configurable by command line params
  2. detect "mozilla-xxx" tags and use them in addition to the commits

As a follow up, wrupdater will be removed in favor of github-sync.

Status:
  - [x] get the CI test job working
  - [x] get @kats to fork "wgpu" github for "moz-gfx" bot
  - [x] remove the wgpu testing CI job (into separate PR)
  - [x] create new secret and reference it

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

--HG--
extra : moz-landing-system : lando
2019-12-28 02:44:59 +00:00
Sylvestre Ledru
c18ed341f9 no bug - Fix a typo in the codespell doc
Differential Revision: https://phabricator.services.mozilla.com/D58327

--HG--
extra : moz-landing-system : lando
2019-12-27 23:06:12 +00:00
Sylvestre Ledru
dc4783cbbd Bug 1606009 - Extend the yaml test r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D58265

--HG--
extra : moz-landing-system : lando
2019-12-26 19:25:43 +00:00
Sylvestre Ledru
434c978319 Bug 1606009 - Upgrade yamllint version r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D58264

--HG--
extra : moz-landing-system : lando
2019-12-26 19:25:40 +00:00
Sylvestre Ledru
83fc0c5e2b Bug 1606009 - yamllint: Fix a python issue 3 Fix the yaml test r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D58263

--HG--
extra : moz-landing-system : lando
2019-12-26 19:37:27 +00:00
Justin Wood
80b492019d Bug 1559975 - Make layout/reftests/ lint with 'py2' and 'py3' r=catlee
Depends on D36094

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

--HG--
extra : moz-landing-system : lando
2019-12-26 21:17:52 +00:00
Justin Wood
997253f286 Bug 1559975 - Make layout/tools/reftest lint with 'py2' and 'py3' r=catlee
Depends on D36093

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

--HG--
extra : moz-landing-system : lando
2019-12-26 21:17:55 +00:00
Mark Banner
06d4bda4b5 Bug 1605231 - Update bundled node_modules for the builders to sync with the yarn update. r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D58205

--HG--
extra : moz-landing-system : lando
2019-12-24 23:17:12 +00:00
Sylvestre Ledru
1ac15b2d38 Bug 1604916 - Update the yamllint to version 1.9.0 r=Callek
Depends on D57668

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

--HG--
extra : moz-landing-system : lando
2019-12-18 21:32:12 +00:00
Sylvestre Ledru
038bd866b5 Bug 1601612 - Fix some py2/py3 lints with a newer version of Python r=marco
Differential Revision: https://phabricator.services.mozilla.com/D57509

--HG--
extra : moz-landing-system : lando
2019-12-17 19:17:43 +00:00
Sylvestre Ledru
08e2e04f2a Bug 1604079 - Add a unit test for mozlint yamllint r=ahal
+ some python 3 changes

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

--HG--
extra : moz-landing-system : lando
2019-12-17 16:57:25 +00:00
Emily McMinn
9271624bf9 Bug 1575658 - Moved firefox-wordmark.svg to browser/branding r=MattN,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D44235

--HG--
rename : browser/components/newtab/data/content/assets/firefox-wordmark.svg => browser/branding/aurora/content/firefox-wordmark.svg
rename : browser/components/newtab/data/content/assets/firefox-wordmark.svg => browser/branding/nightly/content/firefox-wordmark.svg
rename : browser/components/newtab/data/content/assets/firefox-wordmark.svg => browser/branding/official/content/firefox-wordmark.svg
extra : moz-landing-system : lando
2019-12-10 21:08:57 +00:00
Thomas Nguyen
9fa06727dd Bug 1600883 - Enable Feature Policy allow attribute and permission delegation by default r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D55627

--HG--
extra : moz-landing-system : lando
2019-12-13 07:00:28 +00:00
Tom Prince
0973afdc03 Bug 1596775: Update license headers; r=glandium
parse_pbzx.py appears to be from
https://gist.github.com/pudquick/ac29c8c19432f2d200d4 which does not have a
license.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 04:03:18 +00:00
Megha
08ae52fe49 Bug 1556380 - Enable more ESLint rules for extensions/. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43355

--HG--
extra : moz-landing-system : lando
2019-12-06 21:05:20 +00:00
Mark Banner
8365798b9c Bug 1601681 - Re-enable unix-line endings on ESLint controlled files. r=mossop
This was accidentally regressed to match existing line endings in the switch to prettier.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 08:12:57 +00:00
Andrew Halberstadt
4e51876f56 Bug 1600904 - [lint.yaml] Fix Python 3 related error and the issues that snuck in because of it, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D55798

--HG--
extra : moz-landing-system : lando
2019-12-10 19:18:31 +00:00
Gregory Mierzwinski
ef26668a1c Bug 1587080 - Part 2: Integrate perfdocs into mozlint. r=ahal
This patch integrates the performance documentation (perfdocs) verification into mozlint. It can be used with `./mach lint -l perfdocs`.

Depends on D53647

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

--HG--
extra : moz-landing-system : lando
2019-12-10 17:04:33 +00:00
alexandru.ionescu
9f6b4ddb80 Bug 1587080 - Part 1: Add performance documentation verification code. r=ahal,perftest-reviewers,alexandru.irimovici,octavian_negru
This patch adds the performance documentation (perfdocs) verification code under `tools/lint/perfdocs`. This tool currently validates `perfdocs` folders found within the `testing` folder to ensure all performance tests have documentation (it only does this for raptor at the moment). See `tools/lint/docs/perfdocs.rst` for more details.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 17:04:35 +00:00
Noemi Erli
72d7d8ff5e Backed out 4 changesets (bug 1587080) for causing perfdocs Lint failure CLOSED TREE
Backed out changeset 254fd0c3af4a (bug 1587080)
Backed out changeset 34efe80bfd61 (bug 1587080)
Backed out changeset 4a552742b1cd (bug 1587080)
Backed out changeset 22afcb56e8ea (bug 1587080)
2019-12-10 19:01:07 +02:00
Gregory Mierzwinski
24aaeb8461 Bug 1587080 - Part 2: Integrate perfdocs into mozlint. r=ahal
This patch integrates the performance documentation (perfdocs) verification into mozlint. It can be used with `./mach lint -l perfdocs`.

Depends on D53647

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

--HG--
extra : moz-landing-system : lando
2019-12-10 15:29:06 +00:00
alexandru.ionescu
bb9728552a Bug 1587080 - Part 1: Add performance documentation verification code. r=ahal,perftest-reviewers,alexandru.irimovici,octavian_negru
This patch adds the performance documentation (perfdocs) verification code under `tools/lint/perfdocs`. This tool currently validates `perfdocs` folders found within the `testing` folder to ensure all performance tests have documentation (it only does this for raptor at the moment). See `tools/lint/docs/perfdocs.rst` for more details.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 15:29:03 +00:00
Mark Banner
426ca4b45f Bug 1602066 - For ESLint, treat all xhtml files as xml files for parsing when we're looking for script tags. r=bgrins
This helps finding globals for files as we can find out more information about the scripts they include.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 17:43:42 +00:00
Kris Maglione
64dd29e2b8 Bug 1596918: Part 2 - Add ESLint support for SpecialPowers.spawn globals. r=Standard8
This patch updates the existing ContentTask.spawn rule to do similar things
for SpecialPowers.spawn calls, only with a slightly different set of globals.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:33 +00:00
Sylvestre Ledru
7a6b62a3bf No bug - In the coding style, explain how to auto-add missing braces r=sg
Differential Revision: https://phabricator.services.mozilla.com/D56293

--HG--
extra : moz-landing-system : lando
2019-12-07 11:41:21 +00:00
Daniel Varga
84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione
37df64fb9f Bug 1596918: Part 2 - Add ESLint support for SpecialPowers.spawn globals. r=Standard8
This patch updates the existing ContentTask.spawn rule to do similar things
for SpecialPowers.spawn calls, only with a slightly different set of globals.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:13:59 +00:00
Sean Feng
93f9021bb1 Bug 1589700 - Record the number of unique site origins across all tabs r=smaug,agi,Dexter
Differential Revision: https://phabricator.services.mozilla.com/D54027

--HG--
extra : moz-landing-system : lando
2019-12-05 23:13:24 +00:00
Razvan Maries
ef51899325 Backed out changeset 52af8765cb21 (bug 1589700) for perma fails on browser_Telemetry_numberOfSiteOrigins.js. CLOSED TREE 2019-12-04 23:48:27 +02:00
Sean Feng
0dea348f20 Bug 1589700 - Record the number of unique site origins across all tabs r=smaug,agi,Dexter
Differential Revision: https://phabricator.services.mozilla.com/D54027

--HG--
extra : moz-landing-system : lando
2019-12-04 19:39:18 +00:00
Nicolas Chevobbe
bb864342f1 Bug 1529917 - Remove VariablesViewController.jsm. r=miker.
It isn't used anywhere, so we can safely remove it.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 07:30:08 +00:00
Brindusan Cristian
eaecab785f Backed out 2 changesets (bug 1529917, bug 1591874) for ESlint failure on VariablesView.jsm. CLOSED TREE
Backed out changeset a7f97f586d04 (bug 1591874)
Backed out changeset acbd48303fb3 (bug 1529917)

--HG--
rename : devtools/client/storage/VariablesView.jsm => devtools/client/shared/widgets/VariablesView.jsm
2019-12-03 19:20:19 +02:00
Nicolas Chevobbe
84cd17ec36 Bug 1529917 - Remove VariablesViewController.jsm. r=miker.
It isn't used anywhere, so we can safely remove it.

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

--HG--
extra : rebase_source : 328156c04a78f6be3cba7cd390b2ab4aa17ebc2f
2019-12-03 16:12:16 +01:00
Mihai Alexandru Michis
26c821546b Backed out 2 changesets (bug 1529917, bug 1591874) for causing build bustages in VariablesView.jsm CLOSED TREE
Backed out changeset faeca320475a (bug 1591874)
Backed out changeset 9fbb57c24aa0 (bug 1529917)
2019-12-03 17:16:53 +02:00
Nicolas Chevobbe
49f07f54d8 Bug 1529917 - Remove VariablesViewController.jsm. r=miker.
It isn't used anywhere, so we can safely remove it.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 15:12:16 +00:00