Commit Graph

540 Commits

Author SHA1 Message Date
Henrik Skupin
563458af7d Bug 1690475 - [remote] Reorganize xpcshell and browser chrome tests. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D106062
2021-02-23 17:37:03 +00:00
Alexandre Poirot
ed507be3f8 Bug 1690742 - [devtools] - Strip flow from the debugger sources. r=nchevobbe,bomsy
This is a mixed of automated and manual changes.
See abandoned revisions on phabricator for a detailed breakdown.

Differential Revision: https://phabricator.services.mozilla.com/D105324
2021-02-22 10:48:52 +00:00
Henrik Skupin
8cb90829cc Bug 1690474 - [remote] Move CDP specific code to cdp/. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D104574
2021-02-14 14:24:27 +00:00
Nick Alexander
03ff66c89d Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright
There are some complications here to handle unpackaged and packaged
builds.  In addition, there could be a difference between App prefs
and GRE prefs.  Since the underlying backgroundtasks code is built as
part of Gecko (i.e., `toolkit/...` rather than `browser/...`) I have
favoured GRE prefs.  I think, however, that what is written will work
for App-specific prefs, but I'm not concerned with that detail at this
time.

This also add tests for backgroundtask-specific prefs, which are
structured as both xpcshell and mochitest-chrome tests because
locally, the former tests unpackaged builds and the latter can
accommodate testing packaged builds.  We could use mochitest-chrome
for both, but this has been pleasant to work with locally.

Differential Revision: https://phabricator.services.mozilla.com/D97510
2021-01-27 22:54:25 +00:00
Butkovits Atila
89fe8f250d Backed out 8 changesets (bug 1679440, bug 1682069, bug 1667276) for causing failure on test_crash_backgroundtask_moz_crash.js. CLOSED TREE
Backed out changeset f06504e3219f (bug 1682069)
Backed out changeset 4d325f68ea24 (bug 1679440)
Backed out changeset 9ab334e527a5 (bug 1667276)
Backed out changeset 1c8d51d2c90f (bug 1667276)
Backed out changeset 8d6f10d83c6b (bug 1667276)
Backed out changeset 62488ec634f9 (bug 1667276)
Backed out changeset 1dcb2d1be264 (bug 1667276)
Backed out changeset c673fff5bd85 (bug 1667276)
2021-01-27 22:17:17 +02:00
Nick Alexander
eb8ab6ddf2 Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright
There are some complications here to handle unpackaged and packaged
builds.  In addition, there could be a difference between App prefs
and GRE prefs.  Since the underlying backgroundtasks code is built as
part of Gecko (i.e., `toolkit/...` rather than `browser/...`) I have
favoured GRE prefs.  I think, however, that what is written will work
for App-specific prefs, but I'm not concerned with that detail at this
time.

This also add tests for backgroundtask-specific prefs, which are
structured as both xpcshell and mochitest-chrome tests because
locally, the former tests unpackaged builds and the latter can
accommodate testing packaged builds.  We could use mochitest-chrome
for both, but this has been pleasant to work with locally.

Differential Revision: https://phabricator.services.mozilla.com/D97510
2021-01-27 18:10:33 +00:00
Csoregi Natalia
0b28701943 Backed out 8 changesets (bug 1679440, bug 1682069, bug 1667276) for causing failures on browser_all_files_referenced.js. CLOSED TREE
Backed out changeset f1a65c9b3ca2 (bug 1682069)
Backed out changeset 310d2116faf7 (bug 1679440)
Backed out changeset f970ef0897cd (bug 1667276)
Backed out changeset 38c20196aabc (bug 1667276)
Backed out changeset 60c2f2dbc676 (bug 1667276)
Backed out changeset cf52687c4433 (bug 1667276)
Backed out changeset 74580a0f2633 (bug 1667276)
Backed out changeset ab6f830f6e75 (bug 1667276)
2021-01-26 06:49:04 +02:00
Nick Alexander
b29166e40c Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright
There are some complications here to handle unpackaged and packaged
builds.  In addition, there could be a difference between App prefs
and GRE prefs.  Since the underlying backgroundtasks code is built as
part of Gecko (i.e., `toolkit/...` rather than `browser/...`) I have
favoured GRE prefs.  I think, however, that what is written will work
for App-specific prefs, but I'm not concerned with that detail at this
time.

This also add tests for backgroundtask-specific prefs, which are
structured as both xpcshell and mochitest-chrome tests because
locally, the former tests unpackaged builds and the latter can
accommodate testing packaged builds.  We could use mochitest-chrome
for both, but this has been pleasant to work with locally.

