Skip to content

Commit

Permalink
Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mo…
Browse files Browse the repository at this point in the history
…chitest.ini r=jmaher,media-playback-reviewers,alwu

Differential Revision: https://phabricator.services.mozilla.com/D189845
  • Loading branch information
tmarble committed Oct 3, 2023
1 parent ce7aeec commit faa34b0
Show file tree
Hide file tree
Showing 147 changed files with 11,536 additions and 9,937 deletions.
2 changes: 1 addition & 1 deletion dom/manifest/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ EXTRA_JS_MODULES += [
"ValueExtractor.sys.mjs",
]

MOCHITEST_MANIFESTS += ["test/mochitest.ini"]
MOCHITEST_MANIFESTS += ["test/mochitest.toml"]
BROWSER_CHROME_MANIFESTS += ["test/browser.toml"]
24 changes: 0 additions & 24 deletions dom/manifest/test/mochitest.ini

This file was deleted.

43 changes: 43 additions & 0 deletions dom/manifest/test/mochitest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[DEFAULT]
support-files = [
"common.js",
"resource.sjs",
"manifestLoader.html",
"file_testserver.sjs",
]

["test_ImageObjectProcessor_purpose.html"]

["test_ImageObjectProcessor_sizes.html"]

["test_ImageObjectProcessor_src.html"]

["test_ImageObjectProcessor_type.html"]

["test_ManifestProcessor_JSON.html"]

["test_ManifestProcessor_background_color.html"]

["test_ManifestProcessor_dir.html"]

["test_ManifestProcessor_display.html"]

["test_ManifestProcessor_icons.html"]

["test_ManifestProcessor_id.html"]

["test_ManifestProcessor_lang.html"]

["test_ManifestProcessor_name_and_short_name.html"]

["test_ManifestProcessor_orientation.html"]

["test_ManifestProcessor_scope.html"]

["test_ManifestProcessor_start_url.html"]

["test_ManifestProcessor_theme_color.html"]

["test_ManifestProcessor_warnings.html"]

["test_link_relList_supports_manifest.html"]
2 changes: 1 addition & 1 deletion dom/mathml/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ LOCAL_INCLUDES += [
"/dom/base",
]

MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.ini"]
MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.toml"]
3 changes: 0 additions & 3 deletions dom/mathml/tests/mochitest/mochitest.ini

This file was deleted.

3 changes: 3 additions & 0 deletions dom/mathml/tests/mochitest/mochitest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[DEFAULT]

["test_math_tabindex_focus.html"]
2 changes: 1 addition & 1 deletion dom/media/autoplay/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ XPIDL_SOURCES += [
"nsIAutoplay.idl",
]

MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.ini"]
MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"]

BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]

Expand Down
54 changes: 0 additions & 54 deletions dom/media/autoplay/test/mochitest/mochitest.ini

This file was deleted.

69 changes: 69 additions & 0 deletions dom/media/autoplay/test/mochitest/mochitest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[DEFAULT]
subsuite = "media"
tags = "autoplay"
support-files = [
"../../../test/manifest.js",
"../../../test/320x240.ogv",
"../../../test/bogus.duh",
"../../../test/detodos-short.opus",
"../../../test/flac-s24.flac",
"../../../test/gizmo.mp4",
"../../../test/gizmo.webm",
"../../../test/gizmo-noaudio.mp4",
"../../../test/gizmo-noaudio.webm",
"../../../test/gizmo-short.mp4",
"../../../test/r11025_s16_c1-short.wav",
"../../../test/sample.3g2",
"../../../test/sample.3gp",
"../../../test/short.mp4",
"../../../test/seek-short.webm",
"../../../test/small-shot.flac",
"../../../test/small-shot.m4a",
"../../../test/small-shot.mp3",
"../../../test/small-shot-mp3.mp4",
"../../../test/small-shot.ogg",
"../../../test/vp9-short.webm",
"AutoplayTestUtils.js",
"file_autoplay_gv_play_request_frame.html",
"file_autoplay_gv_play_request_window.html",
"file_autoplay_policy_activation_frame.html",
"file_autoplay_policy_activation_window.html",
"file_autoplay_policy_eventdown_activation.html",
"file_autoplay_policy_play_before_loadedmetadata.html",
"file_autoplay_policy_unmute_pauses.html",
"file_autoplay_policy_key_blacklist.html",
]

["test_autoplay.html"]

["test_autoplay_contentEditable.html"]

["test_autoplay_gv_play_request.html"]
skip-if = ["os != 'android'"]

["test_autoplay_policy.html"]

["test_autoplay_policy_activation.html"]

["test_autoplay_policy_eventdown_activation.html"]

["test_autoplay_policy_key_blacklist.html"]
skip-if = ["verify && debug && os == 'win'"] # bug 1424903

["test_autoplay_policy_permission.html"]

["test_autoplay_policy_play_before_loadedmetadata.html"]
skip-if = ["os == 'android'"] # bug 1591121

["test_autoplay_policy_unmute_pauses.html"]

["test_autoplay_policy_web_audio_AudioParamStream.html"]

["test_autoplay_policy_web_audio_createMediaStreamSource.html"]

["test_autoplay_policy_web_audio_mediaElementAudioSourceNode.html"]

["test_autoplay_policy_web_audio_notResumePageInvokedSuspendedAudioContext.html"]

["test_streams_autoplay.html"]
tags = "mtg capturestream"
2 changes: 1 addition & 1 deletion dom/media/mediasession/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

MOCHITEST_MANIFESTS += ["test/mochitest.ini"]
MOCHITEST_MANIFESTS += ["test/mochitest.toml"]

EXPORTS.mozilla.dom += [
"MediaMetadata.h",
Expand Down
12 changes: 0 additions & 12 deletions dom/media/mediasession/test/mochitest.ini

This file was deleted.

14 changes: 14 additions & 0 deletions dom/media/mediasession/test/mochitest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[DEFAULT]
subsuite = "media"
tags = "mediasession mediacontrol"

support-files = [
"../../test/gizmo.mp4",
"file_trigger_actionhanlder_frame.html",
"file_trigger_actionhanlder_window.html",
"MediaSessionTestUtils.js",
]

["test_setactionhandler.html"]

["test_trigger_actionhanlder.html"]
4 changes: 2 additions & 2 deletions dom/media/mediasource/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

MOCHITEST_MANIFESTS += [
"test/mochitest.ini",
"test/mochitest_compat.ini",
"test/mochitest.toml",
"test/mochitest_compat.toml",
]

EXPORTS += [
Expand Down
Loading

0 comments on commit faa34b0

Please sign in to comment.