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

127 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes cbb58ca5fc Bug 1821996 - Update references to webdriver tests in JSON files r=jmaher
Depends on D177295

Differential Revision: https://phabricator.services.mozilla.com/D177932
2023-05-23 20:41:02 +00:00
Noemi Erli aeeb3968a2 Backed out 3 changesets (bug 1821996) for causing python failures CLOSED TREE
Backed out changeset e117237fcb62 (bug 1821996)
Backed out changeset 63a5e66bd69f (bug 1821996)
Backed out changeset 02d9c5625cf4 (bug 1821996)
2023-05-23 18:00:32 +03:00
Julian Descottes 432bd8fd74 Bug 1821996 - Update references to webdriver tests in JSON files r=jmaher
Depends on D177295

Differential Revision: https://phabricator.services.mozilla.com/D177932
2023-05-23 08:49:20 +00:00
Barret Rennie a645de723e Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-05-12 18:34:28 +00:00
Sandor Molnar 924826ccad Backed out changeset 987d013caf11 (bug 1776480) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_downloads_download.js CLOSED TREE 2023-05-11 22:36:59 +03:00
Barret Rennie 6149948e68 Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-05-11 17:49:27 +00:00
Mark Banner c2dd8e3266 Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D176336
2023-05-09 16:14:51 +00:00
Norisz Fay bf5ea8f459 Backed out changeset 3d766d94945d (bug 1776480) for causing multiple xpcshell and bc failures CLOSED TREE 2023-04-28 06:55:03 +03:00
Barret Rennie 7bae7d5d70 Bug 1776480 - Remove OS.File et al. r=Gijs
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-04-28 02:35:13 +00:00
alwu b4652a98ce Bug 1809985 - part2 : create a browser test task for wmfme. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166729
2023-01-17 20:00:49 +00:00
alwu 0fd970dca3 Bug 1809983 - part1 : split media browser tests from mochitest-browser-chrome into mochitest-browser-media. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166705
2023-01-13 00:04:13 +00:00
Ben Hearsum 82c63aa888 Bug 1805920: Enable xpcshell msix variant testing r=taskgraph-reviewers,ahal,jcristau
This is _mostly_ boring, standard stuff. The most notable part is the refactor of the test transforms to process `variant` as early as possible. This is needed to key `suite` by variant (and is likely going to be helpful in other places as well, eg: we can now key all `mozharness` keys on variant). See the previous patch for why we need a separate xpcshell suite for this.