Differential Revision: https://phabricator.services.mozilla.com/D97510
2021-01-25 23:49:23 +00:00
Nicolas Chevobbe
cd1c9e51c2 Bug 1669956 - [devtools] Enable eslint for devtools/client/shared/components/reps. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D93370
2020-10-14 11:33:16 +00:00
Michael Froman
98d5678d09 Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-10-02 16:30:58 +00:00
Razvan Maries
887634a649 Backed out 3 changesets (bug 1665713) for perma failures on test_peerConnection_capturedVideo.html. CLOSED TREE
Backed out changeset 296d5facd7bd (bug 1665713)
Backed out changeset 770d63754715 (bug 1665713)
Backed out changeset 433d8f92b482 (bug 1665713)
2020-09-25 02:58:57 +03:00
Michael Froman
8bece4651b Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-09-24 21:10:07 +00:00
Razvan Maries
717d9a23ba Backed out 2 changesets (bug 1665713) for Lint failure on NetworkPreparationChromeScript.js. CLOSED TREE
Backed out changeset e926364f5d4f (bug 1665713)
Backed out changeset ad03f6f54321 (bug 1665713)
2020-09-24 22:59:53 +03:00
Michael Froman
a1fe394b53 Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-09-24 19:12:30 +00:00
Narcis Beleuzu
c8df561832 Backed out changeset 7b545053e6e2 (bug 1665152) for linting failure on Overview.html . CLOSED TREE 2020-09-23 19:34:51 +03:00
Mats Palmgren
30b76b523c Bug 1665152 - Initial CSS Masonry draft spec. r=dholbert
NPOTB DONTBUILD

The Overview.html file was generated by this command:
curl https://api.csswg.org/bikeshed/ -F file=@layout/docs/css-grid-3/Overview.bs -F force=1 > layout/docs/css-grid-3/Overview.html

Differential Revision: https://phabricator.services.mozilla.com/D90302
2020-09-23 15:56:38 +00:00
Mark Banner
926a0c1d0f Bug 1618465 - Move pdf.js to toolkit (main files). r=bdahl,Pike
Differential Revision: https://phabricator.services.mozilla.com/D72532
2020-07-02 07:13:46 +00:00
Christian Holler
f3e4280df1 Bug 1596691 - Add a JSParser target to fuzz-tests. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D77006
2020-06-02 13:50:23 +00:00
Gijs Kruitbosch
38b061ef45 Bug 1638373 - remove js/ipc now that CPOWs are dead, r=mccr8
Depends on D76597

Differential Revision: https://phabricator.services.mozilla.com/D76598
2020-05-24 18:47:04 +00:00
Tarek Ziadé
fc7f072b74 Bug 1628982 - Activate the condprofile on desktop + GV r=Bebe,perftest-reviewers,whimboo
This patches fixes several problems found on Raptor and the condprof:

Raptor:

- Make sure the conditioned profile dir is removed after
  it's been used, not before.
- Adds the --project option to raptor so we know if we're on try
  autoland or mozilla-central.
- Both Fennec and Fenix are deactivated for now
- Use the allow-downgrade flag to be flexible on build ids (the next step will be bug 1628666)

Conditioned profiles, curation of the profile prefs:
- Fully deactivates Normandy during Raptor tests (app.normandy.enabled)
- Removes any GFX blacklisting (gfx.blacklist.*)
- Removes any marionette pref
- Enforce extensions sideloading (extensions.startupScanScopes)

Differential Revision: https://phabricator.services.mozilla.com/D70518
2020-04-16 14:01:55 +00:00
Mark Banner
b2df945d37 Bug 1620542 - Turn on linting of .eslintrc.js files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D65704

--HG--
extra : moz-landing-system : lando
2020-03-07 09:30:44 +00:00
Gijs Kruitbosch
bea6ff18e0 Bug 1618962 - add Readability-readerable.js to eslintignore, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D64805

--HG--
extra : moz-landing-system : lando
2020-02-28 19:43:59 +00:00
Punam Dahiya
70fe96edd1 Bug 1616370 - Simplified welcome page r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D63406

--HG--
extra : moz-landing-system : lando
2020-02-27 18:52:46 +00:00
Mark Banner
e4edff6d1a Bug 1614891 - Clarify the ESLint situation around some remote/ files. Remove unnecessary remote/test/demo.js. r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D62547

--HG--
extra : moz-landing-system : lando
2020-02-13 09:23:19 +00:00
Mark Banner
556504ff93 Bug 1614822 - Enable ESLint for testing/mochitest/tests/Harness_sanity/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D62512

--HG--
extra : moz-landing-system : lando
2020-02-12 19:38:40 +00:00
Mark Banner
202e0d3400 Bug 1609815 - Remove unused devtools/client/webreplay reference from .eslintignore. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D62551

--HG--
extra : moz-landing-system : lando
2020-02-12 16:39:12 +00:00
Mark Banner
053da90c15 Bug 1613111 - Enable ESLint on testing/mochitest/tests/SimpleTest/ (manual changes). r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D61864

--HG--
extra : moz-landing-system : lando
2020-02-11 17:33:15 +00:00
Mark Banner
8346839a9e Bug 1613903 - Enable ESLint for testing/marionette/harness and testing/marionette/legacyaction.js (manual changes). r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D62026

--HG--
extra : moz-landing-system : lando
2020-02-10 16:28:09 +00:00
Mark Banner
0a71a3d8ce Bug 1613867 - Enable ESLint on testing/xpcshell/moz-http2/ (manual changes). r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D62017

--HG--
extra : moz-landing-system : lando
2020-02-10 08:13:52 +00:00
Mark Banner
53b74572ff Bug 1613139 - Enable ESLint for intl/uconv (manual changes). r=hsivonen
Depends on D61583

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

--HG--
extra : moz-landing-system : lando
2020-02-05 08:43:49 +00:00
Mark Banner
0007396a1a Bug 1613139 - Enable ESLint for intl/locale and intl/strres (manual changes). r=zbraniecki
Depends on D61580

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

--HG--
extra : moz-landing-system : lando
2020-02-04 15:33:24 +00:00
Marco Vega
23e7aaa178 Bug 1252803 - Enable ESLint on the rest of devtools (manual changes). r=jdescottes
Depends on D57223

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

--HG--
extra : moz-landing-system : lando
2020-02-03 11:31:33 +00:00
Ed Lee
33e7d3e2d1 Bug 1610923 - Point npm run testmc to use mach to avoid error with linting r=thecount
Add various linters supported by mach and remove eslint dependency.

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

--HG--
extra : moz-landing-system : lando
2020-01-31 07:33:54 +00:00
Mark Banner
e0c4808608 Bug 1609998 - Enable ESLint for non-third party files in editor/libeditor/tests/browserscope/. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D60305

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:49 +00:00
Mark Banner
3669c5762f Bug 1608799 - Move more paths from .eslintignore to ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D60150

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:47 +00:00
Mark Banner
b7eeb50cd3 Bug 1608799 - Remove references in .eslintignore to paths that no exist or don't have ESLint able files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D60149

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:40 +00:00
Mark Banner
e0be4a011c Bug 1608799 - Load devtools debugger's .eslintignore directly into ESLint to avoid duplication. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60148

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:38 +00:00
Mark Banner
7978e8fdd0 Bug 1608799 - Remove third-party references from .eslintignore that are already in ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D60147

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:30 +00:00
Mark Banner
2b7e2e5f7b Bug 1607172 - Move dom third-party entries across to ThirdPartyPaths.txt, and clean up .eslintignore for dom. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D59694

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:28 +00:00
Mark Banner
9e27a54a24 Bug 1607172 - Move devtools third-party entries across to ThirdPartyPaths.txt, and clean up .eslintignore for devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D59692

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:13 +00:00
Mark Banner
793a87d40a Bug 1607172 - Update ESLint to the latest version and use ignorePatterns to ignore paths listed in ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D59691

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:06 +00:00
Mihai Alexandru Michis
2dab66d06e Backed out 9 changesets (bug 1607172, bug 1609998, bug 1608799) for causing xpcshell failures in test_parser.js
CLOSED TREE

Backed out changeset 7753083b67dd (bug 1609998)
Backed out changeset e6f5aac734ab (bug 1608799)
Backed out changeset 90ea35966b73 (bug 1608799)
Backed out changeset 6fafa451b3f9 (bug 1608799)
Backed out changeset e07a4aea2ae1 (bug 1608799)
Backed out changeset d69d6dfdccad (bug 1607172)
Backed out changeset 93023b1b6153 (bug 1607172)
Backed out changeset 99ce7a56080e (bug 1607172)
Backed out changeset 20aa5934c785 (bug 1607172)
2020-01-21 21:44:03 +02:00
Mark Banner
07db0a7e2b Bug 1609998 - Enable ESLint for non-third party files in editor/libeditor/tests/browserscope/. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D60305

--HG--
extra : moz-landing-system : lando
2020-01-21 17:00:48 +00:00
Mark Banner
e88d437de8 Bug 1608799 - Move more paths from .eslintignore to ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D60150

--HG--
extra : moz-landing-system : lando
2020-01-21 17:10:48 +00:00
Mark Banner
bdfc666e6d Bug 1608799 - Remove references in .eslintignore to paths that no exist or don't have ESLint able files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D60149

--HG--
extra : moz-landing-system : lando
2020-01-21 17:10:30 +00:00
Mark Banner
7164a847f0 Bug 1608799 - Load devtools debugger's .eslintignore directly into ESLint to avoid duplication. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60148

--HG--
extra : moz-landing-system : lando
2020-01-21 17:00:32 +00:00
Mark Banner
7a5528ceb9 Bug 1608799 - Remove third-party references from .eslintignore that are already in ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D60147

--HG--
extra : moz-landing-system : lando
2020-01-21 17:10:23 +00:00
Mark Banner
1856b4108d Bug 1607172 - Move dom third-party entries across to ThirdPartyPaths.txt, and clean up .eslintignore for dom. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D59694

--HG--
extra : moz-landing-system : lando
2020-01-21 17:00:27 +00:00
Mark Banner
6178732e3f Bug 1607172 - Move devtools third-party entries across to ThirdPartyPaths.txt, and clean up .eslintignore for devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D59692

--HG--
extra : moz-landing-system : lando
2020-01-21 17:00:23 +00:00
Mark Banner
96709101c1 Bug 1607172 - Update ESLint to the latest version and use ignorePatterns to ignore paths listed in ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D59691

--HG--
extra : moz-landing-system : lando
2020-01-21 17:10:10 +00:00