I don't know if I'm adding the runtime manifest correctly, or how those times are supposed to be generated/updated (the commit log seems to suggest that it's broken right now?) - let me know if I should do something differently here.

Note: I'm still working through a few more tests that need to be disabled, so this isn't ready to be landed yet, but I don't anticipate any changes to this patch.

Differential Revision: https://phabricator.services.mozilla.com/D164230
2023-01-11 14:45:04 +00:00
Marco Castelluccio 9a5c674965 Bug 1801836 - Remove no longer necessary 'from __future__' imports under testing/. r=linter-reviewers,webdriver-reviewers,perftest-reviewers,ahal,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165399
2022-12-23 10:08:06 +00:00
Frederic Wang 36b880a97d Bug 1795630 - Export MathML crashtests to WPT. r=emilio
This commit moves crash tests from dom/mathml and layout/mathml into
testing/web-platform/tests/mathml/crashtests/mozilla, trying to do only
minimal changes (i.e. use 'test-wait' instead of 'reftest-wait' and
fix whitespace errors). lint errors are ignored for usage of
setTimeout as well as the invalid XML file testing bug 289180.

Regarding 400157.xhtml, it uses special powers to trigger a
zoom changes. It could probably be tweaked to convert to a mochitest or
rely on a different dynamic change. However, this was testing a crash for
the `<mfenced>` element in nsMathMLmfencedFrame whose code has been
completely removed, so it's now hard to reproduce the original crash.
Also that makes the test no longer very useful, so we just remove it.

Differential Revision: https://phabricator.services.mozilla.com/D159491
2022-10-18 04:21:41 +00:00
Cristian Tuns daaaf0a3af Backed out changeset f792a9947d0f (bug 1795630) for causing lint failures CLOSED TREE 2022-10-17 14:32:24 -04:00
Frederic Wang 5cbb8bbec5 Bug 1795630 - Export MathML crashtests to WPT. r=emilio
This commit moves crash tests from dom/mathml and layout/mathml into
testing/web-platform/tests/mathml/crashtests/mozilla, trying to do only
minimal changes (i.e. use 'test-wait' instead of 'reftest-wait').

The exception is 400157.xhtml which uses special powers to trigger a
zoom changes. It could probably be tweaked to convert to a mochitest or
rely on a different dynamic change. However, this was testing a crash for
the `<mfenced>` element in nsMathMLmfencedFrame whose code has been
completely removed, so it's now hard to reproduce the original crash.
Also that makes the test no longer very useful, so we just remove it.

Differential Revision: https://phabricator.services.mozilla.com/D159491
2022-10-17 17:16:33 +00:00
Nicolas Chevobbe 000b84abfd Bug 1668219 - [devtools] Remove now unused devtools/shared/performance folder. r=julienw.
Differential Revision: https://phabricator.services.mozilla.com/D145466
2022-05-06 17:16:29 +00:00
Nicolas Chevobbe 30db855c84 Bug 1668219 - [devtools] Remove devtools/client/performance. r=julienw.
Differential Revision: https://phabricator.services.mozilla.com/D145461
2022-05-06 17:16:27 +00:00
Punam Dahiya 2b39c9ff18 Bug 1751093 - Clean up Cloud Storage API and its usage in about:preferences r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D137248
2022-04-07 10:17:13 +00:00
Joel Maher 2399972c85 Bug 1754613 - split a11y tests out of mochitest-browser-chrome into mochitest-browser-a11y. r=releng-reviewers,Jamie,gbrown
here is a try push:
https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&tier=1%2C2%2C3&revision=aca12d2de75f1fb0eb25432358e5518a8e7f812d

most of the bc failures fall into:
https://bugzilla.mozilla.org/show_bug.cgi?id=1742167

I only tested bc to see if there were issues removing the `ba` tests from there.

Differential Revision: https://phabricator.services.mozilla.com/D138571
2022-02-15 16:47:57 +00:00
Neil Deakin 9cc85b84a2 Bug 1712838 , remove fxmonitor component, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D117352
2021-06-22 14:11:08 +00:00
Geoff Brown 2782e27bed Bug 1713679 - Update test runtimes data for new manifest; r=ahal
Update runtimes data manually for new antitracking manifest. This data is normally
updated by the writeruntimes script, but currently that is not working (it relies
on ActiveData). I manually updated with approximate durations.
Without an update to the runtime data, task scheduling is not aware that the new
manifest is long-running, and schedules it alongside many other manifests, which
continues to produce unbalanced test chunk run times; with the update, chunks are
much more balanced.

Differential Revision: https://phabricator.services.mozilla.com/D116639
2021-06-03 15:14:38 +00:00
Valentin Gosu 3bf8be1f67 Bug 1694662 - Remove ajax/offline tests r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D106457
2021-04-30 07:20:25 +00:00
Ted Campbell e1c87c5944 Bug 1700954 - Remove unused BinAST tests. r=arai
Depends on D109765

Differential Revision: https://phabricator.services.mozilla.com/D109766
2021-03-26 13:01:41 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +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
Robert Helmer 4748e0ad3a Bug 1665957 - rename Pioneer to Ion r=maxxcrawford,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D90749
2020-09-23 22:10:16 +00:00
Narcis Beleuzu 99412cbf35 Backed out changeset 8dab8ca19839 (bug 1665957) for bc failures on browser_ion_ui.js . CLOSED TREE 2020-09-23 09:00:43 +03:00
Robert Helmer 84f317e9d4 Bug 1665957 - rename Pioneer to Ion r=maxxcrawford,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D90749
2020-09-22 18:26:16 +00:00
Edwin Takahashi cda856b5e3 Bug 1647383 - update manifest runtime information r=ahal,jmaher
Changes:
  - `web-platform-tests-wdspec` and `web-platform-tests-crashtests` are newly added to the file.
  - `web-platform-tests` groupings are changed.

Differential Revision: https://phabricator.services.mozilla.com/D80921
2020-06-24 18:23:39 +00:00
Edwin Takahashi 01ecd3cda9 Bug 1643452 - update runtime information using median values r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D78367
2020-06-04 21:04:39 +00:00
Edwin Takahashi 8bdbb2752c Bug 1643452 - use median value when calculating runtime data in writeruntimes r=marco,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D78356
2020-06-04 21:04:35 +00:00
Andrew Halberstadt 3e8be21e3b Bug 1633866 - [runtimes] Update all test runtime data, r=egao
Ensure runtimes are up to date prior to enabling manifest-scheduling
anywhere.

Depends on D78153

Differential Revision: https://phabricator.services.mozilla.com/D78155
2020-06-03 20:59:13 +00:00
Nils Ohlmeier [:drno] 18ef0cb66a Bug 1641289: Bye, bye Steeplechase. r=dminor,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D77114
2020-05-29 03:19:27 +00:00
egao 1f90bf661e Bug 1637463 - update manifest runtime information with web-platform-tests-reftest information r=jmaher
Changes:

The previous update to this file did not contain web-platform-tests-reftest information.

Differential Revision: https://phabricator.services.mozilla.com/D77132
2020-05-27 19:21:00 +00:00
egao 89968cd4a0 Bug 1637463 - update manifest runtime information with new schema for all platforms r=ahal
Changes:
  - run the `writeruntimes` script to update runtime information file for all platforms with the new schema.

Differential Revision: https://phabricator.services.mozilla.com/D75591
2020-05-22 23:38:52 +00:00
egao a8d0e51833 Bug 1637463 - writeruntimes script to output runtime information into nested dictionary r=ahal
Changes:

Update `writeruntimes` script so that each suite is in its own nested dictionary and add the ability to query `web-platform-tests-reftest`.

Differential Revision: https://phabricator.services.mozilla.com/D75229
2020-05-23 01:46:42 +00:00
Mihai Alexandru Michis 74ff68a9a5 Backed out 3 changesets (bug 1637463) for causing bc jobs to timeout.
CLOSED TREE

Backed out changeset 93efb53380c2 (bug 1637463)
Backed out changeset 5c8ccda5f1b1 (bug 1637463)
Backed out changeset a5fc1b604238 (bug 1637463)
2020-05-23 02:35:26 +03:00
egao cdb3bc231b Bug 1637463 - update manifest runtime information with new schema for all platforms r=ahal
Changes:
  - run the `writeruntimes` script to update runtime information file for all platforms with the new schema.

Differential Revision: https://phabricator.services.mozilla.com/D75591
2020-05-22 15:46:32 +00:00
egao cf9f527a4f Bug 1637463 - writeruntimes script to output runtime information into nested dictionary r=ahal
Changes:

Update `writeruntimes` script so that each suite is in its own nested dictionary and add the ability to query `web-platform-tests-reftest`.

Differential Revision: https://phabricator.services.mozilla.com/D75229
2020-05-20 22:01:47 +00:00
Andrew Halberstadt 2519fd2b60 Bug 1634551 - [runtimes] Update 'writeruntimes' script to use 'manifest' value from TestResolver, r=egao
This shouldn't materially change the keys in the runtimes files.

Depends on D76085

Differential Revision: https://phabricator.services.mozilla.com/D76190
2020-05-20 18:57:48 +00:00
Edwin Takahashi ed464212e2 Bug 1608837 - do not normalize web-platform-test paths in writeruntimes r=ahal
Changes:

After some iterations, it turns out that normalization of the test paths returned by web-platform-tests is unnecessary for the time being.

  - removed normalization of the test paths from `writeruntimes`.
  - updated manifest-runtime JSON files for all three platforms.

Differential Revision: https://phabricator.services.mozilla.com/D74264
2020-05-08 15:59:37 +00:00