From 1ca03b1818f5486a5404ab5f82acc25351148785 Mon Sep 17 00:00:00 2001 From: Tom Marble Date: Mon, 2 Oct 2023 17:18:28 +0000 Subject: [PATCH] Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich Differential Revision: https://phabricator.services.mozilla.com/D189381 --- browser/components/extensions/moz.build | 2 +- .../extensions/test/mochitest/mochitest.ini | 13 - .../extensions/test/mochitest/mochitest.toml | 14 + browser/components/originattributes/moz.build | 2 +- .../test/mochitest/mochitest.ini | 7 - .../test/mochitest/mochitest.toml | 6 + .../components/resistfingerprinting/moz.build | 2 +- .../test/mochitest/mochitest.ini | 29 - .../test/mochitest/mochitest.toml | 39 + browser/extensions/formautofill/moz.build | 4 +- .../test/mochitest/creditCard/mochitest.ini | 26 - .../test/mochitest/creditCard/mochitest.toml | 35 + .../formautofill/test/mochitest/mochitest.ini | 25 - .../test/mochitest/mochitest.toml | 34 + caps/moz.build | 2 +- caps/tests/mochitest/mochitest.ini | 19 - caps/tests/mochitest/mochitest.toml | 27 + docshell/moz.build | 6 +- docshell/test/iframesandbox/mochitest.ini | 31 - docshell/test/iframesandbox/mochitest.toml | 43 + docshell/test/mochitest/mochitest.ini | 222 -- docshell/test/mochitest/mochitest.toml | 314 +++ docshell/test/navigation/mochitest.ini | 270 --- docshell/test/navigation/mochitest.toml | 359 ++++ dom/abort/tests/mochitest.ini | 10 - dom/abort/tests/mochitest.toml | 12 + dom/abort/tests/moz.build | 2 +- dom/animation/moz.build | 2 +- dom/animation/test/mochitest.ini | 75 - dom/animation/test/mochitest.toml | 113 ++ dom/base/test/fullscreen/mochitest.ini | 53 - dom/base/test/fullscreen/mochitest.toml | 62 + dom/base/test/fullscreen/moz.build | 2 +- .../test/jsmodules/importmaps/mochitest.ini | 27 - .../test/jsmodules/importmaps/mochitest.toml | 28 + dom/base/test/jsmodules/importmaps/moz.build | 2 +- dom/base/test/meta_viewport/mochitest.ini | 54 - dom/base/test/meta_viewport/mochitest.toml | 102 + dom/base/test/meta_viewport/moz.build | 2 +- dom/base/test/mochitest.ini | 1186 ----------- dom/base/test/mochitest.toml | 1782 +++++++++++++++++ dom/base/test/moz.build | 2 +- dom/base/test/useractivation/mochitest.ini | 23 - dom/base/test/useractivation/mochitest.toml | 33 + dom/base/test/useractivation/moz.build | 2 +- dom/battery/moz.build | 2 +- dom/battery/test/mochitest.ini | 1 - dom/battery/test/mochitest.toml | 4 + dom/bindings/test/mochitest.ini | 121 -- dom/bindings/test/mochitest.toml | 195 ++ dom/bindings/test/moz.build | 2 +- dom/broadcastchannel/moz.build | 2 +- dom/broadcastchannel/tests/mochitest.ini | 29 - dom/broadcastchannel/tests/mochitest.toml | 41 + dom/cache/moz.build | 2 +- dom/cache/test/mochitest/mochitest.ini | 74 - dom/cache/test/mochitest/mochitest.toml | 100 + dom/canvas/moz.build | 8 +- dom/canvas/test/crash/mochitest.ini | 17 - dom/canvas/test/crash/mochitest.toml | 22 + dom/canvas/test/crossorigin/mochitest.ini | 17 - dom/canvas/test/crossorigin/mochitest.toml | 22 + dom/canvas/test/mochitest.ini | 210 -- dom/canvas/test/mochitest.toml | 341 ++++ dom/canvas/test/webgl-mochitest/mochitest.ini | 133 -- .../test/webgl-mochitest/mochitest.toml | 243 +++ dom/console/moz.build | 2 +- dom/console/tests/mochitest.ini | 14 - dom/console/tests/mochitest.toml | 23 + dom/credentialmanagement/identity/moz.build | 2 +- .../identity/tests/mochitest/mochitest.ini | 52 - .../identity/tests/mochitest/mochitest.toml | 67 + dom/credentialmanagement/moz.build | 2 +- .../tests/mochitest/mochitest.ini | 14 - .../tests/mochitest/mochitest.toml | 14 + dom/crypto/moz.build | 2 +- dom/crypto/test/mochitest.ini | 29 - dom/crypto/test/mochitest.toml | 46 + dom/encoding/moz.build | 2 +- dom/encoding/test/mochitest.ini | 36 - dom/encoding/test/mochitest.toml | 46 + dom/events/moz.build | 4 +- dom/events/test/mochitest.ini | 340 ---- dom/events/test/mochitest.toml | 525 +++++ dom/events/test/pointerevents/mochitest.ini | 184 -- dom/events/test/pointerevents/mochitest.toml | 242 +++ dom/fetch/moz.build | 2 +- dom/fetch/tests/mochitest.ini | 2 - dom/fetch/tests/mochitest.toml | 6 + dom/file/ipc/moz.build | 2 +- dom/file/ipc/tests/mochitest.ini | 13 - dom/file/ipc/tests/mochitest.toml | 18 + dom/file/moz.build | 2 +- dom/file/tests/mochitest.ini | 57 - dom/file/tests/mochitest.toml | 86 + dom/filesystem/compat/tests/mochitest.ini | 8 - dom/filesystem/compat/tests/mochitest.toml | 11 + dom/filesystem/compat/tests/moz.build | 2 +- dom/filesystem/tests/mochitest.ini | 12 - dom/filesystem/tests/mochitest.toml | 16 + dom/filesystem/tests/moz.build | 2 +- .../common/{mochitest.ini => mochitest.toml} | 17 +- dom/fs/test/common/moz.build | 2 +- dom/fs/test/mochitest/mochitest.ini | 28 - dom/fs/test/mochitest/mochitest.toml | 35 + dom/fs/test/mochitest/worker/mochitest.ini | 14 - dom/fs/test/mochitest/worker/mochitest.toml | 15 + dom/fs/test/moz.build | 4 +- dom/html/moz.build | 8 +- dom/html/test/dialog/mochitest.ini | 2 - dom/html/test/dialog/mochitest.toml | 4 + dom/html/test/forms/mochitest.ini | 123 -- dom/html/test/forms/mochitest.toml | 229 +++ .../without_selectionchange/mochitest.ini | 5 - .../without_selectionchange/mochitest.toml | 5 + dom/html/test/mochitest.ini | 614 ------ dom/html/test/mochitest.toml | 989 +++++++++ dom/ipc/moz.build | 2 +- dom/ipc/tests/mochitest.ini | 25 - dom/ipc/tests/mochitest.toml | 30 + dom/jsurl/moz.build | 2 +- dom/jsurl/test/mochitest.ini | 17 - dom/jsurl/test/mochitest.toml | 25 + dom/l10n/moz.build | 2 +- dom/l10n/tests/mochitest/mochitest.ini | 1 - dom/l10n/tests/mochitest/mochitest.toml | 4 + dom/localstorage/moz.build | 2 +- .../test/{mochitest.ini => mochitest.toml} | 9 +- dom/locks/moz.build | 2 +- dom/locks/test/mochitest.ini | 6 - dom/locks/test/mochitest.toml | 6 + 131 files changed, 6475 insertions(+), 4328 deletions(-) delete mode 100644 browser/components/extensions/test/mochitest/mochitest.ini create mode 100644 browser/components/extensions/test/mochitest/mochitest.toml delete mode 100644 browser/components/originattributes/test/mochitest/mochitest.ini create mode 100644 browser/components/originattributes/test/mochitest/mochitest.toml delete mode 100644 browser/components/resistfingerprinting/test/mochitest/mochitest.ini create mode 100644 browser/components/resistfingerprinting/test/mochitest/mochitest.toml delete mode 100644 browser/extensions/formautofill/test/mochitest/creditCard/mochitest.ini create mode 100644 browser/extensions/formautofill/test/mochitest/creditCard/mochitest.toml delete mode 100644 browser/extensions/formautofill/test/mochitest/mochitest.ini create mode 100644 browser/extensions/formautofill/test/mochitest/mochitest.toml delete mode 100644 caps/tests/mochitest/mochitest.ini create mode 100644 caps/tests/mochitest/mochitest.toml delete mode 100644 docshell/test/iframesandbox/mochitest.ini create mode 100644 docshell/test/iframesandbox/mochitest.toml delete mode 100644 docshell/test/mochitest/mochitest.ini create mode 100644 docshell/test/mochitest/mochitest.toml delete mode 100644 docshell/test/navigation/mochitest.ini create mode 100644 docshell/test/navigation/mochitest.toml delete mode 100644 dom/abort/tests/mochitest.ini create mode 100644 dom/abort/tests/mochitest.toml delete mode 100644 dom/animation/test/mochitest.ini create mode 100644 dom/animation/test/mochitest.toml delete mode 100644 dom/base/test/fullscreen/mochitest.ini create mode 100644 dom/base/test/fullscreen/mochitest.toml delete mode 100644 dom/base/test/jsmodules/importmaps/mochitest.ini create mode 100644 dom/base/test/jsmodules/importmaps/mochitest.toml delete mode 100644 dom/base/test/meta_viewport/mochitest.ini create mode 100644 dom/base/test/meta_viewport/mochitest.toml delete mode 100644 dom/base/test/mochitest.ini create mode 100644 dom/base/test/mochitest.toml delete mode 100644 dom/base/test/useractivation/mochitest.ini create mode 100644 dom/base/test/useractivation/mochitest.toml delete mode 100644 dom/battery/test/mochitest.ini create mode 100644 dom/battery/test/mochitest.toml delete mode 100644 dom/bindings/test/mochitest.ini create mode 100644 dom/bindings/test/mochitest.toml delete mode 100644 dom/broadcastchannel/tests/mochitest.ini create mode 100644 dom/broadcastchannel/tests/mochitest.toml delete mode 100644 dom/cache/test/mochitest/mochitest.ini create mode 100644 dom/cache/test/mochitest/mochitest.toml delete mode 100644 dom/canvas/test/crash/mochitest.ini create mode 100644 dom/canvas/test/crash/mochitest.toml delete mode 100644 dom/canvas/test/crossorigin/mochitest.ini create mode 100644 dom/canvas/test/crossorigin/mochitest.toml delete mode 100644 dom/canvas/test/mochitest.ini create mode 100644 dom/canvas/test/mochitest.toml delete mode 100644 dom/canvas/test/webgl-mochitest/mochitest.ini create mode 100644 dom/canvas/test/webgl-mochitest/mochitest.toml delete mode 100644 dom/console/tests/mochitest.ini create mode 100644 dom/console/tests/mochitest.toml delete mode 100644 dom/credentialmanagement/identity/tests/mochitest/mochitest.ini create mode 100644 dom/credentialmanagement/identity/tests/mochitest/mochitest.toml delete mode 100644 dom/credentialmanagement/tests/mochitest/mochitest.ini create mode 100644 dom/credentialmanagement/tests/mochitest/mochitest.toml delete mode 100644 dom/crypto/test/mochitest.ini create mode 100644 dom/crypto/test/mochitest.toml delete mode 100644 dom/encoding/test/mochitest.ini create mode 100644 dom/encoding/test/mochitest.toml delete mode 100644 dom/events/test/mochitest.ini create mode 100644 dom/events/test/mochitest.toml delete mode 100644 dom/events/test/pointerevents/mochitest.ini create mode 100644 dom/events/test/pointerevents/mochitest.toml delete mode 100644 dom/fetch/tests/mochitest.ini create mode 100644 dom/fetch/tests/mochitest.toml delete mode 100644 dom/file/ipc/tests/mochitest.ini create mode 100644 dom/file/ipc/tests/mochitest.toml delete mode 100644 dom/file/tests/mochitest.ini create mode 100644 dom/file/tests/mochitest.toml delete mode 100644 dom/filesystem/compat/tests/mochitest.ini create mode 100644 dom/filesystem/compat/tests/mochitest.toml delete mode 100644 dom/filesystem/tests/mochitest.ini create mode 100644 dom/filesystem/tests/mochitest.toml rename dom/fs/test/common/{mochitest.ini => mochitest.toml} (52%) delete mode 100644 dom/fs/test/mochitest/mochitest.ini create mode 100644 dom/fs/test/mochitest/mochitest.toml delete mode 100644 dom/fs/test/mochitest/worker/mochitest.ini create mode 100644 dom/fs/test/mochitest/worker/mochitest.toml delete mode 100644 dom/html/test/dialog/mochitest.ini create mode 100644 dom/html/test/dialog/mochitest.toml delete mode 100644 dom/html/test/forms/mochitest.ini create mode 100644 dom/html/test/forms/mochitest.toml delete mode 100644 dom/html/test/forms/without_selectionchange/mochitest.ini create mode 100644 dom/html/test/forms/without_selectionchange/mochitest.toml delete mode 100644 dom/html/test/mochitest.ini create mode 100644 dom/html/test/mochitest.toml delete mode 100644 dom/ipc/tests/mochitest.ini create mode 100644 dom/ipc/tests/mochitest.toml delete mode 100644 dom/jsurl/test/mochitest.ini create mode 100644 dom/jsurl/test/mochitest.toml delete mode 100644 dom/l10n/tests/mochitest/mochitest.ini create mode 100644 dom/l10n/tests/mochitest/mochitest.toml rename dom/localstorage/test/{mochitest.ini => mochitest.toml} (70%) delete mode 100644 dom/locks/test/mochitest.ini create mode 100644 dom/locks/test/mochitest.toml diff --git a/browser/components/extensions/moz.build b/browser/components/extensions/moz.build index 419850d762ae..f3b383d58ea8 100644 --- a/browser/components/extensions/moz.build +++ b/browser/components/extensions/moz.build @@ -31,7 +31,7 @@ BROWSER_CHROME_MANIFESTS += [ "test/browser/browser_legacy_recent_tabs.ini", ] -MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.ini"] +MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] XPCSHELL_TESTS_MANIFESTS += [ "test/xpcshell/xpcshell.ini", ] diff --git a/browser/components/extensions/test/mochitest/mochitest.ini b/browser/components/extensions/test/mochitest/mochitest.ini deleted file mode 100644 index fc277024a416..000000000000 --- a/browser/components/extensions/test/mochitest/mochitest.ini +++ /dev/null @@ -1,13 +0,0 @@ -[DEFAULT] -skip-if = toolkit == 'android' # bug 1730213 -support-files = - ../../../../../toolkit/components/extensions/test/mochitest/test_ext_all_apis.js - ../../../../../toolkit/components/extensions/test/mochitest/file_sample.html -tags = webextensions -prefs = - javascript.options.asyncstack_capture_debuggee_only=false - -[test_ext_all_apis.html] -skip-if = - http3 - http2 diff --git a/browser/components/extensions/test/mochitest/mochitest.toml b/browser/components/extensions/test/mochitest/mochitest.toml new file mode 100644 index 000000000000..bc8bd0d40a35 --- /dev/null +++ b/browser/components/extensions/test/mochitest/mochitest.toml @@ -0,0 +1,14 @@ +[DEFAULT] +skip-if = ["os == 'android'"] # bug 1730213 +support-files = [ + "../../../../../toolkit/components/extensions/test/mochitest/test_ext_all_apis.js", + "../../../../../toolkit/components/extensions/test/mochitest/file_sample.html", +] +tags = "webextensions" +prefs = ["javascript.options.asyncstack_capture_debuggee_only=false"] + +["test_ext_all_apis.html"] +skip-if = [ + "http3", + "http2", +] diff --git a/browser/components/originattributes/moz.build b/browser/components/originattributes/moz.build index 539b99f6f4e8..21b004095ef5 100644 --- a/browser/components/originattributes/moz.build +++ b/browser/components/originattributes/moz.build @@ -8,7 +8,7 @@ BROWSER_CHROME_MANIFESTS += [ "test/browser/browser.toml", ] -MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.ini"] +MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] with Files("**"): BUG_COMPONENT = ("Core", "DOM: Security") diff --git a/browser/components/originattributes/test/mochitest/mochitest.ini b/browser/components/originattributes/test/mochitest/mochitest.ini deleted file mode 100644 index 459f5a984a6f..000000000000 --- a/browser/components/originattributes/test/mochitest/mochitest.ini +++ /dev/null @@ -1,7 +0,0 @@ -[DEFAULT] -skip-if = toolkit == 'android' # bug 1730213 -support-files = - file_empty.html - -[test_permissions_api.html] -skip-if = xorigin # Hangs diff --git a/browser/components/originattributes/test/mochitest/mochitest.toml b/browser/components/originattributes/test/mochitest/mochitest.toml new file mode 100644 index 000000000000..6db84ec300a4 --- /dev/null +++ b/browser/components/originattributes/test/mochitest/mochitest.toml @@ -0,0 +1,6 @@ +[DEFAULT] +skip-if = ["os == 'android'"] # bug 1730213 +support-files = ["file_empty.html"] + +["test_permissions_api.html"] +skip-if = ["xorigin"] # Hangs diff --git a/browser/components/resistfingerprinting/moz.build b/browser/components/resistfingerprinting/moz.build index 58a6c0ca70b9..af01529d8624 100644 --- a/browser/components/resistfingerprinting/moz.build +++ b/browser/components/resistfingerprinting/moz.build @@ -12,5 +12,5 @@ BROWSER_CHROME_MANIFESTS += [ ] MOCHITEST_MANIFESTS += [ - "test/mochitest/mochitest.ini", + "test/mochitest/mochitest.toml", ] diff --git a/browser/components/resistfingerprinting/test/mochitest/mochitest.ini b/browser/components/resistfingerprinting/test/mochitest/mochitest.ini deleted file mode 100644 index 2429f5e4dcf1..000000000000 --- a/browser/components/resistfingerprinting/test/mochitest/mochitest.ini +++ /dev/null @@ -1,29 +0,0 @@ -[DEFAULT] -skip-if = toolkit == 'android' # bug 1730213 -tags = resistfingerprinting - -support-files = - file_animation_api.html - worker_child.js - worker_grandchild.js - !/dom/tests/mochitest/geolocation/network_geolocation.sjs - -[test_animation_api.html] -[test_bug1354633_media_error.html] -support-files = decode_error.mp4 -[test_bug1382499_touch_api.html] -[test_bug863246_resource_uri.html] -[test_device_sensor_event.html] -[test_geolocation.html] -scheme = https -fail-if = xorigin -[test_hide_gamepad_info.html] -scheme = https -support-files = test_hide_gamepad_info_iframe.html -[test_iframe.html] -[test_keyboard_event.html] -[test_pointer_event.html] - support-files = - ../../../../../dom/events/test/pointerevents/mochitest_support_external.js -[test_speech_synthesis.html] -skip-if = verify diff --git a/browser/components/resistfingerprinting/test/mochitest/mochitest.toml b/browser/components/resistfingerprinting/test/mochitest/mochitest.toml new file mode 100644 index 000000000000..6c6836843f7d --- /dev/null +++ b/browser/components/resistfingerprinting/test/mochitest/mochitest.toml @@ -0,0 +1,39 @@ +[DEFAULT] +skip-if = ["os == 'android'"] # bug 1730213 +tags = "resistfingerprinting" + +support-files = [ + "file_animation_api.html", + "worker_child.js", + "worker_grandchild.js", + "!/dom/tests/mochitest/geolocation/network_geolocation.sjs", +] + +["test_animation_api.html"] + +["test_bug863246_resource_uri.html"] + +["test_bug1354633_media_error.html"] +support-files = ["decode_error.mp4"] + +["test_bug1382499_touch_api.html"] + +["test_device_sensor_event.html"] + +["test_geolocation.html"] +scheme = "https" +fail-if = ["xorigin"] + +["test_hide_gamepad_info.html"] +scheme = "https" +support-files = ["test_hide_gamepad_info_iframe.html"] + +["test_iframe.html"] + +["test_keyboard_event.html"] + +["test_pointer_event.html"] +support-files = ["../../../../../dom/events/test/pointerevents/mochitest_support_external.js"] + +["test_speech_synthesis.html"] +skip-if = ["verify"] diff --git a/browser/extensions/formautofill/moz.build b/browser/extensions/formautofill/moz.build index 9803dee228cc..d678c4abbff2 100644 --- a/browser/extensions/formautofill/moz.build +++ b/browser/extensions/formautofill/moz.build @@ -46,8 +46,8 @@ XPCSHELL_TESTS_MANIFESTS += [ ] MOCHITEST_MANIFESTS += [ - "test/mochitest/creditCard/mochitest.ini", - "test/mochitest/mochitest.ini", + "test/mochitest/creditCard/mochitest.toml", + "test/mochitest/mochitest.toml", ] JAR_MANIFESTS += ["jar.mn"] diff --git a/browser/extensions/formautofill/test/mochitest/creditCard/mochitest.ini b/browser/extensions/formautofill/test/mochitest/creditCard/mochitest.ini deleted file mode 100644 index d7a7ea2fd884..000000000000 --- a/browser/extensions/formautofill/test/mochitest/creditCard/mochitest.ini +++ /dev/null @@ -1,26 +0,0 @@ -[DEFAULT] -prefs = - extensions.formautofill.creditCards.supported=on - extensions.formautofill.creditCards.enabled=true - extensions.formautofill.reauth.enabled=true -support-files = - !/toolkit/components/satchel/test/satchel_common.js - ../../../../../../toolkit/components/satchel/test/parent_utils.js - !/toolkit/components/satchel/test/parent_utils.js - !/browser/extensions/formautofill/test/mochitest/formautofill_common.js - !/browser/extensions/formautofill/test/mochitest/formautofill_parent_utils.js -skip-if = xorigin - toolkit == 'android' # bug 1730213 - -[test_basic_creditcard_autocomplete_form.html] -scheme=https -[test_clear_form.html] -scheme=https -[test_clear_form_expiry_select_elements.html] -scheme=https -[test_creditcard_autocomplete_off.html] -scheme=https -[test_preview_highlight_with_multiple_cc_number_fields.html] -scheme=https -[test_preview_highlight_with_site_prefill.html] -scheme=https diff --git a/browser/extensions/formautofill/test/mochitest/creditCard/mochitest.toml b/browser/extensions/formautofill/test/mochitest/creditCard/mochitest.toml new file mode 100644 index 000000000000..ffd504bb45c9 --- /dev/null +++ b/browser/extensions/formautofill/test/mochitest/creditCard/mochitest.toml @@ -0,0 +1,35 @@ +[DEFAULT] +prefs = [ + "extensions.formautofill.creditCards.supported=on", + "extensions.formautofill.creditCards.enabled=true", + "extensions.formautofill.reauth.enabled=true", +] +support-files = [ + "!/toolkit/components/satchel/test/satchel_common.js", + "../../../../../../toolkit/components/satchel/test/parent_utils.js", + "!/toolkit/components/satchel/test/parent_utils.js", + "!/browser/extensions/formautofill/test/mochitest/formautofill_common.js", + "!/browser/extensions/formautofill/test/mochitest/formautofill_parent_utils.js", +] +skip-if = [ + "xorigin", + "os == 'android'", # bug 1730213 +] + +["test_basic_creditcard_autocomplete_form.html"] +scheme = "https" + +["test_clear_form.html"] +scheme = "https" + +["test_clear_form_expiry_select_elements.html"] +scheme = "https" + +["test_creditcard_autocomplete_off.html"] +scheme = "https" + +["test_preview_highlight_with_multiple_cc_number_fields.html"] +scheme = "https" + +["test_preview_highlight_with_site_prefill.html"] +scheme = "https" diff --git a/browser/extensions/formautofill/test/mochitest/mochitest.ini b/browser/extensions/formautofill/test/mochitest/mochitest.ini deleted file mode 100644 index ed423fb62481..000000000000 --- a/browser/extensions/formautofill/test/mochitest/mochitest.ini +++ /dev/null @@ -1,25 +0,0 @@ -[DEFAULT] -prefs = - extensions.formautofill.creditCards.supported=on - extensions.formautofill.creditCards.enabled=true - extensions.formautofill.addresses.supported=on - extensions.formautofill.addresses.enabled=true -skip-if = toolkit == 'android' # bug 1730213 -support-files = - ../../../../../toolkit/components/satchel/test/satchel_common.js - ../../../../../toolkit/components/satchel/test/parent_utils.js - formautofill_parent_utils.js - formautofill_common.js - -[test_address_level_1_submission.html] -[test_autofill_and_ordinal_forms.html] -[test_autofocus_form.html] -[test_basic_autocomplete_form.html] -skip-if = - os == 'mac' && !debug # bug 1789194 -[test_form_changes.html] -[test_formautofill_preview_highlight.html] -skip-if = verify -[test_multi_locale_CA_address_form.html] -[test_multiple_forms.html] -[test_on_address_submission.html] diff --git a/browser/extensions/formautofill/test/mochitest/mochitest.toml b/browser/extensions/formautofill/test/mochitest/mochitest.toml new file mode 100644 index 000000000000..94c777042aa7 --- /dev/null +++ b/browser/extensions/formautofill/test/mochitest/mochitest.toml @@ -0,0 +1,34 @@ +[DEFAULT] +prefs = [ + "extensions.formautofill.creditCards.supported=on", + "extensions.formautofill.creditCards.enabled=true", + "extensions.formautofill.addresses.supported=on", + "extensions.formautofill.addresses.enabled=true", +] +skip-if = ["os == 'android'"] # bug 1730213 +support-files = [ + "../../../../../toolkit/components/satchel/test/satchel_common.js", + "../../../../../toolkit/components/satchel/test/parent_utils.js", + "formautofill_parent_utils.js", + "formautofill_common.js", +] + +["test_address_level_1_submission.html"] + +["test_autofill_and_ordinal_forms.html"] + +["test_autofocus_form.html"] + +["test_basic_autocomplete_form.html"] +skip-if = ["os == 'mac' && !debug"] # bug 1789194 + +["test_form_changes.html"] + +["test_formautofill_preview_highlight.html"] +skip-if = ["verify"] + +["test_multi_locale_CA_address_form.html"] + +["test_multiple_forms.html"] + +["test_on_address_submission.html"] diff --git a/caps/moz.build b/caps/moz.build index 461cb1e5e54a..b0f02c182748 100644 --- a/caps/moz.build +++ b/caps/moz.build @@ -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 += ["tests/mochitest/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.toml"] MOCHITEST_CHROME_MANIFESTS += ["tests/mochitest/chrome.toml"] BROWSER_CHROME_MANIFESTS += ["tests/mochitest/browser.toml"] XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"] diff --git a/caps/tests/mochitest/mochitest.ini b/caps/tests/mochitest/mochitest.ini deleted file mode 100644 index 9cbdd41b2ed9..000000000000 --- a/caps/tests/mochitest/mochitest.ini +++ /dev/null @@ -1,19 +0,0 @@ -[DEFAULT] -support-files = - file_bug1367586-followon.html - file_bug1367586-redirect.sjs - file_bug1367586-target.html - file_data.txt - file_disableScript.html - !/js/xpconnect/tests/mochitest/file_empty.html - -[test_bug246699.html] -[test_bug292789.html] -skip-if = os == 'android' -[test_bug423375.html] -[test_bug470804.html] -[test_bug1367586.html] -skip-if = - http3 - http2 -[test_disallowInheritPrincipal.html] diff --git a/caps/tests/mochitest/mochitest.toml b/caps/tests/mochitest/mochitest.toml new file mode 100644 index 000000000000..a545dc9620f2 --- /dev/null +++ b/caps/tests/mochitest/mochitest.toml @@ -0,0 +1,27 @@ +[DEFAULT] +support-files = [ + "file_bug1367586-followon.html", + "file_bug1367586-redirect.sjs", + "file_bug1367586-target.html", + "file_data.txt", + "file_disableScript.html", + "!/js/xpconnect/tests/mochitest/file_empty.html", +] + +["test_bug246699.html"] + +["test_bug292789.html"] +skip-if = ["os == 'android'"] + +["test_bug423375.html"] + +["test_bug470804.html"] + +["test_bug1367586.html"] +skip-if = [ + "http3", + "http2", +] + +["test_disallowInheritPrincipal.html"] + diff --git a/docshell/moz.build b/docshell/moz.build index 28b299f58b42..7fb2ece80e1e 100644 --- a/docshell/moz.build +++ b/docshell/moz.build @@ -22,9 +22,9 @@ XPCSHELL_TESTS_MANIFESTS += [ ] MOCHITEST_MANIFESTS += [ - "test/iframesandbox/mochitest.ini", - "test/mochitest/mochitest.ini", - "test/navigation/mochitest.ini", + "test/iframesandbox/mochitest.toml", + "test/mochitest/mochitest.toml", + "test/navigation/mochitest.toml", ] MOCHITEST_CHROME_MANIFESTS += [ diff --git a/docshell/test/iframesandbox/mochitest.ini b/docshell/test/iframesandbox/mochitest.ini deleted file mode 100644 index a45355fb2d12..000000000000 --- a/docshell/test/iframesandbox/mochitest.ini +++ /dev/null @@ -1,31 +0,0 @@ -[DEFAULT] -support-files = - file_child_navigation_by_location.html - file_marquee_event_handlers.html - file_other_auxiliary_navigation_by_location.html - file_our_auxiliary_navigation_by_location.html - file_parent_navigation_by_location.html - file_sibling_navigation_by_location.html - file_top_navigation_by_location.html - file_top_navigation_by_location_exotic.html - -[test_child_navigation_by_location.html] -[test_marquee_event_handlers.html] -skip-if = true # Bug 1455996 -[test_other_auxiliary_navigation_by_location.html] -tags = openwindow -[test_our_auxiliary_navigation_by_location.html] -tags = openwindow -[test_parent_navigation_by_location.html] -tags = openwindow -[test_sibling_navigation_by_location.html] -tags = openwindow -[test_top_navigation_by_location_exotic.html] -[test_top_navigation_by_location.html] -[test_top_navigation_by_user_activation.html] -support-files = - file_top_navigation_by_user_activation.html - file_top_navigation_by_user_activation_iframe.html -skip-if = - http3 - http2 diff --git a/docshell/test/iframesandbox/mochitest.toml b/docshell/test/iframesandbox/mochitest.toml new file mode 100644 index 000000000000..a8bf4b1d7206 --- /dev/null +++ b/docshell/test/iframesandbox/mochitest.toml @@ -0,0 +1,43 @@ +[DEFAULT] +support-files = [ + "file_child_navigation_by_location.html", + "file_marquee_event_handlers.html", + "file_other_auxiliary_navigation_by_location.html", + "file_our_auxiliary_navigation_by_location.html", + "file_parent_navigation_by_location.html", + "file_sibling_navigation_by_location.html", + "file_top_navigation_by_location.html", + "file_top_navigation_by_location_exotic.html", +] + +["test_child_navigation_by_location.html"] + +["test_marquee_event_handlers.html"] +skip-if = ["true"] # Bug 1455996 + +["test_other_auxiliary_navigation_by_location.html"] +tags = "openwindow" + +["test_our_auxiliary_navigation_by_location.html"] +tags = "openwindow" + +["test_parent_navigation_by_location.html"] +tags = "openwindow" + +["test_sibling_navigation_by_location.html"] +tags = "openwindow" + +["test_top_navigation_by_location.html"] + +["test_top_navigation_by_location_exotic.html"] + +["test_top_navigation_by_user_activation.html"] +support-files = [ + "file_top_navigation_by_user_activation.html", + "file_top_navigation_by_user_activation_iframe.html", +] +skip-if = [ + "http3", + "http2", +] + diff --git a/docshell/test/mochitest/mochitest.ini b/docshell/test/mochitest/mochitest.ini deleted file mode 100644 index 784c00b7c0a2..000000000000 --- a/docshell/test/mochitest/mochitest.ini +++ /dev/null @@ -1,222 +0,0 @@ -[DEFAULT] -support-files = - bug404548-subframe.html - bug404548-subframe_window.html - bug413310-post.sjs - bug413310-subframe.html - bug529119-window.html - bug570341_recordevents.html - bug668513_redirect.html - bug668513_redirect.html^headers^ - bug691547_frame.html - dummy_page.html - file_anchor_scroll_after_document_open.html - file_bfcache_plus_hash_1.html - file_bfcache_plus_hash_2.html - file_bug385434_1.html - file_bug385434_2.html - file_bug385434_3.html - file_bug475636.sjs - file_bug509055.html - file_bug540462.html - file_bug580069_1.html - file_bug580069_2.sjs - file_bug598895_1.html - file_bug598895_2.html - file_bug590573_1.html - file_bug590573_2.html - file_bug634834.html - file_bug637644_1.html - file_bug637644_2.html - file_bug640387.html - file_bug653741.html - file_bug660404 - file_bug660404^headers^ - file_bug660404-1.html - file_bug662170.html - file_bug669671.sjs - file_bug680257.html - file_bug703855.html - file_bug728939.html - file_bug1121701_1.html - file_bug1121701_2.html - file_bug1186774.html - file_bug1151421.html - file_bug1450164.html - file_close_onpagehide1.html - file_close_onpagehide2.html - file_compressed_multipart - file_compressed_multipart^headers^ - file_pushState_after_document_open.html - historyframes.html - ping.html - start_historyframe.html - url1_historyframe.html - url2_historyframe.html - -[test_anchor_scroll_after_document_open.html] -[test_bfcache_plus_hash.html] -[test_bug1422334.html] -support-files = - bug1422334_redirect.html - bug1422334_redirect.html^headers^ - !/docshell/test/navigation/blank.html -[test_bug385434.html] -[test_bug387979.html] -[test_bug402210.html] -skip-if = - http3 - http2 -[test_bug404548.html] -[test_bug413310.html] -skip-if = true -# Disabled for too many intermittent failures (bug 719186) -[test_bug475636.html] -[test_bug509055.html] -[test_bug511449.html] -skip-if = toolkit != "cocoa" || headless # Headless: bug 1410525 -support-files = file_bug511449.html -[test_bug529119-1.html] -[test_bug529119-2.html] -skip-if = - http3 - http2 -[test_bug530396.html] -support-files = bug530396-noref.sjs bug530396-subframe.html -skip-if = - http3 - http2 -[test_bug540462.html] -skip-if = toolkit == 'android' && debug -[test_bug551225.html] -[test_bug570341.html] -skip-if = (verify && !debug && (os == 'win')) -[test_bug580069.html] -skip-if = (verify && !debug && (os == 'win')) -[test_bug590573.html] -[test_bug598895.html] -[test_bug634834.html] -skip-if = - http3 - http2 -[test_bug637644.html] -[test_bug640387_1.html] -[test_bug640387_2.html] -[test_bug653741.html] -[test_bug660404.html] -[test_bug662170.html] -[test_bug668513.html] -support-files = file_bug668513.html -[test_bug669671.html] -[test_bug675587.html] -support-files = file_bug675587.html -[test_bug680257.html] -[test_bug691547.html] -[test_bug694612.html] -[test_bug703855.html] -[test_bug728939.html] -[test_bug797909.html] -[test_bug1045096.html] -[test_bug1121701.html] -[test_bug1151421.html] -[test_bug1186774.html] -[test_bug1450164.html] -[test_bug1507702.html] -[test_bug1645781.html] -support-files = - form_submit.sjs -skip-if = - http3 - http2 -[test_bug1729662.html] -support-files = - file_bug1729662.html -[test_bug1740516.html] -support-files = - file_bug1740516_1.html - file_bug1740516_1_inner.html - file_bug1740516_2.html -[test_form_restoration.html] -support-files = - file_form_restoration_no_store.html - file_form_restoration_no_store.html^headers^ -[test_bug1741132.html] -support-files = - file_bug1741132.html -skip-if = toolkit == "android" && !sessionHistoryInParent -[test_bug1742865.html] -support-files = - file_bug1742865.sjs - file_bug1742865_outer.sjs -skip-if = - toolkit == "android" && debug && fission && verify # Bug 1745937 - http3 - http2 -[test_bug1743353.html] -support-files = - file_bug1743353.html -[test_bug1747033.html] -support-files = - file_bug1747033.sjs -skip-if = - http3 - http2 -[test_bug1773192.html] -support-files = - file_bug1773192_1.html - file_bug1773192_2.html - file_bug1773192_3.sjs -[test_close_onpagehide_by_history_back.html] -[test_close_onpagehide_by_window_close.html] -[test_compressed_multipart.html] -[test_content_javascript_loads.html] -support-files = - file_content_javascript_loads_root.html - file_content_javascript_loads_frame.html -skip-if = - http3 - http2 -[test_forceinheritprincipal_overrule_owner.html] -skip-if = - http3 - http2 -[test_framedhistoryframes.html] -support-files = file_framedhistoryframes.html -skip-if = - http3 - http2 -[test_load_during_reload.html] -support-files = file_load_during_reload.html -[test_pushState_after_document_open.html] -[test_navigate_after_pagehide.html] -skip-if = - http3 - http2 -[test_redirect_history.html] -support-files = - file_redirect_history.html - form_submit_redirect.sjs -skip-if = - http3 - http2 -[test_windowedhistoryframes.html] -skip-if = - (!debug && os == 'android') # Bug 1573892 - http3 - http2 -[test_triggeringprincipal_location_seturi.html] -skip-if = - http3 - http2 -[test_double_submit.html] -support-files = - clicker.html - double_submit.sjs -skip-if = - http3 - http2 -[test_iframe_srcdoc_to_remote.html] -skip-if = - http3 - http2 -[test_javascript_sandboxed_popup.html] diff --git a/docshell/test/mochitest/mochitest.toml b/docshell/test/mochitest/mochitest.toml new file mode 100644 index 000000000000..25feaf051283 --- /dev/null +++ b/docshell/test/mochitest/mochitest.toml @@ -0,0 +1,314 @@ +[DEFAULT] +support-files = [ + "bug404548-subframe.html", + "bug404548-subframe_window.html", + "bug413310-post.sjs", + "bug413310-subframe.html", + "bug529119-window.html", + "bug570341_recordevents.html", + "bug668513_redirect.html", + "bug668513_redirect.html^headers^", + "bug691547_frame.html", + "dummy_page.html", + "file_anchor_scroll_after_document_open.html", + "file_bfcache_plus_hash_1.html", + "file_bfcache_plus_hash_2.html", + "file_bug385434_1.html", + "file_bug385434_2.html", + "file_bug385434_3.html", + "file_bug475636.sjs", + "file_bug509055.html", + "file_bug540462.html", + "file_bug580069_1.html", + "file_bug580069_2.sjs", + "file_bug598895_1.html", + "file_bug598895_2.html", + "file_bug590573_1.html", + "file_bug590573_2.html", + "file_bug634834.html", + "file_bug637644_1.html", + "file_bug637644_2.html", + "file_bug640387.html", + "file_bug653741.html", + "file_bug660404", + "file_bug660404^headers^", + "file_bug660404-1.html", + "file_bug662170.html", + "file_bug669671.sjs", + "file_bug680257.html", + "file_bug703855.html", + "file_bug728939.html", + "file_bug1121701_1.html", + "file_bug1121701_2.html", + "file_bug1186774.html", + "file_bug1151421.html", + "file_bug1450164.html", + "file_close_onpagehide1.html", + "file_close_onpagehide2.html", + "file_compressed_multipart", + "file_compressed_multipart^headers^", + "file_pushState_after_document_open.html", + "historyframes.html", + "ping.html ", + "start_historyframe.html", + "url1_historyframe.html", + "url2_historyframe.html", +] + +["test_anchor_scroll_after_document_open.html"] + +["test_bfcache_plus_hash.html"] + +["test_bug385434.html"] + +["test_bug387979.html"] + +["test_bug402210.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug404548.html"] + +["test_bug413310.html"] +skip-if = ["true"] # Disabled for too many intermittent failures (bug 719186) + +["test_bug475636.html"] + +["test_bug509055.html"] + +["test_bug511449.html"] +skip-if = [ + "os == 'win'", + "os == 'linux'", + "os == 'android'", + "headless", # Headless: bug 1410525 +] +support-files = ["file_bug511449.html"] + +["test_bug529119-1.html"] + +["test_bug529119-2.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug530396.html"] +support-files = [ + "bug530396-noref.sjs", + "bug530396-subframe.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_bug540462.html"] +skip-if = ["os == 'android' && debug"] + +["test_bug551225.html"] + +["test_bug570341.html"] +skip-if = ["(verify && !debug && (os == 'win'))"] + +["test_bug580069.html"] +skip-if = ["(verify && !debug && (os == 'win'))"] + +["test_bug590573.html"] + +["test_bug598895.html"] + +["test_bug634834.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug637644.html"] + +["test_bug640387_1.html"] + +["test_bug640387_2.html"] + +["test_bug653741.html"] + +["test_bug660404.html"] + +["test_bug662170.html"] + +["test_bug668513.html"] +support-files = ["file_bug668513.html"] + +["test_bug669671.html"] + +["test_bug675587.html"] +support-files = ["file_bug675587.html"] + +["test_bug680257.html"] + +["test_bug691547.html"] + +["test_bug694612.html"] + +["test_bug703855.html"] + +["test_bug728939.html"] + +["test_bug797909.html"] + +["test_bug1045096.html"] + +["test_bug1121701.html"] + +["test_bug1151421.html"] + +["test_bug1186774.html"] + +["test_bug1422334.html"] +support-files = [ + "bug1422334_redirect.html", + "bug1422334_redirect.html^headers^", + "!/docshell/test/navigation/blank.html", +] + +["test_bug1450164.html"] + +["test_bug1507702.html"] + +["test_bug1645781.html"] +support-files = ["form_submit.sjs"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1729662.html"] +support-files = ["file_bug1729662.html"] + +["test_bug1740516.html"] +support-files = [ + "file_bug1740516_1.html", + "file_bug1740516_1_inner.html", + "file_bug1740516_2.html", +] + +["test_bug1741132.html"] +support-files = ["file_bug1741132.html"] +skip-if = ["os == 'android' && !sessionHistoryInParent"] + +["test_bug1742865.html"] +support-files = [ + "file_bug1742865.sjs", + "file_bug1742865_outer.sjs", +] +skip-if = [ + "os == 'android' && debug && fission && verify", # Bug 1745937 + "http3", + "http2", +] + +["test_bug1743353.html"] +support-files = ["file_bug1743353.html"] + +["test_bug1747033.html"] +support-files = ["file_bug1747033.sjs"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1773192.html"] +support-files = [ + "file_bug1773192_1.html", + "file_bug1773192_2.html", + "file_bug1773192_3.sjs", +] + +["test_close_onpagehide_by_history_back.html"] + +["test_close_onpagehide_by_window_close.html"] + +["test_compressed_multipart.html"] + +["test_content_javascript_loads.html"] +support-files = [ + "file_content_javascript_loads_root.html", + "file_content_javascript_loads_frame.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_double_submit.html"] +support-files = [ + "clicker.html", + "double_submit.sjs", +] +skip-if = [ + "http3", + "http2", +] + +["test_forceinheritprincipal_overrule_owner.html"] +skip-if = [ + "http3", + "http2", +] + +["test_form_restoration.html"] +support-files = [ + "file_form_restoration_no_store.html", + "file_form_restoration_no_store.html^headers^", +] + +["test_framedhistoryframes.html"] +support-files = ["file_framedhistoryframes.html"] +skip-if = [ + "http3", + "http2", +] + +["test_iframe_srcdoc_to_remote.html"] +skip-if = [ + "http3", + "http2", +] + +["test_javascript_sandboxed_popup.html"] + +["test_load_during_reload.html"] +support-files = ["file_load_during_reload.html"] + +["test_navigate_after_pagehide.html"] +skip-if = [ + "http3", + "http2", +] + +["test_pushState_after_document_open.html"] + +["test_redirect_history.html"] +support-files = [ + "file_redirect_history.html", + "form_submit_redirect.sjs", +] +skip-if = [ + "http3", + "http2", +] + +["test_triggeringprincipal_location_seturi.html"] +skip-if = [ + "http3", + "http2", +] + +["test_windowedhistoryframes.html"] +skip-if = [ + "!debug && os == 'android'", # Bug 1573892 + "http3", + "http2", +] diff --git a/docshell/test/navigation/mochitest.ini b/docshell/test/navigation/mochitest.ini deleted file mode 100644 index 8902aef337a9..000000000000 --- a/docshell/test/navigation/mochitest.ini +++ /dev/null @@ -1,270 +0,0 @@ -[DEFAULT] -support-files = - NavigationUtils.js - navigation_target_url.html - navigation_target_popup_url.html - blank.html - file_bug386782_contenteditable.html - file_bug386782_designmode.html - redbox_bug430723.html - bluebox_bug430723.html - file_bug462076_1.html - file_bug462076_2.html - file_bug462076_3.html - file_bug508537_1.html - file_bug534178.html - file_document_write_1.html - file_fragment_handling_during_load.html - file_fragment_handling_during_load_frame1.html - file_fragment_handling_during_load_frame2.sjs - file_nested_frames.html - file_nested_frames_innerframe.html - file_shiftReload_and_pushState.html - file_static_and_dynamic_1.html - frame0.html - frame1.html - frame2.html - frame3.html - goback.html - iframe.html - iframe_static.html - navigate.html - open.html - parent.html - file_tell_opener.html - file_triggeringprincipal_frame_1.html - file_triggeringprincipal_frame_2.html - file_triggeringprincipal_subframe.html - file_triggeringprincipal_subframe_nav.html - file_triggeringprincipal_subframe_same_origin_nav.html - file_triggeringprincipal_window_open.html - file_triggeringprincipal_parent_iframe_window_open_base.html - file_triggeringprincipal_parent_iframe_window_open_nav.html - file_triggeringprincipal_iframe_iframe_window_open_frame_a.html - file_triggeringprincipal_iframe_iframe_window_open_frame_b.html - file_triggeringprincipal_iframe_iframe_window_open_frame_a_nav.html - file_load_history_entry_page_with_one_link.html - file_load_history_entry_page_with_two_links.html - file_bug1300461.html - file_bug1300461_redirect.html - file_bug1300461_redirect.html^headers^ - file_bug1300461_back.html - file_contentpolicy_block_window.html - file_bug1326251.html - file_bug1326251_evict_cache.html - file_bug1364364-1.html - file_bug1364364-2.html - file_bug1375833.html - file_bug1375833-frame1.html - file_bug1375833-frame2.html - test_bug145971.html - file_bug1609475.html - file_bug1379762-1.html - file_scrollRestoration_bfcache_and_nobfcache.html - file_scrollRestoration_bfcache_and_nobfcache_part2.html - file_scrollRestoration_bfcache_and_nobfcache_part2.html^headers^ - file_scrollRestoration_navigate.html - file_scrollRestoration_part1_nobfcache.html - file_scrollRestoration_part1_nobfcache.html^headers^ - file_scrollRestoration_part2_bfcache.html - file_scrollRestoration_part3_nobfcache.html - file_scrollRestoration_part3_nobfcache.html^headers^ - file_session_history_on_redirect.html - file_session_history_on_redirect.html^headers^ - file_session_history_on_redirect_2.html - file_session_history_on_redirect_2.html^headers^ - redirect_handlers.sjs - frame_load_as_example_com.html - frame_load_as_example_org.html - frame_load_as_host1.html - frame_load_as_host2.html - frame_load_as_host3.html - frame_1_out_of_6.html - frame_2_out_of_6.html - frame_3_out_of_6.html - frame_4_out_of_6.html - frame_5_out_of_6.html - frame_6_out_of_6.html - frame_recursive.html - object_recursive_load.html - file_nested_srcdoc.html - -[test_aboutblank_change_process.html] -[test_beforeunload_and_bfcache.html] -support-files = file_beforeunload_and_bfcache.html -[test_bug13871.html] -skip-if = - http3 - http2 -[test_bug1583110.html] -support-files = file_bug1583110.html -[test_bug1706090.html] -support-files = file_bug1706090.html -skip-if = sessionHistoryInParent # The test is currently for the old bfcache implementation -[test_bug1745638.html] -support-files = file_bug1745638.html -[test_bug1747019.html] -support-files = - goback.html - cache_control_max_age_3600.sjs -[test_bug1750973.html] -support-files = file_bug1750973.html -[test_bug1758664.html] -support-files = file_bug1758664.html -skip-if = !sessionHistoryInParent # the old implementation behaves inconsistently -[test_bug270414.html] -skip-if = - http3 - http2 -[test_bug278916.html] -[test_bug279495.html] -[test_bug344861.html] -skip-if = toolkit == "android" -[test_bug386782.html] -[test_bug430624.html] -[test_bug430723.html] -skip-if = - (!debug && (os == 'mac' || os == 'win')) # Bug 874423 - http3 - http2 -[test_bug1364364.html] -skip-if = (os == "android") # Bug 1560378 -[test_bug1375833.html] -[test_bug1536471.html] -support-files = file_bug1536471.html -[test_blockBFCache.html] -support-files = - file_blockBFCache.html - slow.sjs - iframe_slow_onload.html - iframe_slow_onload_inner.html -skip-if = - http3 - http2 -[test_child.html] -[test_docshell_gotoindex.html] -support-files = file_docshell_gotoindex.html -[test_evict_from_bfcache.html] -support-files = file_evict_from_bfcache.html -[test_grandchild.html] -skip-if = - http3 - http2 -[test_load_history_entry.html] -[test_meta_refresh.html] -support-files = file_meta_refresh.html -[test_navigation_type.html] -support-files = file_navigation_type.html -[test_new_shentry_during_history_navigation.html] -support-files = - file_new_shentry_during_history_navigation_1.html - file_new_shentry_during_history_navigation_1.html^headers^ - file_new_shentry_during_history_navigation_2.html - file_new_shentry_during_history_navigation_2.html^headers^ - file_new_shentry_during_history_navigation_3.html - file_new_shentry_during_history_navigation_3.html^headers^ - file_new_shentry_during_history_navigation_4.html -[test_not-opener.html] -skip-if = - http3 - http2 -[test_online_offline_bfcache.html] -support-files = file_online_offline_bfcache.html -[test_opener.html] -skip-if = true # Bug 1572299, Bug 1716402, Bug 1797751, Bug 1781601 -[test_popup-navigates-children.html] -skip-if = - http3 - http2 -[test_reload.html] -support-files = file_reload.html -[test_reload_nonbfcached_srcdoc.html] -support-files = file_reload_nonbfcached_srcdoc.sjs -skip-if = - http3 - http2 -[test_reserved.html] -skip-if = - debug # bug 1263213 -[test_performance_navigation.html] -[test_same_url.html] -support-files = file_same_url.html -[test_session_history_on_redirect.html] -[test_sessionhistory.html] -skip-if = verify && (os == 'mac') && debug # Hit MOZ_CRASH(Shutdown too long, probably frozen, causing a crash.) bug 1677545 -[test_dynamic_frame_forward_back.html] -[test_sessionhistory_document_write.html] -[test_sessionhistory_iframe_removal.html] -support-files = file_sessionhistory_iframe_removal.html -[test_session_history_entry_cleanup.html] -[test_fragment_handling_during_load.html] -[test_nested_frames.html] -skip-if = - http3 - http2 -[test_shiftReload_and_pushState.html] -[test_scrollRestoration.html] -[test_bug1609475.html] -[test_bug1300461.html] -[test_bug1326251.html] -skip-if = toolkit == 'android' || sessionHistoryInParent # It relies on the bfcache -[test_bug1379762.html] -[test_state_size.html] -[test_static_and_dynamic.html] -skip-if = true # This was disabled for a few years now anyway, bug 1677544 -[test_sibling-matching-parent.html] -[test_sibling-off-domain.html] -skip-if = - http3 - http2 -[test_triggeringprincipal_frame_nav.html] -skip-if = - http3 - http2 -[test_triggeringprincipal_frame_same_origin_nav.html] -skip-if = - http3 - http2 -[test_triggeringprincipal_window_open.html] -skip-if = - http3 - http2 -[test_triggeringprincipal_parent_iframe_window_open.html] -skip-if = - http3 - http2 -[test_triggeringprincipal_iframe_iframe_window_open.html] -skip-if = - http3 - http2 -[test_contentpolicy_block_window.html] -[test_rate_limit_location_change.html] -[test_reload_large_postdata.html] -support-files = - file_reload_large_postdata.sjs -[test_recursive_frames.html] -skip-if = - http3 - http2 -[test_bug1699721.html] -skip-if = !fission # tests fission-only process switching behaviour -[test_ship_beforeunload_fired.html] -support-files = - file_ship_beforeunload_fired.html -skip-if = - !sessionHistoryInParent - http3 - http2 -[test_ship_beforeunload_fired_2.html] -support-files = - file_ship_beforeunload_fired.html -skip-if = !sessionHistoryInParent -[test_ship_beforeunload_fired_3.html] -support-files = - file_ship_beforeunload_fired.html -skip-if = !sessionHistoryInParent -[test_open_javascript_noopener.html] -[test_sessionstorage_across_coop.html] -support-files = - file_sessionstorage_across_coop.html - file_sessionstorage_across_coop.html^headers^ diff --git a/docshell/test/navigation/mochitest.toml b/docshell/test/navigation/mochitest.toml new file mode 100644 index 000000000000..ce0fa0d18f87 --- /dev/null +++ b/docshell/test/navigation/mochitest.toml @@ -0,0 +1,359 @@ +[DEFAULT] +support-files = [ + "NavigationUtils.js", + "navigation_target_url.html", + "navigation_target_popup_url.html", + "blank.html", + "file_bug386782_contenteditable.html", + "file_bug386782_designmode.html", + "redbox_bug430723.html", + "bluebox_bug430723.html", + "file_bug462076_1.html", + "file_bug462076_2.html", + "file_bug462076_3.html", + "file_bug508537_1.html", + "file_bug534178.html", + "file_document_write_1.html", + "file_fragment_handling_during_load.html", + "file_fragment_handling_during_load_frame1.html", + "file_fragment_handling_during_load_frame2.sjs", + "file_nested_frames.html", + "file_nested_frames_innerframe.html", + "file_shiftReload_and_pushState.html", + "file_static_and_dynamic_1.html", + "frame0.html", + "frame1.html", + "frame2.html", + "frame3.html", + "goback.html", + "iframe.html", + "iframe_static.html", + "navigate.html", + "open.html", + "parent.html", + "file_tell_opener.html", + "file_triggeringprincipal_frame_1.html", + "file_triggeringprincipal_frame_2.html", + "file_triggeringprincipal_subframe.html", + "file_triggeringprincipal_subframe_nav.html", + "file_triggeringprincipal_subframe_same_origin_nav.html", + "file_triggeringprincipal_window_open.html", + "file_triggeringprincipal_parent_iframe_window_open_base.html", + "file_triggeringprincipal_parent_iframe_window_open_nav.html", + "file_triggeringprincipal_iframe_iframe_window_open_frame_a.html", + "file_triggeringprincipal_iframe_iframe_window_open_frame_b.html", + "file_triggeringprincipal_iframe_iframe_window_open_frame_a_nav.html", + "file_load_history_entry_page_with_one_link.html", + "file_load_history_entry_page_with_two_links.html", + "file_bug1300461.html", + "file_bug1300461_redirect.html", + "file_bug1300461_redirect.html^headers^", + "file_bug1300461_back.html", + "file_contentpolicy_block_window.html", + "file_bug1326251.html", + "file_bug1326251_evict_cache.html", + "file_bug1364364-1.html", + "file_bug1364364-2.html", + "file_bug1375833.html", + "file_bug1375833-frame1.html", + "file_bug1375833-frame2.html", + "test_bug145971.html", + "file_bug1609475.html", + "file_bug1379762-1.html", + "file_scrollRestoration_bfcache_and_nobfcache.html", + "file_scrollRestoration_bfcache_and_nobfcache_part2.html", + "file_scrollRestoration_bfcache_and_nobfcache_part2.html^headers^", + "file_scrollRestoration_navigate.html", + "file_scrollRestoration_part1_nobfcache.html", + "file_scrollRestoration_part1_nobfcache.html^headers^", + "file_scrollRestoration_part2_bfcache.html", + "file_scrollRestoration_part3_nobfcache.html", + "file_scrollRestoration_part3_nobfcache.html^headers^", + "file_session_history_on_redirect.html", + "file_session_history_on_redirect.html^headers^", + "file_session_history_on_redirect_2.html", + "file_session_history_on_redirect_2.html^headers^", + "redirect_handlers.sjs", + "frame_load_as_example_com.html", + "frame_load_as_example_org.html", + "frame_load_as_host1.html", + "frame_load_as_host2.html", + "frame_load_as_host3.html", + "frame_1_out_of_6.html", + "frame_2_out_of_6.html", + "frame_3_out_of_6.html", + "frame_4_out_of_6.html", + "frame_5_out_of_6.html", + "frame_6_out_of_6.html", + "frame_recursive.html", + "object_recursive_load.html", + "file_nested_srcdoc.html", +] + +["test_aboutblank_change_process.html"] + +["test_beforeunload_and_bfcache.html"] +support-files = ["file_beforeunload_and_bfcache.html"] + +["test_blockBFCache.html"] +support-files = [ + "file_blockBFCache.html", + "slow.sjs", + "iframe_slow_onload.html", + "iframe_slow_onload_inner.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_bug13871.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug270414.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug278916.html"] + +["test_bug279495.html"] + +["test_bug344861.html"] +skip-if = ["os == 'android'"] + +["test_bug386782.html"] + +["test_bug430624.html"] + +["test_bug430723.html"] +skip-if = [ + "!debug && (os == 'mac' || os == 'win')", # Bug 874423 + "http3", + "http2", +] + +["test_bug1300461.html"] + +["test_bug1326251.html"] +skip-if = [ + "os == 'android'", + "sessionHistoryInParent", # It relies on the bfcache +] + +["test_bug1364364.html"] +skip-if = ["os == 'android'"] # Bug 1560378 + +["test_bug1375833.html"] + +["test_bug1379762.html"] + +["test_bug1536471.html"] +support-files = ["file_bug1536471.html"] + +["test_bug1583110.html"] +support-files = ["file_bug1583110.html"] + +["test_bug1609475.html"] + +["test_bug1699721.html"] +skip-if = ["!fission"] # tests fission-only process switching behaviour + +["test_bug1706090.html"] +support-files = ["file_bug1706090.html"] +skip-if = ["sessionHistoryInParent"] # The test is currently for the old bfcache implementation + +["test_bug1745638.html"] +support-files = ["file_bug1745638.html"] + +["test_bug1747019.html"] +support-files = [ + "goback.html", + "cache_control_max_age_3600.sjs", +] + +["test_bug1750973.html"] +support-files = ["file_bug1750973.html"] + +["test_bug1758664.html"] +support-files = ["file_bug1758664.html"] +skip-if = ["!sessionHistoryInParent"] # the old implementation behaves inconsistently + +["test_child.html"] + +["test_contentpolicy_block_window.html"] + +["test_docshell_gotoindex.html"] +support-files = ["file_docshell_gotoindex.html"] + +["test_dynamic_frame_forward_back.html"] + +["test_evict_from_bfcache.html"] +support-files = ["file_evict_from_bfcache.html"] + +["test_fragment_handling_during_load.html"] + +["test_grandchild.html"] +skip-if = [ + "http3", + "http2", +] + +["test_load_history_entry.html"] + +["test_meta_refresh.html"] +support-files = ["file_meta_refresh.html"] + +["test_navigation_type.html"] +support-files = ["file_navigation_type.html"] + +["test_nested_frames.html"] +skip-if = [ + "http3", + "http2", +] + +["test_new_shentry_during_history_navigation.html"] +support-files = [ + "file_new_shentry_during_history_navigation_1.html", + "file_new_shentry_during_history_navigation_1.html^headers^", + "file_new_shentry_during_history_navigation_2.html", + "file_new_shentry_during_history_navigation_2.html^headers^", + "file_new_shentry_during_history_navigation_3.html", + "file_new_shentry_during_history_navigation_3.html^headers^", + "file_new_shentry_during_history_navigation_4.html", +] + +["test_not-opener.html"] +skip-if = [ + "http3", + "http2", +] + +["test_online_offline_bfcache.html"] +support-files = ["file_online_offline_bfcache.html"] + +["test_open_javascript_noopener.html"] + +["test_opener.html"] +skip-if = ["true"] # Bug 1572299, Bug 1716402, Bug 1797751, Bug 1781601 + +["test_performance_navigation.html"] + +["test_popup-navigates-children.html"] +skip-if = [ + "http3", + "http2", +] + +["test_rate_limit_location_change.html"] + +["test_recursive_frames.html"] +skip-if = [ + "http3", + "http2", +] + +["test_reload.html"] +support-files = ["file_reload.html"] + +["test_reload_large_postdata.html"] +support-files = ["file_reload_large_postdata.sjs"] + +["test_reload_nonbfcached_srcdoc.html"] +support-files = ["file_reload_nonbfcached_srcdoc.sjs"] +skip-if = [ + "http3", + "http2", +] + +["test_reserved.html"] +skip-if = ["debug"] # bug 1263213 + +["test_same_url.html"] +support-files = ["file_same_url.html"] + +["test_scrollRestoration.html"] + +["test_session_history_entry_cleanup.html"] + +["test_session_history_on_redirect.html"] + +["test_sessionhistory.html"] +skip-if = ["verify && os == 'mac' && debug"] # Hit MOZ_CRASH(Shutdown too long, probably frozen, causing a crash.) bug 1677545 + +["test_sessionhistory_document_write.html"] + +["test_sessionhistory_iframe_removal.html"] +support-files = ["file_sessionhistory_iframe_removal.html"] + +["test_sessionstorage_across_coop.html"] +support-files = [ + "file_sessionstorage_across_coop.html", + "file_sessionstorage_across_coop.html^headers^", +] + +["test_shiftReload_and_pushState.html"] + +["test_ship_beforeunload_fired.html"] +support-files = ["file_ship_beforeunload_fired.html"] +skip-if = [ + "!sessionHistoryInParent", + "http3", + "http2", +] + +["test_ship_beforeunload_fired_2.html"] +support-files = ["file_ship_beforeunload_fired.html"] +skip-if = ["!sessionHistoryInParent"] + +["test_ship_beforeunload_fired_3.html"] +support-files = ["file_ship_beforeunload_fired.html"] +skip-if = ["!sessionHistoryInParent"] + +["test_sibling-matching-parent.html"] + +["test_sibling-off-domain.html"] +skip-if = [ + "http3", + "http2", +] + +["test_state_size.html"] + +["test_static_and_dynamic.html"] +skip-if = ["true"] # This was disabled for a few years now anyway, bug 1677544 + +["test_triggeringprincipal_frame_nav.html"] +skip-if = [ + "http3", + "http2", +] + +["test_triggeringprincipal_frame_same_origin_nav.html"] +skip-if = [ + "http3", + "http2", +] + +["test_triggeringprincipal_iframe_iframe_window_open.html"] +skip-if = [ + "http3", + "http2", +] + +["test_triggeringprincipal_parent_iframe_window_open.html"] +skip-if = [ + "http3", + "http2", +] + +["test_triggeringprincipal_window_open.html"] +skip-if = [ + "http3", + "http2", +] diff --git a/dom/abort/tests/mochitest.ini b/dom/abort/tests/mochitest.ini deleted file mode 100644 index 2d708e8aa24f..000000000000 --- a/dom/abort/tests/mochitest.ini +++ /dev/null @@ -1,10 +0,0 @@ -[DEFAULT] -support-files = - worker_abort_controller_fetch.js - slow.sjs - !/dom/events/test/event_leak_utils.js - -[test_abort_controller.html] -[test_abort_controller_fetch.html] -[test_event_listener_leaks.html] -skip-if = (os == "win" && processor == "aarch64") #bug 1535784 diff --git a/dom/abort/tests/mochitest.toml b/dom/abort/tests/mochitest.toml new file mode 100644 index 000000000000..9faf48e65587 --- /dev/null +++ b/dom/abort/tests/mochitest.toml @@ -0,0 +1,12 @@ +[DEFAULT] +support-files = [ + "worker_abort_controller_fetch.js", + "slow.sjs", + "!/dom/events/test/event_leak_utils.js", +] + +["test_abort_controller.html"] + +["test_abort_controller_fetch.html"] + +["test_event_listener_leaks.html"] diff --git a/dom/abort/tests/moz.build b/dom/abort/tests/moz.build index af8d7033c8e5..60ef3d042960 100644 --- a/dom/abort/tests/moz.build +++ b/dom/abort/tests/moz.build @@ -4,6 +4,6 @@ # 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 += ["mochitest.ini"] +MOCHITEST_MANIFESTS += ["mochitest.toml"] XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"] diff --git a/dom/animation/moz.build b/dom/animation/moz.build index 015da2e8a363..6546f4592b46 100644 --- a/dom/animation/moz.build +++ b/dom/animation/moz.build @@ -7,7 +7,7 @@ with Files("**"): BUG_COMPONENT = ("Core", "DOM: Animation") -MOCHITEST_MANIFESTS += ["test/mochitest.ini"] +MOCHITEST_MANIFESTS += ["test/mochitest.toml"] MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"] EXPORTS.mozilla.dom += [ diff --git a/dom/animation/test/mochitest.ini b/dom/animation/test/mochitest.ini deleted file mode 100644 index fa440b3c1560..000000000000 --- a/dom/animation/test/mochitest.ini +++ /dev/null @@ -1,75 +0,0 @@ -[DEFAULT] -prefs = - dom.animations-api.compositing.enabled=true - dom.animations-api.getAnimations.enabled=true - dom.animations-api.timelines.enabled=true - gfx.omta.background-color=true - layout.css.individual-transform.enabled=true - layout.css.scroll-driven-animations.enabled=true - gfx.font_loader.delay=0 -# Support files for chrome tests that we want to load over HTTP need -# to go in here, not chrome.ini. -support-files = - chrome/file_animate_xrays.html - mozilla/xhr_doc.html - mozilla/file_deferred_start.html - mozilla/file_disable_animations_api_compositing.html - mozilla/file_disable_animations_api_get_animations.html - mozilla/file_disable_animations_api_timelines.html - mozilla/file_discrete_animations.html - mozilla/file_transition_finish_on_compositor.html - ../../../layout/style/test/property_database.js - testcommon.js - !/dom/events/test/event_leak_utils.js - -[document-timeline/test_document-timeline.html] -[document-timeline/test_request_animation_frame.html] -[mozilla/test_cascade.html] -[mozilla/test_cubic_bezier_limits.html] -[mozilla/test_deferred_start.html] -skip-if = (os == 'win' && bits == 64) # Bug 1363957 -[mozilla/test_disable_animations_api_compositing.html] -[mozilla/test_disable_animations_api_get_animations.html] -[mozilla/test_disable_animations_api_timelines.html] -[mozilla/test_disabled_properties.html] -[mozilla/test_discrete_animations.html] -[mozilla/test_distance_of_basic_shape.html] -[mozilla/test_distance_of_filter.html] -[mozilla/test_distance_of_path_function.html] -[mozilla/test_distance_of_transform.html] -[mozilla/test_document_timeline_origin_time_range.html] -[mozilla/test_get_animations_on_scroll_animations.html] -[mozilla/test_hide_and_show.html] -[mozilla/test_mainthread_synchronization_pref.html] -[mozilla/test_moz_prefixed_properties.html] -[mozilla/test_pending_animation_tracker.html] -[mozilla/test_restyles.html] -support-files = - mozilla/file_restyles.html - mozilla/empty.html -skip-if = - (os == 'android' && debug) #Bug 1784931 - (os == 'linux' && tsan) #Bug 1784931 - http3 - http2 -[mozilla/test_restyling_xhr_doc.html] -[mozilla/test_set_easing.html] -[mozilla/test_style_after_finished_on_compositor.html] -[mozilla/test_transform_limits.html] -[mozilla/test_transition_finish_on_compositor.html] -skip-if = toolkit == 'android' -[mozilla/test_underlying_discrete_value.html] -[mozilla/test_unstyled.html] -[mozilla/test_event_listener_leaks.html] -skip-if = (os == "win" && processor == "aarch64") #bug 1535784 -[style/test_animation-seeking-with-current-time.html] -[style/test_animation-seeking-with-start-time.html] -[style/test_animation-setting-effect.html] -[style/test_composite.html] -skip-if = xorigin -[style/test_interpolation-from-interpolatematrix-to-none.html] -[style/test_missing-keyframe.html] -[style/test_missing-keyframe-on-compositor.html] -skip-if = - fission && xorigin # Bug 1716403 - New fission platform triage -[style/test_transform-non-normalizable-rotate3d.html] diff --git a/dom/animation/test/mochitest.toml b/dom/animation/test/mochitest.toml new file mode 100644 index 000000000000..997481a26f3d --- /dev/null +++ b/dom/animation/test/mochitest.toml @@ -0,0 +1,113 @@ +[DEFAULT] +prefs = [ + "dom.animations-api.compositing.enabled=true", + "dom.animations-api.getAnimations.enabled=true", + "dom.animations-api.timelines.enabled=true", + "gfx.omta.background-color=true", + "layout.css.individual-transform.enabled=true", + "layout.css.scroll-driven-animations.enabled=true", + "gfx.font_loader.delay=0", +] +# Support files for chrome tests that we want to load over HTTP need +# to go in here, not chrome.ini. +support-files = [ + "chrome/file_animate_xrays.html", + "mozilla/xhr_doc.html", + "mozilla/file_deferred_start.html", + "mozilla/file_disable_animations_api_compositing.html", + "mozilla/file_disable_animations_api_get_animations.html", + "mozilla/file_disable_animations_api_timelines.html", + "mozilla/file_discrete_animations.html", + "mozilla/file_transition_finish_on_compositor.html", + "../../../layout/style/test/property_database.js", + "testcommon.js", + "!/dom/events/test/event_leak_utils.js", +] + +["document-timeline/test_document-timeline.html"] + +["document-timeline/test_request_animation_frame.html"] + +["mozilla/test_cascade.html"] + +["mozilla/test_cubic_bezier_limits.html"] + +["mozilla/test_deferred_start.html"] +skip-if = ["os == 'win' && bits == 64"] # Bug 1363957 + +["mozilla/test_disable_animations_api_compositing.html"] + +["mozilla/test_disable_animations_api_get_animations.html"] + +["mozilla/test_disable_animations_api_timelines.html"] + +["mozilla/test_disabled_properties.html"] + +["mozilla/test_discrete_animations.html"] + +["mozilla/test_distance_of_basic_shape.html"] + +["mozilla/test_distance_of_filter.html"] + +["mozilla/test_distance_of_path_function.html"] + +["mozilla/test_distance_of_transform.html"] + +["mozilla/test_document_timeline_origin_time_range.html"] + +["mozilla/test_event_listener_leaks.html"] + +["mozilla/test_get_animations_on_scroll_animations.html"] + +["mozilla/test_hide_and_show.html"] + +["mozilla/test_mainthread_synchronization_pref.html"] + +["mozilla/test_moz_prefixed_properties.html"] + +["mozilla/test_pending_animation_tracker.html"] + +["mozilla/test_restyles.html"] +support-files = [ + "mozilla/file_restyles.html", + "mozilla/empty.html", +] +skip-if = [ + "os == 'android' && debug", #Bug 1784931 + "os == 'linux' && tsan", #Bug 1784931 + "http3", + "http2", +] + +["mozilla/test_restyling_xhr_doc.html"] + +["mozilla/test_set_easing.html"] + +["mozilla/test_style_after_finished_on_compositor.html"] + +["mozilla/test_transform_limits.html"] + +["mozilla/test_transition_finish_on_compositor.html"] +skip-if = ["os == 'android'"] + +["mozilla/test_underlying_discrete_value.html"] + +["mozilla/test_unstyled.html"] + +["style/test_animation-seeking-with-current-time.html"] + +["style/test_animation-seeking-with-start-time.html"] + +["style/test_animation-setting-effect.html"] + +["style/test_composite.html"] +skip-if = ["xorigin"] + +["style/test_interpolation-from-interpolatematrix-to-none.html"] + +["style/test_missing-keyframe-on-compositor.html"] +skip-if = ["fission && xorigin"] # Bug 1716403 - New fission platform triage + +["style/test_missing-keyframe.html"] + +["style/test_transform-non-normalizable-rotate3d.html"] diff --git a/dom/base/test/fullscreen/mochitest.ini b/dom/base/test/fullscreen/mochitest.ini deleted file mode 100644 index 7b14b8276821..000000000000 --- a/dom/base/test/fullscreen/mochitest.ini +++ /dev/null @@ -1,53 +0,0 @@ -[DEFAULT] -tags = fullscreen -support-files = - file_fullscreen-api-race.html - file_fullscreen-api.html - file_fullscreen-async.html - file_fullscreen-backdrop.html - file_fullscreen-denied-inner.html - file_fullscreen-denied.html - file_fullscreen-esc-exit-inner.html - file_fullscreen-esc-exit.html - file_fullscreen-event-order.html - file_fullscreen-featurePolicy.html - file_fullscreen-featurePolicy-inner.html - file_fullscreen-focus.html - file_fullscreen-focus-inner.html - file_fullscreen-hidden.html - file_fullscreen-lenient-setters.html - file_fullscreen_meta_viewport.html - file_fullscreen-multiple-inner.html - file_fullscreen-multiple.html - file_fullscreen-navigation.html - file_fullscreen-nested.html - file_fullscreen-prefixed.html - file_fullscreen-resize.html - file_fullscreen-rollback.html - file_fullscreen-scrollbar.html - file_fullscreen-selector.html - file_fullscreen-shadowdom.html - file_fullscreen-single.html - file_fullscreen-sub-iframe.html - file_fullscreen-svg-element.html - file_fullscreen-table.html - file_fullscreen-top-layer.html - file_fullscreen-utils.js - file_fullscreen-with-full-zoom.html - -[test_fullscreen-api-race.html] -skip-if = toolkit == 'android' # same as test_fullscreen-api.html, 1356570 - os == "mac" && debug -[test_fullscreen-api-rapid-cycle.html] -[test_fullscreen-api.html] -allow_xul_xbl = true # XUL is used in file_fullscreen-api.html -skip-if = - toolkit == 'android' - os == 'mac' # Bug 1579623, 1776996 - http3 - http2 -[test_fullscreen_meta_viewport.html] -[test_fullscreen_modal.html] -skip-if = - http3 - http2 diff --git a/dom/base/test/fullscreen/mochitest.toml b/dom/base/test/fullscreen/mochitest.toml new file mode 100644 index 000000000000..133816dd3a8f --- /dev/null +++ b/dom/base/test/fullscreen/mochitest.toml @@ -0,0 +1,62 @@ +[DEFAULT] +tags = "fullscreen" +support-files = [ + "file_fullscreen-api-race.html", + "file_fullscreen-api.html", + "file_fullscreen-async.html", + "file_fullscreen-backdrop.html", + "file_fullscreen-denied-inner.html", + "file_fullscreen-denied.html", + "file_fullscreen-esc-exit-inner.html", + "file_fullscreen-esc-exit.html", + "file_fullscreen-event-order.html", + "file_fullscreen-featurePolicy.html", + "file_fullscreen-featurePolicy-inner.html", + "file_fullscreen-focus.html", + "file_fullscreen-focus-inner.html", + "file_fullscreen-hidden.html", + "file_fullscreen-lenient-setters.html", + "file_fullscreen_meta_viewport.html", + "file_fullscreen-multiple-inner.html", + "file_fullscreen-multiple.html", + "file_fullscreen-navigation.html", + "file_fullscreen-nested.html", + "file_fullscreen-prefixed.html", + "file_fullscreen-resize.html", + "file_fullscreen-rollback.html", + "file_fullscreen-scrollbar.html", + "file_fullscreen-selector.html", + "file_fullscreen-shadowdom.html", + "file_fullscreen-single.html", + "file_fullscreen-sub-iframe.html", + "file_fullscreen-svg-element.html", + "file_fullscreen-table.html", + "file_fullscreen-top-layer.html", + "file_fullscreen-utils.js", + "file_fullscreen-with-full-zoom.html", +] + +["test_fullscreen-api-race.html"] +skip-if = [ + "os == 'android'", # same as test_fullscreen-api.html, 1356570 + "os == 'mac' && debug", +] + +["test_fullscreen-api-rapid-cycle.html"] + +["test_fullscreen-api.html"] +allow_xul_xbl = true # XUL is used in file_fullscreen-api.html +skip-if = [ + "os == 'android'", + "os == 'mac'", # Bug 1579623, 1776996 + "http3", + "http2", +] + +["test_fullscreen_meta_viewport.html"] + +["test_fullscreen_modal.html"] +skip-if = [ + "http3", + "http2", +] diff --git a/dom/base/test/fullscreen/moz.build b/dom/base/test/fullscreen/moz.build index 0c4b34bbf084..3ac1d85dffb0 100644 --- a/dom/base/test/fullscreen/moz.build +++ b/dom/base/test/fullscreen/moz.build @@ -5,7 +5,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. MOCHITEST_MANIFESTS += [ - "mochitest.ini", + "mochitest.toml", ] MOCHITEST_CHROME_MANIFESTS += [ diff --git a/dom/base/test/jsmodules/importmaps/mochitest.ini b/dom/base/test/jsmodules/importmaps/mochitest.ini deleted file mode 100644 index 702aed65bab7..000000000000 --- a/dom/base/test/jsmodules/importmaps/mochitest.ini +++ /dev/null @@ -1,27 +0,0 @@ -[DEFAULT] -support-files = - module_importMap_with_external_script_0.mjs - module_importMap_with_external_script_1.mjs - module_importMap_with_external_script_2.mjs - module_importMap_with_external_script_3.mjs - module_importMap_with_external_script_4.mjs - module_importMap_with_external_script_5.mjs - module_importMap_with_external_script_5.mjs^headers^ - module_importMap_with_external_script_6.mjs - module_importMap_with_external_script_6.mjs^headers^ - module_importMap_with_external_script_7.mjs - bad/module_2.mjs - bad/module_3.mjs - bad/module_4.mjs - bad/module_7.mjs - good/module_0.mjs - good/module_1.mjs - good/module_2.mjs - good/module_3.mjs - good/module_4.mjs - good/module_7.mjs - circular_dependency.mjs -prefs = - dom.importMaps.enabled=true - -[test_importMap_with_external_script.html] diff --git a/dom/base/test/jsmodules/importmaps/mochitest.toml b/dom/base/test/jsmodules/importmaps/mochitest.toml new file mode 100644 index 000000000000..43c2b151c7a8 --- /dev/null +++ b/dom/base/test/jsmodules/importmaps/mochitest.toml @@ -0,0 +1,28 @@ +[DEFAULT] +support-files = [ + "module_importMap_with_external_script_0.mjs", + "module_importMap_with_external_script_1.mjs", + "module_importMap_with_external_script_2.mjs", + "module_importMap_with_external_script_3.mjs", + "module_importMap_with_external_script_4.mjs", + "module_importMap_with_external_script_5.mjs", + "module_importMap_with_external_script_5.mjs^headers^", + "module_importMap_with_external_script_6.mjs", + "module_importMap_with_external_script_6.mjs^headers^", + "module_importMap_with_external_script_7.mjs", + "bad/module_2.mjs", + "bad/module_3.mjs", + "bad/module_4.mjs", + "bad/module_7.mjs", + "good/module_0.mjs", + "good/module_1.mjs", + "good/module_2.mjs", + "good/module_3.mjs", + "good/module_4.mjs", + "good/module_7.mjs", + "circular_dependency.mjs", +] +prefs = ["dom.importMaps.enabled=true"] + +["test_importMap_with_external_script.html"] + diff --git a/dom/base/test/jsmodules/importmaps/moz.build b/dom/base/test/jsmodules/importmaps/moz.build index 6dbdc469784e..ca4ef002b049 100644 --- a/dom/base/test/jsmodules/importmaps/moz.build +++ b/dom/base/test/jsmodules/importmaps/moz.build @@ -6,4 +6,4 @@ MOCHITEST_CHROME_MANIFESTS += ["chrome.toml"] -MOCHITEST_MANIFESTS += ["mochitest.ini"] +MOCHITEST_MANIFESTS += ["mochitest.toml"] diff --git a/dom/base/test/meta_viewport/mochitest.ini b/dom/base/test/meta_viewport/mochitest.ini deleted file mode 100644 index cfe63cc9999e..000000000000 --- a/dom/base/test/meta_viewport/mochitest.ini +++ /dev/null @@ -1,54 +0,0 @@ -[DEFAULT] -support-files = - viewport_helpers.js - -[test_meta_viewport0.html] -[test_meta_viewport1.html] -[test_meta_viewport2.html] -[test_meta_viewport3.html] -[test_meta_viewport4.html] -[test_meta_viewport5.html] -[test_meta_viewport6.html] -[test_meta_viewport7.html] -[test_meta_viewport8.html] -[test_meta_viewport_auto_size_by_device_height.html] -[test_meta_viewport_auto_size_by_device_width.html] -[test_meta_viewport_auto_size_by_fixed_height_and_initial_scale_1.html] -[test_meta_viewport_auto_size_by_fixed_width_and_device_height.html] -[test_meta_viewport_auto_size_by_fixed_width_and_initial_scale_1.html] -[test_meta_viewport_auto_size_by_initial_scale_0_5.html] -[test_meta_viewport_auto_size_by_initial_scale_1.html] -[test_meta_viewport_auto_size_by_invalid_width.html] -[test_meta_viewport_auto_size_by_invalid_width_and_fixed_height.html] -[test_meta_viewport_change_content_among_multiple.html] -[test_meta_viewport_change_name.html] -[test_meta_viewport_change_name_among_multiple.html] -[test_meta_viewport_device_width.html] -[test_meta_viewport_device_width_with_initial_scale_0_5.html] -[test_meta_viewport_device_width_with_initial_scale_2.html] -[test_meta_viewport_fit.html] -[test_meta_viewport_fit_multiple.html] -[test_meta_viewport_fixed_width_and_zero_display_width.html] -[test_meta_viewport_initial_scale_0_5.html] -[test_meta_viewport_initial_scale_2.html] -[test_meta_viewport_insert_before_existing_tag.html] -[test_meta_viewport_maximum_scale_0.html] -[test_meta_viewport_maximum_scale_0_5.html] -[test_meta_viewport_maximum_scale_2.html] -[test_meta_viewport_multiple_tags.html] -[test_meta_viewport_negative_width_and_negative_height.html] -[test_meta_viewport_negative_width_and_no_height.html] -[test_meta_viewport_negative_width_and_valid_height.html] -[test_meta_viewport_valid_width_and_negative_height.html] -[test_meta_viewport_valid_width_and_no_height.html] -[test_meta_viewport_no_width_and_negative_height.html] -[test_meta_viewport_no_width_and_valid_height.html] -[test_meta_viewport_remove_node.html] -[test_meta_viewport_remove_node_from_multiple.html] -[test_meta_viewport_replace_content.html] -[test_meta_viewport_tiny_display_size.html] -[test_meta_viewport_initial_scale_with_trailing_characters.html] -[test_meta_viewport_width_with_trailing_characters.html] -[test_meta_viewport_empty_content_and_valid_content_tags.html] -[test_meta_viewport_no_content_and_valid_content_tags.html] -[test_meta_viewport_removing_content_attribute.html] diff --git a/dom/base/test/meta_viewport/mochitest.toml b/dom/base/test/meta_viewport/mochitest.toml new file mode 100644 index 000000000000..8d7c1a8d3823 --- /dev/null +++ b/dom/base/test/meta_viewport/mochitest.toml @@ -0,0 +1,102 @@ +[DEFAULT] +support-files = ["viewport_helpers.js"] + +["test_meta_viewport0.html"] + +["test_meta_viewport1.html"] + +["test_meta_viewport2.html"] + +["test_meta_viewport3.html"] + +["test_meta_viewport4.html"] + +["test_meta_viewport5.html"] + +["test_meta_viewport6.html"] + +["test_meta_viewport7.html"] + +["test_meta_viewport8.html"] + +["test_meta_viewport_auto_size_by_device_height.html"] + +["test_meta_viewport_auto_size_by_device_width.html"] + +["test_meta_viewport_auto_size_by_fixed_height_and_initial_scale_1.html"] + +["test_meta_viewport_auto_size_by_fixed_width_and_device_height.html"] + +["test_meta_viewport_auto_size_by_fixed_width_and_initial_scale_1.html"] + +["test_meta_viewport_auto_size_by_initial_scale_0_5.html"] + +["test_meta_viewport_auto_size_by_initial_scale_1.html"] + +["test_meta_viewport_auto_size_by_invalid_width.html"] + +["test_meta_viewport_auto_size_by_invalid_width_and_fixed_height.html"] + +["test_meta_viewport_change_content_among_multiple.html"] + +["test_meta_viewport_change_name.html"] + +["test_meta_viewport_change_name_among_multiple.html"] + +["test_meta_viewport_device_width.html"] + +["test_meta_viewport_device_width_with_initial_scale_0_5.html"] + +["test_meta_viewport_device_width_with_initial_scale_2.html"] + +["test_meta_viewport_empty_content_and_valid_content_tags.html"] + +["test_meta_viewport_fit.html"] + +["test_meta_viewport_fit_multiple.html"] + +["test_meta_viewport_fixed_width_and_zero_display_width.html"] + +["test_meta_viewport_initial_scale_0_5.html"] + +["test_meta_viewport_initial_scale_2.html"] + +["test_meta_viewport_initial_scale_with_trailing_characters.html"] + +["test_meta_viewport_insert_before_existing_tag.html"] + +["test_meta_viewport_maximum_scale_0.html"] + +["test_meta_viewport_maximum_scale_0_5.html"] + +["test_meta_viewport_maximum_scale_2.html"] + +["test_meta_viewport_multiple_tags.html"] + +["test_meta_viewport_negative_width_and_negative_height.html"] + +["test_meta_viewport_negative_width_and_no_height.html"] + +["test_meta_viewport_negative_width_and_valid_height.html"] + +["test_meta_viewport_no_content_and_valid_content_tags.html"] + +["test_meta_viewport_no_width_and_negative_height.html"] + +["test_meta_viewport_no_width_and_valid_height.html"] + +["test_meta_viewport_remove_node.html"] + +["test_meta_viewport_remove_node_from_multiple.html"] + +["test_meta_viewport_removing_content_attribute.html"] + +["test_meta_viewport_replace_content.html"] + +["test_meta_viewport_tiny_display_size.html"] + +["test_meta_viewport_valid_width_and_negative_height.html"] + +["test_meta_viewport_valid_width_and_no_height.html"] + +["test_meta_viewport_width_with_trailing_characters.html"] diff --git a/dom/base/test/meta_viewport/moz.build b/dom/base/test/meta_viewport/moz.build index 60b508c7748a..3ef5d9c8cd14 100644 --- a/dom/base/test/meta_viewport/moz.build +++ b/dom/base/test/meta_viewport/moz.build @@ -5,5 +5,5 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. MOCHITEST_MANIFESTS += [ - "mochitest.ini", + "mochitest.toml", ] diff --git a/dom/base/test/mochitest.ini b/dom/base/test/mochitest.ini deleted file mode 100644 index 7066e34c9f17..000000000000 --- a/dom/base/test/mochitest.ini +++ /dev/null @@ -1,1186 +0,0 @@ -[DEFAULT] -tags = condprof -prefs = - formhelper.autozoom.force-disable.test-only=true -support-files = - audio.ogg - iframe_bug962251.html - iframe_bug976673.html - iframe_main_bug1022229.html - iframe_sandbox_bug1022229.html - file_empty.html - iframe_postMessage_solidus.html - file_setname.html - 345339_iframe.html - Ahem.ttf - accesscontrol.resource - accesscontrol.resource^headers^ - badContentType.eventsource - badContentType.eventsource^headers^ - badHTTPResponseCode.eventsource - badHTTPResponseCode.eventsource^headers^ - badMessageEvent.eventsource - badMessageEvent.eventsource^headers^ - badMessageEvent2.eventsource - badMessageEvent2.eventsource^headers^ - bug282547.sjs - bug298064-subframe.html - bug313646.txt - bug382113_object.html - bug403852_fileOpener.js - bug419132.html - bug426308-redirect.sjs - bug435425.sjs - bug435425_redirect.sjs - bug444322.js - bug444322.txt - bug455629-helper.svg - bug457746.sjs - bug461735-post-redirect.js - bug461735-redirect1.sjs - bug461735-redirect2.sjs - bug466080.sjs - bug466409-empty.css - bug466409-page.html - bug475156.sjs - bug482935.sjs - bug540854.sjs - bug578096LoadChromeScript.js - bug638112-response.txt - bug638112.sjs - bug696301-script-1.js - bug696301-script-1.js^headers^ - bug696301-script-2.js - bug704320.sjs - bug704320_counter.sjs - bug819051.sjs - bug1576154.sjs - chrome/bug418986-1.js - copypaste.js - delayedServerEvents.sjs - eventsource_message.sjs - eventsource_reconnect.sjs - eventsource.resource - eventsource.resource^headers^ - eventsource_redirect.resource - eventsource_redirect.resource^headers^ - eventsource_redirect_to.resource - eventsource_redirect_to.resource^headers^ - eventsource_worker.js - file_bug1091883_frame.html - file_bug1091883_subframe.html - file_bug1091883_target.html - file_bug28293.sjs - file_bug326337.xml - file_bug326337_inner.html - file_bug326337_outer.html - file_bug416317.xhtml - file_bug426646-1.html - file_bug426646-2.html - file_bug428847-1.xhtml - file_bug428847-2.xhtml - file_bug498897.css - file_bug498897.html - file_bug498897.html^headers^ - file_bug503481.sjs - file_bug503481b_inner.html - file_bug541937.html - file_bug541937.xhtml - file_bug557892.html - file_bug562137.txt - file_bug590812-ref.xhtml - file_bug590812.xml - file_bug590870.html - file_bug601803a.html - file_bug601803b.html - file_bug604660-1.xml - file_bug604660-2.xsl - file_bug604660-3.js - file_bug604660-4.js - file_bug604660-5.xml - file_bug604660-6.xsl - file_bug622088.sjs - file_bug622088_inner.html - file_bug675121.sjs - file_bug687859-16.js - file_bug687859-16.js^headers^ - file_bug687859-bom.js - file_bug687859-bom.js^headers^ - file_bug687859-charset.js - file_bug687859-http.js - file_bug687859-http.js^headers^ - file_bug687859-inherit.js - file_bug692434.xml - file_bug704320_preload_attr.html - file_bug704320_preload_common.js - file_bug704320_preload_reuse.html - file_bug704320_redirect.html - file_bug707142_baseline.json - file_bug707142_bom.json - file_bug707142_utf-16.json - file_bug708620-2.html - file_bug708620.html - file_bug753278.html - file_bug769117.html - file_bug782342.txt - file_bug787778.sjs - file_bug869432.eventsource - file_bug869432.eventsource^headers^ - file_bug907892.html - file_bug945152.jar - file_bug1274806.html - file_current_inner_window.html - file_domwindowutils_animation.html - file_domwindowutils_dynamic_toolbar.html - file_focus_shadow_dom.html - file_general_document.html - file_history_document_open.html - file_htmlserializer_1.html - file_htmlserializer_1_bodyonly.html - file_htmlserializer_1_format.html - file_htmlserializer_1_linebreak.html - file_htmlserializer_1_links.html - file_htmlserializer_1_nested_body.html - file_htmlserializer_1_no_body.html - file_htmlserializer_1_noflag.html - file_htmlserializer_1_noformatpre.html - file_htmlserializer_1_raw.html - file_htmlserializer_1_sibling_body.html - file_htmlserializer_1_sibling_body_only_body.html - file_htmlserializer_1_wrap.html - file_htmlserializer_2.html - file_htmlserializer_2_basic.html - file_htmlserializer_ipv6.html - file_htmlserializer_ipv6_out.html - file_lock_orientation_with_pending_fullscreen.html - file_mozfiledataurl_img.jpg - file_restrictedEventSource.sjs - file_settimeout_inner.html - file_timer_flood.html - file_viewport_scroll_quirks.html - file_viewport_scroll_xml.xml - file_window_close.html - file_window_close_2.html - file_x-frame-options_main.html - file_x-frame-options_page.sjs - file_xhtmlserializer_1.xhtml - file_xhtmlserializer_1_bodyonly.xhtml - file_xhtmlserializer_1_format.xhtml - file_xhtmlserializer_1_linebreak.xhtml - file_xhtmlserializer_1_links.xhtml - file_xhtmlserializer_1_nested_body.xhtml - file_xhtmlserializer_1_no_body.xhtml - file_xhtmlserializer_1_noflag.xhtml - file_xhtmlserializer_1_noformatpre.xhtml - file_xhtmlserializer_1_raw.xhtml - file_xhtmlserializer_1_sibling_body.xhtml - file_xhtmlserializer_1_sibling_body_only_body.xhtml - file_xhtmlserializer_1_wrap.xhtml - file_xhtmlserializer_2.xhtml - file_xhtmlserializer_2_basic.xhtml - file_xhtmlserializer_2_enthtml.xhtml - file_xhtmlserializer_2_entw3c.xhtml - file_xhtmlserializer_2_latin1.xhtml - file_youtube_flash_embed.html - forRemoval.resource - forRemoval.resource^headers^ - formReset.html - invalid_accesscontrol.resource - invalid_accesscontrol.resource^headers^ - script-1_bug597345.sjs - script-2_bug597345.js - script_bug602838.sjs - send_gzip_content.sjs - somedatas.resource - somedatas.resource^headers^ - variable_style_sheet.sjs - w3element_traversal.svg - wholeTexty-helper.xml - referrerHelper.js - file_audioLoop.html - file_webaudio_startstop.html - referrer_helper.js - referrer_testserver.sjs - script_postmessages_fileList.js - common_postMessages.js - iframe_postMessages.html - worker_postMessages.js - test_anonymousContent_style_csp.html^headers^ - file_explicit_user_agent.sjs - referrer_change_server.sjs - file_change_policy_redirect.html - file_bug1198095.js - file_bug1250148.sjs - file_bug1268962.sjs - iframe_meta_refresh.sjs - !/dom/security/test/cors/file_CrossSiteXHR_server.sjs - !/image/test/mochitest/blue.png - script_bug1238440.js - intersectionobserver_iframe.html - intersectionobserver_cross_domain_iframe.html - intersectionobserver_window.html - object_bug353334.html - embed_bug455472.html - object_bug455472.html - iframe1_bug431701.html - iframe2_bug431701.html - iframe3_bug431701.html - iframe4_bug431701.xml - iframe5_bug431701.xml - iframe6_bug431701.xml - iframe7_bug431701.xml - iframe1_bug426646.html - iframe2_bug426646.html - iframe_shared_compartment2a.html - iframe_shared_compartment2b.html - file1_setting_opener.html - file2_setting_opener.html - file3_setting_opener.html - file4_setting_opener.html - PASS.html - FAIL.html - !/dom/animation/test/testcommon.js - !/dom/events/test/event_leak_utils.js - ../../../toolkit/components/pdfjs/test/file_pdfjs_test.pdf - green.png - slow.sjs - -[test_anchor_area_referrer.html] -skip-if = - http3 - http2 -[test_anchor_area_referrer_changing.html] -skip-if = - http3 - http2 -[test_anchor_area_referrer_invalid.html] -skip-if = - http3 - http2 -[test_anchor_area_referrer_rel.html] -skip-if = - http3 - http2 -[test_anonymousContent_api.html] -[test_anonymousContent_append_after_reflow.html] -[test_anonymousContent_canvas.html] -skip-if = headless # Bug 1405867 -[test_anonymousContent_insert.html] -[test_anonymousContent_manipulate_content.html] -[test_anonymousContent_style_csp.html] -[test_async_setTimeout_stack.html] -[test_async_setTimeout_stack_across_globals.html] -[test_base.xhtml] -skip-if = - http3 - http2 -[test_bug1433073.html] -skip-if = (os == "android" || headless) # See -[test_bug1730284.html] -# https://bugzilla.mozilla.org/show_bug.cgi?id=1632196 and -# https://bugzilla.mozilla.org/show_bug.cgi?id=1632438. -[test_bug1739957.html] -support-files = - bug1739957.sjs -[test_bug1784187.html] -[test_bug1799354.html] -[test_bug5141.html] -[test_bug28293.html] -[test_bug28293.xhtml] -[test_bug51034.html] -[test_bug116083.html] -skip-if = headless # fails in clipboard mode -[test_bug166235.html] -skip-if = headless # headless != clipboard -[test_bug1639328.html] -support-files = file_bug1639328.html -[test_bug199959.html] -[test_bug218236.html] -[test_bug218277.html] -[test_bug238409.html] -[test_bug254337.html] -[test_bug270145.xhtml] -[test_bug276037-1.html] -[test_bug276037-2.xhtml] -[test_bug282547.html] -[test_bug298064.html] -[test_bug300992.html] -[test_bug311681.xml] -[test_bug313646.html] -[test_bug320799.html] -[test_bug322317.html] -[test_bug326337.html] -skip-if = - http3 - http2 -[test_bug331959.html] -[test_bug333064.html] -skip-if = headless # Headless: Bug 1405868 -[test_bug333198.html] -[test_bug333673.html] -[test_bug337631.html] -[test_bug338541.xhtml] -[test_bug338583.html] -skip-if = - http3 - http2 -[test_bug338679.html] -[test_bug339494.html] -[test_bug339494.xhtml] -[test_bug343596.html] -[test_bug345339.html] -skip-if = - http3 - http2 -[test_bug346485.html] -[test_bug352728.html] -[test_bug352728.xhtml] -[test_bug353334.html] -[test_bug355026.html] -[test_bug357450.html] -support-files = file_bug357450.js -[test_bug357450.xhtml] -[test_bug357450_svg.xhtml] -[test_bug357509.html] -[test_bug358660.html] -[test_bug362391.xhtml] -[test_bug364092.xhtml] -[test_bug364413.xhtml] -[test_bug366944.html] -[test_bug366946.html] -[test_bug367164.html] -[test_bug368972.html] -[test_bug371576-2.html] -[test_bug371576-3.html] -[test_bug371576-4.html] -[test_bug371576-5.html] -[test_bug372086.html] -[test_bug372964-2.html] -[test_bug372964.html] -[test_bug373181.xhtml] -[test_bug375314.html] -[test_bug375314-2.html] -skip-if = - xorigin # Hangs, [Exception... "Component returned failure code: 0xc1f30100 (NS_ERROR_FACTORY_EXISTS) [nsIComponentRegistrar.registerFactory]" nsresult: "0xc1f30100 (NS_ERROR_FACTORY_EXISTS)" location: "JS frame :: createChromeScript :: createChromeScript :: line 40" data: no] - http3 - http2 -[test_bug378969.html] -[test_bug380418.html] -support-files = test_bug380418.html^headers^ -[test_bug382113.html] -[test_bug382871.html] -[test_bug384003.xhtml] -[test_bug390219.html] -[test_bug390735.html] -[test_bug392318.html] -[test_bug392511.html] -[test_bug393968.html] -[test_bug395915.html] -[test_bug397234.html] -[test_bug398243.html] -skip-if = - http3 - http2 -[test_bug401662.html] -[test_bug402150.html] -support-files = test_bug402150.html^headers^ -[test_bug403841.html] -[test_bug403852.html] -[test_bug403868.xml] -[test_bug405182.html] -[test_bug409380.html] -[test_bug410229.html] -[test_bug413974.html] -[test_bug414190.html] -[test_bug415860.html] -[test_bug416317-1.html] -[test_bug416317-2.html] -[test_bug416383.html] -[test_bug417255.html] -[test_bug417384.html] -[test_bug418214.html] -[test_bug418986-1.html] -[test_bug419132.html] -[test_bug420609.xhtml] -[test_bug420700.html] -[test_bug421602.html] -[test_bug422403-1.html] -skip-if = - http3 - http2 -[test_bug422403-2.xhtml] -[test_bug422537.html] -skip-if = - http3 - http2 -[test_bug424212.html] -[test_bug424359-1.html] -skip-if = - http3 - http2 -[test_bug424359-2.html] -[test_bug426308.html] -skip-if = - http3 - http2 -[test_bug426646.html] -skip-if = - http3 - http2 -[test_bug428847.html] -skip-if = - http3 - http2 -[test_bug431082.html] -[test_bug431701.html] -[test_bug431833.html] -[test_bug433533.html] -[test_bug433662.html] -[test_bug435425.html] -skip-if = - http3 - http2 -[test_bug444322.html] -[test_bug444546.html] -disabled = Disabled for now. Mochitest is not reliable enough for these. -support-files = bug444546.sjs -[test_bug444722.html] -[test_bug448993.html] -[test_bug450160.html] -[test_bug451376.html] -[test_bug453521.html] -[test_bug453736.html] -[test_bug454325.html] -[test_bug454326.html] -[test_bug455472.html] -[test_bug455629.html] -skip-if = - http3 - http2 -[test_bug456262.html] -[test_bug457746.html] -[test_bug459424.html] -[test_bug461555.html] -[test_bug461735.html] -skip-if = - http3 - http2 -[test_bug465767.html] -[test_bug466080.html] -skip-if = - http3 - http2 -[test_bug466409.html] -[test_bug466751.xhtml] -[test_bug469020.html] -[test_bug469304.html] -[test_bug473162-1.html] -[test_bug473162-2.html] -[test_bug475156.html] -skip-if = - http3 - http2 -[test_bug482935.html] -[test_bug484396.html] -[test_bug493881.html] -support-files = test_bug493881.js -[test_bug498240.html] -[test_bug498433.html] -[test_bug498897.html] -[test_bug499656.html] -[test_bug499656.xhtml] -[test_bug500937.html] -[test_bug503473.html] -disabled = Disabled due to making the harness time out -support-files = file_bug503473-frame.sjs -[test_bug503481.html] -[test_bug503481b.html] -[test_bug513194.html] -[test_bug514487.html] -[test_bug515401.html] -skip-if = - http3 - http2 -[test_bug518104.html] -support-files = file_bug518104.js -[test_bug527896.html] -[test_bug540854.html] -[test_bug541937.html] -[test_bug544642.html] -[test_bug545644.html] -[test_bug545644.xhtml] -[test_bug548463.html] -[test_bug553896.xhtml] -[test_bug557892.html] -[test_bug558726.html] -[test_bug559526.html] -[test_bug560780.html] -[test_bug562137.html] -[test_bug562169-1.html] -[test_bug562169-2.html] -[test_bug562652.html] -[test_bug564047.html] -[test_bug564863.xhtml] -[test_bug567350.html] -[test_bug574596.html] -skip-if = toolkit == 'android' -[test_bug578096.html] -skip-if = (verify && (os == 'win')) -[test_bug585978.html] -[test_bug587931.html] -[test_bug588990.html] -[test_bug590812.html] -skip-if = - (verify && !debug && (os == 'linux')) #bug 687032 - http3 - http2 -[test_bug590870.html] -skip-if = - http3 - http2 -[test_bug592366.html] -[test_bug592829.html] -[test_bug597345.html] -[test_bug599295.html] -skip-if = - http3 - http2 -[test_bug599588.html] -[test_bug601803.html] -skip-if = - http3 - http2 -[test_bug602838.html] -[test_bug604592.html] -[test_bug604660.html] -[test_bug605982.html] -[test_bug606729.html] -[test_bug614058.html] -[test_bug622088.html] -[test_bug622117.html] -support-files = !/gfx/layers/apz/test/mochitest/apz_test_utils.js -[test_bug622246.html] -support-files = !/gfx/layers/apz/test/mochitest/apz_test_utils.js -[test_bug625722.html] -[test_bug626262.html] -[test_bug628938.html] -[test_bug631615.html] -[test_bug638112.html] -skip-if = - http3 - http2 -[test_bug647518.html] -[test_bug650001.html] -[test_bug650776.html] -[test_bug650784.html] -[test_bug656283.html] -[test_bug664916.html] -[test_bug666604.html] -[test_bug675121.html] -[test_bug675166.html] -[test_bug682463.html] -[test_bug682554.html] -[test_bug682592.html] -[test_bug684671.html] -[test_bug685798.html] -[test_bug686449.xhtml] -[test_bug687859.html] -[test_bug690056.html] -[test_bug692434.html] -[test_bug693615.html] -[test_bug693875.html] -[test_bug694754.xhtml] -[test_bug696301-1.html] -skip-if = - http3 - http2 -[test_bug696301-2.html] -skip-if = - http3 - http2 -[test_bug698381.html] -[test_bug698384.html] -[test_bug704063.html] -[test_bug704320-1.html] -skip-if = - http3 - http2 -[test_bug704320-2.html] -skip-if = - http3 - http2 -[test_bug704320_policyset.html] -skip-if = - http3 - http2 -[test_bug704320_policyset2.html] -[test_bug704320_preload.html] -skip-if = - http3 - http2 -[test_bug707142.html] -[test_bug708620.html] -[test_bug711047.html] -[test_bug711180.html] -[test_bug719533.html] -[test_bug726364.html] -[test_bug737087.html] -[test_bug737565.html] -[test_bug737612.html] -[test_bug738108.html] -[test_bug744830.html] -[test_bug749367.html] -[test_bug750096.html] -[test_bug753278.html] -[test_bug761120.html] -[test_bug769117.html] -[test_bug782342.html] -[test_bug787778.html] -[test_bug789315.html] -[test_bug789856.html] -[test_bug809003.html] -[test_bug810494.html] -[test_bug811701.html] -[test_bug811701.xhtml] -[test_bug813919.html] -[test_bug814576.html] -[test_bug819051.html] -skip-if = - http3 - http2 -[test_bug820909.html] -[test_bug864595.html] -[test_bug868999.html] -[test_bug869000.html] -[test_bug869002.html] -[test_bug869006.html] -[test_bug876282.html] -[test_bug891952.html] -[test_bug894874.html] -[test_bug895974.html] -[test_bug907892.html] -skip-if = - http3 - http2 -[test_bug913761.html] -[test_bug922681.html] -[test_bug927196.html] -[test_bug962251.html] -[test_bug976673.html] -skip-if = - http3 - http2 -[test_bug982153.html] -[test_bug999456.html] -[test_bug1022229.html] -skip-if = - http3 - http2 -[test_bug1025933.html] -[test_bug1037687.html] -support-files = test_bug1037687_subframe.html -[test_bug1043106.html] -[test_bug1057176.html] -[test_bug1060938.html] -[test_bug1064481.html] -[test_bug1070015.html] -[test_bug1075702.html] -[test_bug1091883.html] -skip-if = - http3 - http2 -[test_bug1100912.html] -support-files = file_bug1100912.html -[test_bug1101364.html] -[test_bug1118689.html] -[test_bug1126851.html] -[test_bug1163743.html] -skip-if = - http3 - http2 -[test_bug1165501.html] -skip-if = - http3 - http2 -[test_bug1187157.html] -[test_bug1198095.html] -[test_bug1238440.html] -[test_bug1250148.html] -[test_bug1259588.html] -[test_bug1268962.html] -skip-if = - http3 - http2 -[test_bug1222633.html] -skip-if = - http3 - http2 -[test_bug1667316.html] -[test_bug1222633_link_update.html] -skip-if = - http3 - http2 -[test_bug1274806.html] -[test_bug1295852.html] -[test_bug1307730.html] -[test_bug1308069.html] -[test_bug1314032.html] -[test_bug1318303.html] -[test_bug1375050.html] -[test_bug1381710.html] -[test_bug1399605.html] -[test_bug1404385.html] -[test_bug1406102.html] -[test_bug1421568.html] -[test_bug1472427.html] -[test_bug1499169.html] -skip-if = toolkit == 'android' # Timeouts on android due to page closing issues with embedded pdf -[test_bug1576154.html] -[test_bug1632975.html] -[test_bug1640766.html] -support-files = - iframe1_bug1640766.html - iframe2_bug1640766.html -skip-if = - http3 - http2 -[test_bug1648887.html] -[test_caretPositionFromPoint.html] -[test_change_policy.html] -skip-if = - http3 - http2 -[test_clearTimeoutIntervalNoArg.html] -[test_clipboard_nbsp.html] -[test_constructor-assignment.html] -[test_constructor.html] -[test_content_iterator_post_order.html] -[test_content_iterator_pre_order.html] -[test_content_iterator_subtree.html] -[test_copyimage.html] -skip-if = toolkit == 'android' - headless #bug 904183 -[test_copypaste.html] -skip-if = toolkit == 'android' - headless #bug 904183 -[test_copypaste.xhtml] -skip-if = headless #bug 904183 -[test_copypaste_disabled.html] -support-files = !/gfx/layers/apz/test/mochitest/apz_test_utils.js -[test_createHTMLDocument.html] -[test_data_uri.html] -[test_document.all_iteration.html] -[test_document.all_unqualified.html] -[test_document_constructor.html] -[test_document_importNode_document.html] -[test_custom_element.html] -[test_custom_element_reflector.html] -[test_current_inner_window.html] -skip-if = - http3 - http2 -[test_document_wireframe.html] -skip-if = - !sessionHistoryInParent - http3 - http2 -[test_domparser_null_char.html] -[test_domparsing.html] -[test_domrequest.html] -[test_domwindowutils.html] -skip-if = toolkit == 'android' # Bug 1525959 -[test_element.matches.html] -[test_element_closest.html] -[test_elementTraversal.html] -[test_embed_xorigin_document.html] -skip-if = - http3 - http2 -[test_encodeToStringWithMaxLength.html] -[test_encodeToStringWithRequiresReinitAfterOutput.html] -[test_EventSource_redirects.html] -skip-if = - http3 - http2 -[test_eventsource_event_listener_leaks.html] -[test_eventsourceservice_basic.html] -skip-if = - http3 - http2 -[test_eventsourceservice_reconnect_error.html] -skip-if = - http3 - http2 -[test_eventsourceservice_status_error.html] -[test_eventsourceservice_worker.html] -skip-if = - http3 - http2 -[test_explicit_user_agent.html] -[test_find.html] -[test_find_nac.html] -[test_find_bug1601118.html] -[test_find_bug1654683.html] -[test_focus_keyboard_event.html] -skip-if = - http3 - http2 -[test_focus_shadow_dom_root.html] -[test_focus_shadow_dom.html] -[test_focus_scrollable_input.html] -[test_focus_scrollable_fieldset.html] -[test_focus_scroll_padding_tab.html] -[test_focus_design_mode.html] -support-files = - file_focus_design_mode_inner.html -[test_focus_display_none_xorigin_iframe.html] -support-files = - file_focus_display_none_xorigin_iframe_inner.html -skip-if = - http3 - http2 -[test_getAttribute_after_createAttribute.html] -[test_getElementById.html] -[test_getTranslationNodes.html] -[test_getTranslationNodes_limit.html] -[test_gsp-qualified.html] -[test_gsp-quirks.html] -[test_gsp-standards.html] -[test_history_document_open.html] -[test_history_state_null.html] -[test_html_colors_quirks.html] -[test_html_colors_standards.html] -[test_htmlcopyencoder.html] -[test_htmlcopyencoder.xhtml] -[test_iframe_event_listener_leaks.html] -skip-if = (processor == 'aarch64' && os == 'win') # aarch64 due to 1530895 -[test_iframe_referrer.html] -skip-if = - http3 - http2 -[test_iframe_referrer_changing.html] -skip-if = - http3 - http2 -[test_iframe_referrer_invalid.html] -skip-if = - http3 - http2 -[test_Image_constructor.html] -[test_innersize_scrollport.html] -[test_input_vsync_alignment_lower_than_normal.html] -[test_input_vsync_alignment_input_while_vsync.html] -[test_input_vsync_alignment_inner_event_loop.html] -[test_integer_attr_with_leading_zero.html] -[test_intersectionobservers.html] -skip-if = - http3 - http2 -[test_link_prefetch.html] -skip-if = - http3 - http2 -[test_link_preload.html] -skip-if = - http3 - http2 -[test_link_stylesheet.html] -skip-if = - http3 - http2 -[test_location_href_unknown_protocol.html] -support-files = file_location_href_unknown_protocol.html -[test_lock_orientation_after_fullscreen.html] -skip-if = toolkit != 'android' # Only run on Android. -[test_lock_orientation_with_pending_fullscreen.html] -skip-if = os == 'mac' || os == 'linux' || headless -[test_meta_refresh_referrer.html] -skip-if = - http3 - http2 -[test_mozMatchesSelector.html] -[test_mutationobservers.html] -[test_named_frames.html] -[test_navigator_cookieEnabled.html] -skip-if = - http3 - http2 -[test_navigator_hardwareConcurrency.html] -[test_navigator_language.html] -[test_navigatorPrefOverride.html] -[test_NodeIterator_basics_filters.xhtml] -skip-if = xorigin # JavaScript error: http://mochi.test:8888/tests/SimpleTest/SimpleTest.js, line 76: DataCloneError: The object could not be cloned. -[test_NodeIterator_mutations_1.xhtml] -[test_NodeIterator_mutations_2.html] -[test_NodeIterator_mutations_3.html] -[test_nested_event_loop_spin_and_idle_tasks.html] -[test_nodelist_holes.html] -[test_open_null_features.html] -[test_openDialogChromeOnly.html] -tags = openwindow -[test_pasting_svg_image.html] -skip-if = headless # Bug 1669923. -[test_pdf_print.html] -skip-if = - toolkit == 'android' # We don't ship pdf.js on Android - win11_2009 && condprof # Bug 1843710 -[test_plugin_freezing.html] -skip-if = (os == 'win' && processor == 'aarch64') -reason = Plugins are not supported on Windows/AArch64 -[test_postMessage_solidus.html] -skip-if = - http3 - http2 -[test_postMessages_window.html] -skip-if = - http3 - http2 -[test_postMessages_workers.html] -[test_postMessages_broadcastChannel.html] -[test_postMessages_messagePort.html] -[test_postMessage_originAttributes.html] -support-files = file_receiveMessage.html -skip-if = true # Uses mismatched OriginAttributes for iframe (bug 1616353) -[test_processing_instruction_update_stylesheet.xhtml] -[test_progress_events_for_gzip_data.html] -skip-if = tsan # Bug 1621323 -[test_pushState_structuredclone.html] -scheme = https -[test_range_bounds.html] -[test_reentrant_flush.html] -[test_root_iframe.html] -[test_sandbox_and_document_uri.html] -support-files = file_sandbox_and_document_uri.html -[test_screen_orientation.html] -[test_script_loader_crossorigin_data_url.html] -[test_script_loader_js_cache.html] -disabled = https://bugzilla.mozilla.org/show_bug.cgi?id=1853173 -skip-if = verify -support-files = - file_js_cache.html - file_js_cache_with_sri.html - file_js_cache_module.html - file_js_cache.js - file_module_js_cache.html - file_module_js_cache_with_sri.html - file_module_js_cache_no_module.html - file_module_js_cache.mjs - file_js_cache_save_after_load.html - file_js_cache_save_after_load.js - file_js_cache_syntax_error.html - file_js_cache_syntax_error.js -[test_script_loader_js_cache_module.html] -disabled = https://bugzilla.mozilla.org/show_bug.cgi?id=1853173 -skip-if = verify -support-files = - file_script_module_single.html - file_script_module_single.mjs - file_script_module_import.html - file_script_module_import.mjs - file_script_module_import_imported.mjs - file_script_module_import_multi.html - file_script_module_import_multi.mjs - file_script_module_import_multi_imported_once.mjs - file_script_module_import_multi_imported_twice.mjs - file_script_module_import_multi_elems.html - file_script_module_import_multi_elems_1.mjs - file_script_module_import_multi_elems_2.mjs - file_script_module_import_multi_elems_imported_once_1.mjs - file_script_module_import_multi_elems_imported_once_2.mjs - file_script_module_import_multi_elems_imported_once_3.mjs - file_script_module_import_multi_elems_imported_twice.mjs - file_script_module_import_and_element.html - file_script_module_import_and_element.mjs - file_script_module_import_and_element_imported_1.mjs - file_script_module_import_and_element_imported_2.mjs - file_script_module_import_and_element_imported_3.mjs - file_script_module_element_and_import.html - file_script_module_element_and_import.mjs - file_script_module_element_and_import_imported_1.mjs - file_script_module_element_and_import_imported_2.mjs - file_script_module_element_and_import_imported_3.mjs - file_script_module_dynamic_import.html - file_script_module_dynamic_import.mjs - file_script_module_dynamic_import_imported.mjs - file_script_module_dynamic_and_element.html - file_script_module_dynamic_and_element.mjs - file_script_module_dynamic_and_element_imported_1.mjs - file_script_module_dynamic_and_element_imported_2.mjs - file_script_module_dynamic_and_element_imported_3.mjs - file_script_module_element_and_dynamic.html - file_script_module_element_and_dynamic.mjs - file_script_module_element_and_dynamic_imported_1.mjs - file_script_module_element_and_dynamic_imported_2.mjs - file_script_module_element_and_dynamic_imported_3.mjs - file_script_module_dynamic_and_static.html - file_script_module_dynamic_and_static.mjs - file_script_module_dynamic_and_static_imported_1.mjs - file_script_module_dynamic_and_static_imported_2.mjs - file_script_module_dynamic_and_static_imported_3.mjs - file_script_module_static_and_dynamic.html - file_script_module_static_and_dynamic.mjs - file_script_module_static_and_dynamic_imported_1.mjs - file_script_module_static_and_dynamic_imported_2.mjs - file_script_module_static_and_dynamic_imported_3.mjs -[test_script_loader_js_cache_module_sri.html] -disabled = https://bugzilla.mozilla.org/show_bug.cgi?id=1853173 -skip-if = verify -support-files = - file_script_module_sri_basic.html - file_script_module_sri_basic_prep.html - file_script_module_sri_basic.mjs - file_script_module_sri_fallback.html - file_script_module_sri_fallback_prep.html - file_script_module_sri_fallback.mjs - file_script_module_sri_fallback_failure.html - file_script_module_sri_fallback_failure_prep.html - file_script_module_sri_fallback_failure.mjs - file_script_module_sri_elem_elem_1.html - file_script_module_sri_elem_elem_1_prep.html - file_script_module_sri_elem_elem_1.mjs - file_script_module_sri_elem_elem_2.html - file_script_module_sri_elem_elem_2_prep.html - file_script_module_sri_elem_elem_2.mjs - file_script_module_sri_elem_import.html - file_script_module_sri_elem_import_prep.html - file_script_module_sri_elem_import.mjs - file_script_module_sri_elem_import_imported.mjs - file_script_module_sri_import_elem.html - file_script_module_sri_import_elem_prep.html - file_script_module_sri_import_elem.mjs - file_script_module_sri_import_elem_imported.mjs - file_script_module_sri_import_elem_nopreload.html - file_script_module_sri_import_elem_nopreload_prep.html - file_script_module_sri_import_elem_nopreload.mjs - file_script_module_sri_import_elem_nopreload_imported.mjs - file_script_module_sri_elem_dynamic.html - file_script_module_sri_elem_dynamic_prep.html - file_script_module_sri_elem_dynamic.mjs - file_script_module_sri_elem_dynamic_imported.mjs - file_script_module_sri_dynamic_elem.html - file_script_module_sri_dynamic_elem_prep.html - file_script_module_sri_dynamic_elem.mjs - file_script_module_sri_dynamic_elem_imported.mjs - file_script_module_sri_dynamic_elem_nopreload.html - file_script_module_sri_dynamic_elem_nopreload_prep.html - file_script_module_sri_dynamic_elem_nopreload.mjs - file_script_module_sri_dynamic_elem_nopreload_imported.mjs -[test_script_loader_js_cache_frames.html] -skip-if = verify -support-files = - file_script_module_frames_relay.js - file_script_module_frames_element.html - file_script_module_frames_element_save.html - file_script_module_frames_element_load.html - file_script_module_frames_element_shared.mjs - file_script_module_frames_import.html - file_script_module_frames_import_save.html - file_script_module_frames_import_save.mjs - file_script_module_frames_import_load.html - file_script_module_frames_import_load.mjs - file_script_module_frames_import_shared.mjs - file_script_module_frames_dynamic.html - file_script_module_frames_dynamic_save.html - file_script_module_frames_dynamic_save.mjs - file_script_module_frames_dynamic_load.html - file_script_module_frames_dynamic_load.mjs - file_script_module_frames_dynamic_shared.mjs -[test_delazification_strategy.html] -skip-if = (verify || ccov) -support-files = - file_delazification_strategy.html - file_delazification_strategy.js -[test_setInterval_from_start.html] -[test_setInterval_uncatchable_exception.html] -skip-if = debug == false -[test_settimeout_extra_arguments.html] -[test_settimeout_inner.html] -[test_setTimeoutWith0.html] -[test_setting_opener.html] -[test_shared_compartment1.html] -skip-if = - http3 - http2 -[test_shared_compartment2.html] -skip-if = - http3 - http2 -[test_structuredclone_backref.html] -[test_structuredclone_error.html] -[test_style_cssText.html] -[test_suppressed_events_and_scrolling.html] -support-files = - file_suppressed_events_and_scrolling.html -[test_suppressed_events_nested_iframe.html] -skip-if = - os == "android" - http3 - http2 -support-files = - file_suppressed_events_top_xhr.html - file_suppressed_events_top_modalstate.html - file_suppressed_events_top.html - file_suppressed_events_middle.html - file_suppressed_events_inner.html - !/gfx/layers/apz/test/mochitest/apz_test_utils.js -[test_suppressed_microtasks.html] -skip-if = - debug || asan || verify || toolkit == 'android' # The test needs to run reasonably fast. -[test_text_wholeText.html] -[test_textnode_normalize_in_selection.html] -[test_textnode_split_in_selection.html] -[test_timeout_clamp.html] -[test_timer_flood.html] -[test_title.html] -support-files = file_title.xhtml -[test_toScreenRect.html] -support-files = file_toScreenRect.html -[test_treewalker_nextsibling.xml] -[test_user_select.html] -skip-if = os == "android" # Bug 1791049 -[test_viewport_metrics_on_landscape_content.html] -support-files = - file_viewport_metrics_on_landscape_content.html -[test_viewport_scroll.html] -[test_viewsource_forbidden_in_object.html] -[test_w3element_traversal.html] -[test_w3element_traversal.xhtml] -[test_w3element_traversal_svg.html] -[test_warning_for_blocked_cross_site_request.html] -skip-if = - http3 - http2 -[test_window_close.html] -[test_window_constructor.html] -[test_window_content.html] -[test_window_cross_origin_props.html] -skip-if = - http3 - http2 -[test_window_define_nonconfigurable.html] -[test_window_define_symbol.html] -[test_window_element_enumeration.html] -[test_window_enumeration.html] -[test_window_extensible.html] -[test_window_focus_by_close_and_open.html] -support-files = file_window_focus_by_close_and_open.html -[test_window_indexing.html] -[test_window_keys.html] -[test_window_named_frame_enumeration.html] -skip-if = - http3 - http2 -[test_window_own_props.html] -[test_window_proto.html] -[test_writable-replaceable.html] -[test_x-frame-options.html] -skip-if = - toolkit == 'android' && debug - xorigin # JavaScript error: http://mochi.test:8888/tests/dom/base/test/test_x-frame-options.html, line 48: TypeError: can't access property "textContent", this.content.document.getElementById(...) is null, JavaScript error: resource://gre/modules/ProcessSelector.jsm, line 56: TypeError: can't access property "tabCount", process is null - http3 - http2 -[test_youtube_flash_embed.html] -skip-if = - http3 - http2 -# Please keep alphabetical order. diff --git a/dom/base/test/mochitest.toml b/dom/base/test/mochitest.toml new file mode 100644 index 000000000000..1debe32cb2ab --- /dev/null +++ b/dom/base/test/mochitest.toml @@ -0,0 +1,1782 @@ +[DEFAULT] +tags = "condprof" +prefs = ["formhelper.autozoom.force-disable.test-only=true"] +support-files = [ + "audio.ogg", + "iframe_bug962251.html", + "iframe_bug976673.html", + "iframe_main_bug1022229.html", + "iframe_sandbox_bug1022229.html", + "file_empty.html", + "iframe_postMessage_solidus.html", + "file_setname.html", + "345339_iframe.html", + "Ahem.ttf", + "accesscontrol.resource", + "accesscontrol.resource^headers^", + "badContentType.eventsource", + "badContentType.eventsource^headers^", + "badHTTPResponseCode.eventsource", + "badHTTPResponseCode.eventsource^headers^", + "badMessageEvent.eventsource", + "badMessageEvent.eventsource^headers^", + "badMessageEvent2.eventsource", + "badMessageEvent2.eventsource^headers^", + "bug282547.sjs", + "bug298064-subframe.html", + "bug313646.txt", + "bug382113_object.html", + "bug403852_fileOpener.js", + "bug419132.html", + "bug426308-redirect.sjs", + "bug435425.sjs", + "bug435425_redirect.sjs", + "bug444322.js", + "bug444322.txt", + "bug455629-helper.svg", + "bug457746.sjs", + "bug461735-post-redirect.js", + "bug461735-redirect1.sjs", + "bug461735-redirect2.sjs", + "bug466080.sjs", + "bug466409-empty.css", + "bug466409-page.html", + "bug475156.sjs", + "bug482935.sjs", + "bug540854.sjs", + "bug578096LoadChromeScript.js", + "bug638112-response.txt", + "bug638112.sjs", + "bug696301-script-1.js", + "bug696301-script-1.js^headers^", + "bug696301-script-2.js", + "bug704320.sjs", + "bug704320_counter.sjs", + "bug819051.sjs", + "bug1576154.sjs", + "chrome/bug418986-1.js", + "copypaste.js", + "delayedServerEvents.sjs", + "eventsource_message.sjs", + "eventsource_reconnect.sjs", + "eventsource.resource", + "eventsource.resource^headers^", + "eventsource_redirect.resource", + "eventsource_redirect.resource^headers^", + "eventsource_redirect_to.resource", + "eventsource_redirect_to.resource^headers^", + "eventsource_worker.js", + "file_bug1091883_frame.html", + "file_bug1091883_subframe.html", + "file_bug1091883_target.html", + "file_bug28293.sjs", + "file_bug326337.xml", + "file_bug326337_inner.html", + "file_bug326337_outer.html", + "file_bug416317.xhtml", + "file_bug426646-1.html", + "file_bug426646-2.html", + "file_bug428847-1.xhtml", + "file_bug428847-2.xhtml", + "file_bug498897.css", + "file_bug498897.html", + "file_bug498897.html^headers^", + "file_bug503481.sjs", + "file_bug503481b_inner.html", + "file_bug541937.html", + "file_bug541937.xhtml", + "file_bug557892.html", + "file_bug562137.txt", + "file_bug590812-ref.xhtml", + "file_bug590812.xml", + "file_bug590870.html", + "file_bug601803a.html", + "file_bug601803b.html", + "file_bug604660-1.xml", + "file_bug604660-2.xsl", + "file_bug604660-3.js", + "file_bug604660-4.js", + "file_bug604660-5.xml", + "file_bug604660-6.xsl", + "file_bug622088.sjs", + "file_bug622088_inner.html", + "file_bug675121.sjs", + "file_bug687859-16.js", + "file_bug687859-16.js^headers^", + "file_bug687859-bom.js", + "file_bug687859-bom.js^headers^", + "file_bug687859-charset.js", + "file_bug687859-http.js", + "file_bug687859-http.js^headers^", + "file_bug687859-inherit.js", + "file_bug692434.xml", + "file_bug704320_preload_attr.html", + "file_bug704320_preload_common.js", + "file_bug704320_preload_reuse.html", + "file_bug704320_redirect.html", + "file_bug707142_baseline.json", + "file_bug707142_bom.json", + "file_bug707142_utf-16.json", + "file_bug708620-2.html", + "file_bug708620.html", + "file_bug753278.html", + "file_bug769117.html", + "file_bug782342.txt", + "file_bug787778.sjs", + "file_bug869432.eventsource", + "file_bug869432.eventsource^headers^", + "file_bug907892.html", + "file_bug945152.jar", + "file_bug1274806.html", + "file_current_inner_window.html", + "file_domwindowutils_animation.html", + "file_domwindowutils_dynamic_toolbar.html", + "file_focus_shadow_dom.html", + "file_general_document.html", + "file_history_document_open.html", + "file_htmlserializer_1.html", + "file_htmlserializer_1_bodyonly.html", + "file_htmlserializer_1_format.html", + "file_htmlserializer_1_linebreak.html", + "file_htmlserializer_1_links.html", + "file_htmlserializer_1_nested_body.html", + "file_htmlserializer_1_no_body.html", + "file_htmlserializer_1_noflag.html", + "file_htmlserializer_1_noformatpre.html", + "file_htmlserializer_1_raw.html", + "file_htmlserializer_1_sibling_body.html", + "file_htmlserializer_1_sibling_body_only_body.html", + "file_htmlserializer_1_wrap.html", + "file_htmlserializer_2.html", + "file_htmlserializer_2_basic.html", + "file_htmlserializer_ipv6.html", + "file_htmlserializer_ipv6_out.html", + "file_lock_orientation_with_pending_fullscreen.html", + "file_mozfiledataurl_img.jpg", + "file_restrictedEventSource.sjs", + "file_settimeout_inner.html", + "file_timer_flood.html", + "file_viewport_scroll_quirks.html", + "file_viewport_scroll_xml.xml", + "file_window_close.html", + "file_window_close_2.html", + "file_x-frame-options_main.html", + "file_x-frame-options_page.sjs", + "file_xhtmlserializer_1.xhtml", + "file_xhtmlserializer_1_bodyonly.xhtml", + "file_xhtmlserializer_1_format.xhtml", + "file_xhtmlserializer_1_linebreak.xhtml", + "file_xhtmlserializer_1_links.xhtml", + "file_xhtmlserializer_1_nested_body.xhtml", + "file_xhtmlserializer_1_no_body.xhtml", + "file_xhtmlserializer_1_noflag.xhtml", + "file_xhtmlserializer_1_noformatpre.xhtml", + "file_xhtmlserializer_1_raw.xhtml", + "file_xhtmlserializer_1_sibling_body.xhtml", + "file_xhtmlserializer_1_sibling_body_only_body.xhtml", + "file_xhtmlserializer_1_wrap.xhtml", + "file_xhtmlserializer_2.xhtml", + "file_xhtmlserializer_2_basic.xhtml", + "file_xhtmlserializer_2_enthtml.xhtml", + "file_xhtmlserializer_2_entw3c.xhtml", + "file_xhtmlserializer_2_latin1.xhtml", + "file_youtube_flash_embed.html", + "forRemoval.resource", + "forRemoval.resource^headers^", + "formReset.html", + "invalid_accesscontrol.resource", + "invalid_accesscontrol.resource^headers^", + "script-1_bug597345.sjs", + "script-2_bug597345.js", + "script_bug602838.sjs", + "send_gzip_content.sjs", + "somedatas.resource", + "somedatas.resource^headers^", + "variable_style_sheet.sjs", + "w3element_traversal.svg", + "wholeTexty-helper.xml", + "referrerHelper.js", + "file_audioLoop.html", + "file_webaudio_startstop.html", + "referrer_helper.js", + "referrer_testserver.sjs", + "script_postmessages_fileList.js", + "common_postMessages.js", + "iframe_postMessages.html", + "worker_postMessages.js", + "test_anonymousContent_style_csp.html^headers^", + "file_explicit_user_agent.sjs", + "referrer_change_server.sjs", + "file_change_policy_redirect.html", + "file_bug1198095.js", + "file_bug1250148.sjs", + "file_bug1268962.sjs", + "iframe_meta_refresh.sjs", + "!/dom/security/test/cors/file_CrossSiteXHR_server.sjs", + "!/image/test/mochitest/blue.png", + "script_bug1238440.js", + "intersectionobserver_iframe.html", + "intersectionobserver_cross_domain_iframe.html", + "intersectionobserver_window.html", + "object_bug353334.html", + "embed_bug455472.html", + "object_bug455472.html", + "iframe1_bug431701.html", + "iframe2_bug431701.html", + "iframe3_bug431701.html", + "iframe4_bug431701.xml", + "iframe5_bug431701.xml", + "iframe6_bug431701.xml", + "iframe7_bug431701.xml", + "iframe1_bug426646.html", + "iframe2_bug426646.html", + "iframe_shared_compartment2a.html", + "iframe_shared_compartment2b.html", + "file1_setting_opener.html", + "file2_setting_opener.html", + "file3_setting_opener.html", + "file4_setting_opener.html", + "PASS.html", + "FAIL.html", + "!/dom/animation/test/testcommon.js", + "!/dom/events/test/event_leak_utils.js", + "../../../toolkit/components/pdfjs/test/file_pdfjs_test.pdf", + "green.png", + "slow.sjs", +] + +["test_EventSource_redirects.html"] +skip-if = [ + "http3", + "http2", +] + +["test_Image_constructor.html"] + +["test_NodeIterator_basics_filters.xhtml"] +skip-if = ["xorigin"] # JavaScript error: http://mochi.test:8888/tests/SimpleTest/SimpleTest.js, line 76: DataCloneError: The object could not be cloned. + +["test_NodeIterator_mutations_1.xhtml"] + +["test_NodeIterator_mutations_2.html"] + +["test_NodeIterator_mutations_3.html"] + +["test_anchor_area_referrer.html"] +skip-if = [ + "http3", + "http2", +] + +["test_anchor_area_referrer_changing.html"] +skip-if = [ + "http3", + "http2", +] + +["test_anchor_area_referrer_invalid.html"] +skip-if = [ + "http3", + "http2", +] + +["test_anchor_area_referrer_rel.html"] +skip-if = [ + "http3", + "http2", +] + +["test_anonymousContent_api.html"] + +["test_anonymousContent_append_after_reflow.html"] + +["test_anonymousContent_canvas.html"] +skip-if = ["headless"] # Bug 1405867 + +["test_anonymousContent_insert.html"] + +["test_anonymousContent_manipulate_content.html"] + +["test_anonymousContent_style_csp.html"] + +["test_async_setTimeout_stack.html"] + +["test_async_setTimeout_stack_across_globals.html"] + +["test_base.xhtml"] +skip-if = [ + "http3", + "http2", +] + +["test_bug5141.html"] + +["test_bug28293.html"] + +["test_bug28293.xhtml"] + +["test_bug51034.html"] + +["test_bug116083.html"] +skip-if = ["headless"] # fails in clipboard mode + +["test_bug166235.html"] +skip-if = ["headless"] # headless != clipboard + +["test_bug199959.html"] + +["test_bug218236.html"] + +["test_bug218277.html"] + +["test_bug238409.html"] + +["test_bug254337.html"] + +["test_bug270145.xhtml"] + +["test_bug276037-1.html"] + +["test_bug276037-2.xhtml"] + +["test_bug282547.html"] + +["test_bug298064.html"] + +["test_bug300992.html"] + +["test_bug311681.xml"] + +["test_bug313646.html"] + +["test_bug320799.html"] + +["test_bug322317.html"] + +["test_bug326337.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug331959.html"] + +["test_bug333064.html"] +skip-if = ["headless"] # Headless: Bug 1405868 + +["test_bug333198.html"] + +["test_bug333673.html"] + +["test_bug337631.html"] + +["test_bug338541.xhtml"] + +["test_bug338583.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug338679.html"] + +["test_bug339494.html"] + +["test_bug339494.xhtml"] + +["test_bug343596.html"] + +["test_bug345339.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug346485.html"] + +["test_bug352728.html"] + +["test_bug352728.xhtml"] + +["test_bug353334.html"] + +["test_bug355026.html"] + +["test_bug357450.html"] +support-files = ["file_bug357450.js"] + +["test_bug357450.xhtml"] + +["test_bug357450_svg.xhtml"] + +["test_bug357509.html"] + +["test_bug358660.html"] + +["test_bug362391.xhtml"] + +["test_bug364092.xhtml"] + +["test_bug364413.xhtml"] + +["test_bug366944.html"] + +["test_bug366946.html"] + +["test_bug367164.html"] + +["test_bug368972.html"] + +["test_bug371576-2.html"] + +["test_bug371576-3.html"] + +["test_bug371576-4.html"] + +["test_bug371576-5.html"] + +["test_bug372086.html"] + +["test_bug372964-2.html"] + +["test_bug372964.html"] + +["test_bug373181.xhtml"] + +["test_bug375314-2.html"] +skip-if = [ + "xorigin", # Hangs, [Exception... "Component returned failure code: 0xc1f30100 (NS_ERROR_FACTORY_EXISTS) [nsIComponentRegistrar.registerFactory]" nsresult: "0xc1f30100 (NS_ERROR_FACTORY_EXISTS)" location: "JS frame :: createChromeScript :: createChromeScript :: line 40" data: no] + "http3", + "http2", +] + +["test_bug375314.html"] + +["test_bug378969.html"] + +["test_bug380418.html"] +support-files = ["test_bug380418.html^headers^"] + +["test_bug382113.html"] + +["test_bug382871.html"] + +["test_bug384003.xhtml"] + +["test_bug390219.html"] + +["test_bug390735.html"] + +["test_bug392318.html"] + +["test_bug392511.html"] + +["test_bug393968.html"] + +["test_bug395915.html"] + +["test_bug397234.html"] + +["test_bug398243.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug401662.html"] + +["test_bug402150.html"] +support-files = ["test_bug402150.html^headers^"] + +["test_bug403841.html"] + +["test_bug403852.html"] + +["test_bug403868.xml"] + +["test_bug405182.html"] + +["test_bug409380.html"] + +["test_bug410229.html"] + +["test_bug413974.html"] + +["test_bug414190.html"] + +["test_bug415860.html"] + +["test_bug416317-1.html"] + +["test_bug416317-2.html"] + +["test_bug416383.html"] + +["test_bug417255.html"] + +["test_bug417384.html"] + +["test_bug418214.html"] + +["test_bug418986-1.html"] + +["test_bug419132.html"] + +["test_bug420609.xhtml"] + +["test_bug420700.html"] + +["test_bug421602.html"] + +["test_bug422403-1.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug422403-2.xhtml"] + +["test_bug422537.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug424212.html"] + +["test_bug424359-1.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug424359-2.html"] + +["test_bug426308.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug426646.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug428847.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug431082.html"] + +["test_bug431701.html"] + +["test_bug431833.html"] + +["test_bug433533.html"] + +["test_bug433662.html"] + +["test_bug435425.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug444322.html"] + +["test_bug444546.html"] +disabled = "Disabled for now. Mochitest is not reliable enough for these." +support-files = ["bug444546.sjs"] + +["test_bug444722.html"] + +["test_bug448993.html"] + +["test_bug450160.html"] + +["test_bug451376.html"] + +["test_bug453521.html"] + +["test_bug453736.html"] + +["test_bug454325.html"] + +["test_bug454326.html"] + +["test_bug455472.html"] + +["test_bug455629.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug456262.html"] + +["test_bug457746.html"] + +["test_bug459424.html"] + +["test_bug461555.html"] + +["test_bug461735.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug465767.html"] + +["test_bug466080.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug466409.html"] + +["test_bug466751.xhtml"] + +["test_bug469020.html"] + +["test_bug469304.html"] + +["test_bug473162-1.html"] + +["test_bug473162-2.html"] + +["test_bug475156.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug482935.html"] + +["test_bug484396.html"] + +["test_bug493881.html"] +support-files = ["test_bug493881.js"] + +["test_bug498240.html"] + +["test_bug498433.html"] + +["test_bug498897.html"] + +["test_bug499656.html"] + +["test_bug499656.xhtml"] + +["test_bug500937.html"] + +["test_bug503473.html"] +disabled = "Disabled due to making the harness time out" +support-files = ["file_bug503473-frame.sjs"] + +["test_bug503481.html"] + +["test_bug503481b.html"] + +["test_bug513194.html"] + +["test_bug514487.html"] + +["test_bug515401.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug518104.html"] +support-files = ["file_bug518104.js"] + +["test_bug527896.html"] + +["test_bug540854.html"] + +["test_bug541937.html"] + +["test_bug544642.html"] + +["test_bug545644.html"] + +["test_bug545644.xhtml"] + +["test_bug548463.html"] + +["test_bug553896.xhtml"] + +["test_bug557892.html"] + +["test_bug558726.html"] + +["test_bug559526.html"] + +["test_bug560780.html"] + +["test_bug562137.html"] + +["test_bug562169-1.html"] + +["test_bug562169-2.html"] + +["test_bug562652.html"] + +["test_bug564047.html"] + +["test_bug564863.xhtml"] + +["test_bug567350.html"] + +["test_bug574596.html"] +skip-if = ["os == 'android'"] + +["test_bug578096.html"] +skip-if = ["verify && os == 'win'"] + +["test_bug585978.html"] + +["test_bug587931.html"] + +["test_bug588990.html"] + +["test_bug590812.html"] +skip-if = [ + "verify && !debug && os == 'linux'", #bug 687032 + "http3", + "http2", +] + +["test_bug590870.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug592366.html"] + +["test_bug592829.html"] + +["test_bug597345.html"] + +["test_bug599295.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug599588.html"] + +["test_bug601803.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug602838.html"] + +["test_bug604592.html"] + +["test_bug604660.html"] + +["test_bug605982.html"] + +["test_bug606729.html"] + +["test_bug614058.html"] + +["test_bug622088.html"] + +["test_bug622117.html"] +support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_utils.js"] + +["test_bug622246.html"] +support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_utils.js"] + +["test_bug625722.html"] + +["test_bug626262.html"] + +["test_bug628938.html"] + +["test_bug631615.html"] + +["test_bug638112.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug647518.html"] + +["test_bug650001.html"] + +["test_bug650776.html"] + +["test_bug650784.html"] + +["test_bug656283.html"] + +["test_bug664916.html"] + +["test_bug666604.html"] + +["test_bug675121.html"] + +["test_bug675166.html"] + +["test_bug682463.html"] + +["test_bug682554.html"] + +["test_bug682592.html"] + +["test_bug684671.html"] + +["test_bug685798.html"] + +["test_bug686449.xhtml"] + +["test_bug687859.html"] + +["test_bug690056.html"] + +["test_bug692434.html"] + +["test_bug693615.html"] + +["test_bug693875.html"] + +["test_bug694754.xhtml"] + +["test_bug696301-1.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug696301-2.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug698381.html"] + +["test_bug698384.html"] + +["test_bug704063.html"] + +["test_bug704320-1.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug704320-2.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug704320_policyset.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug704320_policyset2.html"] + +["test_bug704320_preload.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug707142.html"] + +["test_bug708620.html"] + +["test_bug711047.html"] + +["test_bug711180.html"] + +["test_bug719533.html"] + +["test_bug726364.html"] + +["test_bug737087.html"] + +["test_bug737565.html"] + +["test_bug737612.html"] + +["test_bug738108.html"] + +["test_bug744830.html"] + +["test_bug749367.html"] + +["test_bug750096.html"] + +["test_bug753278.html"] + +["test_bug761120.html"] + +["test_bug769117.html"] + +["test_bug782342.html"] + +["test_bug787778.html"] + +["test_bug789315.html"] + +["test_bug789856.html"] + +["test_bug809003.html"] + +["test_bug810494.html"] + +["test_bug811701.html"] + +["test_bug811701.xhtml"] + +["test_bug813919.html"] + +["test_bug814576.html"] + +["test_bug819051.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug820909.html"] + +["test_bug864595.html"] + +["test_bug868999.html"] + +["test_bug869000.html"] + +["test_bug869002.html"] + +["test_bug869006.html"] + +["test_bug876282.html"] + +["test_bug891952.html"] + +["test_bug894874.html"] + +["test_bug895974.html"] + +["test_bug907892.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug913761.html"] + +["test_bug922681.html"] + +["test_bug927196.html"] + +["test_bug962251.html"] + +["test_bug976673.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug982153.html"] + +["test_bug999456.html"] + +["test_bug1022229.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1025933.html"] + +["test_bug1037687.html"] +support-files = ["test_bug1037687_subframe.html"] + +["test_bug1043106.html"] + +["test_bug1057176.html"] + +["test_bug1060938.html"] + +["test_bug1064481.html"] + +["test_bug1070015.html"] + +["test_bug1075702.html"] + +["test_bug1091883.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1100912.html"] +support-files = ["file_bug1100912.html"] + +["test_bug1101364.html"] + +["test_bug1118689.html"] + +["test_bug1126851.html"] + +["test_bug1163743.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1165501.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1187157.html"] + +["test_bug1198095.html"] + +["test_bug1222633.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1222633_link_update.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1238440.html"] + +["test_bug1250148.html"] + +["test_bug1259588.html"] + +["test_bug1268962.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1274806.html"] + +["test_bug1295852.html"] + +["test_bug1307730.html"] + +["test_bug1308069.html"] + +["test_bug1314032.html"] + +["test_bug1318303.html"] + +["test_bug1375050.html"] + +["test_bug1381710.html"] + +["test_bug1399605.html"] + +["test_bug1404385.html"] + +["test_bug1406102.html"] + +["test_bug1421568.html"] + +["test_bug1433073.html"] +skip-if = [ + "os == 'android'", + "headless", +] + +["test_bug1472427.html"] + +["test_bug1499169.html"] +skip-if = ["os == 'android'"] # Timeouts on android due to page closing issues with embedded pdf + +["test_bug1576154.html"] + +["test_bug1632975.html"] + +["test_bug1639328.html"] +support-files = ["file_bug1639328.html"] + +["test_bug1640766.html"] +support-files = [ + "iframe1_bug1640766.html", + "iframe2_bug1640766.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_bug1648887.html"] + +["test_bug1667316.html"] + +["test_bug1730284.html"] +# https://bugzilla.mozilla.org/show_bug.cgi?id=1632196 and +# https://bugzilla.mozilla.org/show_bug.cgi?id=1632438. + +["test_bug1739957.html"] +support-files = ["bug1739957.sjs"] + +["test_bug1784187.html"] + +["test_bug1799354.html"] + +["test_caretPositionFromPoint.html"] + +["test_change_policy.html"] +skip-if = [ + "http3", + "http2", +] + +["test_clearTimeoutIntervalNoArg.html"] + +["test_clipboard_nbsp.html"] + +["test_constructor-assignment.html"] + +["test_constructor.html"] + +["test_content_iterator_post_order.html"] + +["test_content_iterator_pre_order.html"] + +["test_content_iterator_subtree.html"] + +["test_copyimage.html"] +skip-if = [ + "os == 'android'", + "headless", #bug 904183 +] + +["test_copypaste.html"] +skip-if = [ + "os == 'android'", + "headless", #bug 904183 +] + +["test_copypaste.xhtml"] +skip-if = ["headless"] #bug 904183 + +["test_copypaste_disabled.html"] +support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_utils.js"] + +["test_createHTMLDocument.html"] + +["test_current_inner_window.html"] +skip-if = [ + "http3", + "http2", +] + +["test_custom_element.html"] + +["test_custom_element_reflector.html"] + +["test_data_uri.html"] + +["test_delazification_strategy.html"] +skip-if = [ + "verify", + "ccov", +] +support-files = [ + "file_delazification_strategy.html", + "file_delazification_strategy.js", +] + +["test_document.all_iteration.html"] + +["test_document.all_unqualified.html"] + +["test_document_constructor.html"] + +["test_document_importNode_document.html"] + +["test_document_wireframe.html"] +skip-if = [ + "!sessionHistoryInParent", + "http3", + "http2", +] + +["test_domparser_null_char.html"] + +["test_domparsing.html"] + +["test_domrequest.html"] + +["test_domwindowutils.html"] +skip-if = ["os == 'android'"] # Bug 1525959 + +["test_element.matches.html"] + +["test_elementTraversal.html"] + +["test_element_closest.html"] + +["test_embed_xorigin_document.html"] +skip-if = [ + "http3", + "http2", +] + +["test_encodeToStringWithMaxLength.html"] + +["test_encodeToStringWithRequiresReinitAfterOutput.html"] + +["test_eventsource_event_listener_leaks.html"] + +["test_eventsourceservice_basic.html"] +skip-if = [ + "http3", + "http2", +] + +["test_eventsourceservice_reconnect_error.html"] +skip-if = [ + "http3", + "http2", +] + +["test_eventsourceservice_status_error.html"] + +["test_eventsourceservice_worker.html"] +skip-if = [ + "http3", + "http2", +] + +["test_explicit_user_agent.html"] + +["test_find.html"] + +["test_find_bug1601118.html"] + +["test_find_bug1654683.html"] + +["test_find_nac.html"] + +["test_focus_design_mode.html"] +support-files = ["file_focus_design_mode_inner.html"] + +["test_focus_display_none_xorigin_iframe.html"] +support-files = ["file_focus_display_none_xorigin_iframe_inner.html"] +skip-if = [ + "http3", + "http2", +] + +["test_focus_keyboard_event.html"] +skip-if = [ + "http3", + "http2", +] + +["test_focus_scroll_padding_tab.html"] + +["test_focus_scrollable_fieldset.html"] + +["test_focus_scrollable_input.html"] + +["test_focus_shadow_dom.html"] + +["test_focus_shadow_dom_root.html"] + +["test_getAttribute_after_createAttribute.html"] + +["test_getElementById.html"] + +["test_getTranslationNodes.html"] + +["test_getTranslationNodes_limit.html"] + +["test_gsp-qualified.html"] + +["test_gsp-quirks.html"] + +["test_gsp-standards.html"] + +["test_history_document_open.html"] + +["test_history_state_null.html"] + +["test_html_colors_quirks.html"] + +["test_html_colors_standards.html"] + +["test_htmlcopyencoder.html"] + +["test_htmlcopyencoder.xhtml"] + +["test_iframe_event_listener_leaks.html"] + +["test_iframe_referrer.html"] +skip-if = [ + "http3", + "http2", +] + +["test_iframe_referrer_changing.html"] +skip-if = [ + "http3", + "http2", +] + +["test_iframe_referrer_invalid.html"] +skip-if = [ + "http3", + "http2", +] + +["test_innersize_scrollport.html"] + +["test_input_vsync_alignment_inner_event_loop.html"] + +["test_input_vsync_alignment_input_while_vsync.html"] + +["test_input_vsync_alignment_lower_than_normal.html"] + +["test_integer_attr_with_leading_zero.html"] + +["test_intersectionobservers.html"] +skip-if = [ + "http3", + "http2", +] + +["test_link_prefetch.html"] +skip-if = [ + "http3", + "http2", +] + +["test_link_preload.html"] +skip-if = [ + "http3", + "http2", +] + +["test_link_stylesheet.html"] +skip-if = [ + "http3", + "http2", +] + +["test_location_href_unknown_protocol.html"] +support-files = ["file_location_href_unknown_protocol.html"] + +["test_lock_orientation_after_fullscreen.html"] +skip-if = ["os != 'android'"] # Only run on Android. + +["test_lock_orientation_with_pending_fullscreen.html"] +skip-if = [ + "os == 'mac'", + "os == 'linux'", + "headless", +] + +["test_meta_refresh_referrer.html"] +skip-if = [ + "http3", + "http2", +] + +["test_mozMatchesSelector.html"] + +["test_mutationobservers.html"] + +["test_named_frames.html"] + +["test_navigatorPrefOverride.html"] + +["test_navigator_cookieEnabled.html"] +skip-if = [ + "http3", + "http2", +] + +["test_navigator_hardwareConcurrency.html"] + +["test_navigator_language.html"] + +["test_nested_event_loop_spin_and_idle_tasks.html"] + +["test_nodelist_holes.html"] + +["test_openDialogChromeOnly.html"] +tags = "openwindow" + +["test_open_null_features.html"] + +["test_pasting_svg_image.html"] +skip-if = ["headless"] # Bug 1669923. + +["test_pdf_print.html"] +skip-if = [ + "os == 'android'", # We don't ship pdf.js on Android + "win11_2009 && condprof", # Bug 1843710 +] + +["test_plugin_freezing.html"] + +["test_postMessage_originAttributes.html"] +support-files = ["file_receiveMessage.html"] +skip-if = ["true"] # Uses mismatched OriginAttributes for iframe (bug 1616353) + +["test_postMessage_solidus.html"] +skip-if = [ + "http3", + "http2", +] + +["test_postMessages_broadcastChannel.html"] + +["test_postMessages_messagePort.html"] + +["test_postMessages_window.html"] +skip-if = [ + "http3", + "http2", +] + +["test_postMessages_workers.html"] + +["test_processing_instruction_update_stylesheet.xhtml"] + +["test_progress_events_for_gzip_data.html"] +skip-if = ["tsan"] # Bug 1621323 + +["test_pushState_structuredclone.html"] +scheme = "https" + +["test_range_bounds.html"] + +["test_reentrant_flush.html"] + +["test_root_iframe.html"] + +["test_sandbox_and_document_uri.html"] +support-files = ["file_sandbox_and_document_uri.html"] + +["test_screen_orientation.html"] + +["test_script_loader_crossorigin_data_url.html"] + +["test_script_loader_js_cache.html"] +disabled = "https://bugzilla.mozilla.org/show_bug.cgi?id=1853173" +skip-if = ["verify"] +support-files = [ + "file_js_cache.html", + "file_js_cache_with_sri.html", + "file_js_cache_module.html", + "file_js_cache.js", + "file_module_js_cache.html", + "file_module_js_cache_with_sri.html", + "file_module_js_cache_no_module.html", + "file_module_js_cache.mjs", + "file_js_cache_save_after_load.html", + "file_js_cache_save_after_load.js", + "file_js_cache_syntax_error.html", + "file_js_cache_syntax_error.js", +] + +["test_script_loader_js_cache_frames.html"] +skip-if = ["verify"] +support-files = [ + "file_script_module_frames_relay.js", + "file_script_module_frames_element.html", + "file_script_module_frames_element_save.html", + "file_script_module_frames_element_load.html", + "file_script_module_frames_element_shared.mjs", + "file_script_module_frames_import.html", + "file_script_module_frames_import_save.html", + "file_script_module_frames_import_save.mjs", + "file_script_module_frames_import_load.html", + "file_script_module_frames_import_load.mjs", + "file_script_module_frames_import_shared.mjs", + "file_script_module_frames_dynamic.html", + "file_script_module_frames_dynamic_save.html", + "file_script_module_frames_dynamic_save.mjs", + "file_script_module_frames_dynamic_load.html", + "file_script_module_frames_dynamic_load.mjs", + "file_script_module_frames_dynamic_shared.mjs", +] + +["test_script_loader_js_cache_module.html"] +disabled = "https://bugzilla.mozilla.org/show_bug.cgi?id=1853173" +skip-if = ["verify"] +support-files = [ + "file_script_module_single.html", + "file_script_module_single.mjs", + "file_script_module_import.html", + "file_script_module_import.mjs", + "file_script_module_import_imported.mjs", + "file_script_module_import_multi.html", + "file_script_module_import_multi.mjs", + "file_script_module_import_multi_imported_once.mjs", + "file_script_module_import_multi_imported_twice.mjs", + "file_script_module_import_multi_elems.html", + "file_script_module_import_multi_elems_1.mjs", + "file_script_module_import_multi_elems_2.mjs", + "file_script_module_import_multi_elems_imported_once_1.mjs", + "file_script_module_import_multi_elems_imported_once_2.mjs", + "file_script_module_import_multi_elems_imported_once_3.mjs", + "file_script_module_import_multi_elems_imported_twice.mjs", + "file_script_module_import_and_element.html", + "file_script_module_import_and_element.mjs", + "file_script_module_import_and_element_imported_1.mjs", + "file_script_module_import_and_element_imported_2.mjs", + "file_script_module_import_and_element_imported_3.mjs", + "file_script_module_element_and_import.html", + "file_script_module_element_and_import.mjs", + "file_script_module_element_and_import_imported_1.mjs", + "file_script_module_element_and_import_imported_2.mjs", + "file_script_module_element_and_import_imported_3.mjs", + "file_script_module_dynamic_import.html", + "file_script_module_dynamic_import.mjs", + "file_script_module_dynamic_import_imported.mjs", + "file_script_module_dynamic_and_element.html", + "file_script_module_dynamic_and_element.mjs", + "file_script_module_dynamic_and_element_imported_1.mjs", + "file_script_module_dynamic_and_element_imported_2.mjs", + "file_script_module_dynamic_and_element_imported_3.mjs", + "file_script_module_element_and_dynamic.html", + "file_script_module_element_and_dynamic.mjs", + "file_script_module_element_and_dynamic_imported_1.mjs", + "file_script_module_element_and_dynamic_imported_2.mjs", + "file_script_module_element_and_dynamic_imported_3.mjs", + "file_script_module_dynamic_and_static.html", + "file_script_module_dynamic_and_static.mjs", + "file_script_module_dynamic_and_static_imported_1.mjs", + "file_script_module_dynamic_and_static_imported_2.mjs", + "file_script_module_dynamic_and_static_imported_3.mjs", + "file_script_module_static_and_dynamic.html", + "file_script_module_static_and_dynamic.mjs", + "file_script_module_static_and_dynamic_imported_1.mjs", + "file_script_module_static_and_dynamic_imported_2.mjs", + "file_script_module_static_and_dynamic_imported_3.mjs", +] + +["test_script_loader_js_cache_module_sri.html"] +disabled = "https://bugzilla.mozilla.org/show_bug.cgi?id=1853173" +skip-if = ["verify"] +support-files = [ + "file_script_module_sri_basic.html", + "file_script_module_sri_basic_prep.html", + "file_script_module_sri_basic.mjs", + "file_script_module_sri_fallback.html", + "file_script_module_sri_fallback_prep.html", + "file_script_module_sri_fallback.mjs", + "file_script_module_sri_fallback_failure.html", + "file_script_module_sri_fallback_failure_prep.html", + "file_script_module_sri_fallback_failure.mjs", + "file_script_module_sri_elem_elem_1.html", + "file_script_module_sri_elem_elem_1_prep.html", + "file_script_module_sri_elem_elem_1.mjs", + "file_script_module_sri_elem_elem_2.html", + "file_script_module_sri_elem_elem_2_prep.html", + "file_script_module_sri_elem_elem_2.mjs", + "file_script_module_sri_elem_import.html", + "file_script_module_sri_elem_import_prep.html", + "file_script_module_sri_elem_import.mjs", + "file_script_module_sri_elem_import_imported.mjs", + "file_script_module_sri_import_elem.html", + "file_script_module_sri_import_elem_prep.html", + "file_script_module_sri_import_elem.mjs", + "file_script_module_sri_import_elem_imported.mjs", + "file_script_module_sri_import_elem_nopreload.html", + "file_script_module_sri_import_elem_nopreload_prep.html", + "file_script_module_sri_import_elem_nopreload.mjs", + "file_script_module_sri_import_elem_nopreload_imported.mjs", + "file_script_module_sri_elem_dynamic.html", + "file_script_module_sri_elem_dynamic_prep.html", + "file_script_module_sri_elem_dynamic.mjs", + "file_script_module_sri_elem_dynamic_imported.mjs", + "file_script_module_sri_dynamic_elem.html", + "file_script_module_sri_dynamic_elem_prep.html", + "file_script_module_sri_dynamic_elem.mjs", + "file_script_module_sri_dynamic_elem_imported.mjs", + "file_script_module_sri_dynamic_elem_nopreload.html", + "file_script_module_sri_dynamic_elem_nopreload_prep.html", + "file_script_module_sri_dynamic_elem_nopreload.mjs", + "file_script_module_sri_dynamic_elem_nopreload_imported.mjs", +] + +["test_setInterval_from_start.html"] + +["test_setInterval_uncatchable_exception.html"] +skip-if = ["debug == false"] + +["test_setTimeoutWith0.html"] + +["test_settimeout_extra_arguments.html"] + +["test_settimeout_inner.html"] + +["test_setting_opener.html"] + +["test_shared_compartment1.html"] +skip-if = [ + "http3", + "http2", +] + +["test_shared_compartment2.html"] +skip-if = [ + "http3", + "http2", +] + +["test_structuredclone_backref.html"] + +["test_structuredclone_error.html"] + +["test_style_cssText.html"] + +["test_suppressed_events_and_scrolling.html"] +support-files = ["file_suppressed_events_and_scrolling.html"] + +["test_suppressed_events_nested_iframe.html"] +skip-if = [ + "os == 'android'", + "http3", + "http2", +] +support-files = [ + "file_suppressed_events_top_xhr.html", + "file_suppressed_events_top_modalstate.html", + "file_suppressed_events_top.html", + "file_suppressed_events_middle.html", + "file_suppressed_events_inner.html", + "!/gfx/layers/apz/test/mochitest/apz_test_utils.js", +] + +["test_suppressed_microtasks.html"] +skip-if = [ + "debug", + "asan", + "verify", + "os == 'android'", # The test needs to run reasonably fast. +] + +["test_text_wholeText.html"] + +["test_textnode_normalize_in_selection.html"] + +["test_textnode_split_in_selection.html"] + +["test_timeout_clamp.html"] + +["test_timer_flood.html"] + +["test_title.html"] +support-files = ["file_title.xhtml"] + +["test_toScreenRect.html"] +support-files = ["file_toScreenRect.html"] + +["test_treewalker_nextsibling.xml"] + +["test_user_select.html"] +skip-if = ["os == 'android'"] # Bug 1791049 + +["test_viewport_metrics_on_landscape_content.html"] +support-files = ["file_viewport_metrics_on_landscape_content.html"] + +["test_viewport_scroll.html"] + +["test_viewsource_forbidden_in_object.html"] + +["test_w3element_traversal.html"] + +["test_w3element_traversal.xhtml"] + +["test_w3element_traversal_svg.html"] + +["test_warning_for_blocked_cross_site_request.html"] +skip-if = [ + "http3", + "http2", +] + +["test_window_close.html"] + +["test_window_constructor.html"] + +["test_window_content.html"] + +["test_window_cross_origin_props.html"] +skip-if = [ + "http3", + "http2", +] + +["test_window_define_nonconfigurable.html"] + +["test_window_define_symbol.html"] + +["test_window_element_enumeration.html"] + +["test_window_enumeration.html"] + +["test_window_extensible.html"] + +["test_window_focus_by_close_and_open.html"] +support-files = ["file_window_focus_by_close_and_open.html"] + +["test_window_indexing.html"] + +["test_window_keys.html"] + +["test_window_named_frame_enumeration.html"] +skip-if = [ + "http3", + "http2", +] + +["test_window_own_props.html"] + +["test_window_proto.html"] + +["test_writable-replaceable.html"] + +["test_x-frame-options.html"] +skip-if = [ + "os == 'android' && debug", + "xorigin", # JavaScript error: http://mochi.test:8888/tests/dom/base/test/test_x-frame-options.html, line 48: TypeError: can't access property "textContent", this.content.document.getElementById(...) is null, JavaScript error: resource://gre/modules/ProcessSelector.jsm, line 56: TypeError: can't access property "tabCount", process is null + "http3", + "http2", +] + +["test_youtube_flash_embed.html"] +skip-if = [ + "http3", + "http2", +] +# Please keep alphabetical order. diff --git a/dom/base/test/moz.build b/dom/base/test/moz.build index 54171571592e..4ad74cbf196a 100644 --- a/dom/base/test/moz.build +++ b/dom/base/test/moz.build @@ -10,7 +10,7 @@ XPCSHELL_TESTS_MANIFESTS += [ ] MOCHITEST_MANIFESTS += [ - "mochitest.ini", + "mochitest.toml", ] MOCHITEST_CHROME_MANIFESTS += [ diff --git a/dom/base/test/useractivation/mochitest.ini b/dom/base/test/useractivation/mochitest.ini deleted file mode 100644 index 26c8594be87d..000000000000 --- a/dom/base/test/useractivation/mochitest.ini +++ /dev/null @@ -1,23 +0,0 @@ -[DEFAULT] -support-files = - file_empty.html - file_iframe_user_activated.html - file_iframe_check_user_activation.html - file_iframe_consume_user_activation.html - file_clipboard_common.js -prefs = - formhelper.autozoom.force-disable.test-only=true - -[test_useractivation_has_been_activated.html] -[test_useractivation_key_events.html] -[test_useractivation_transient.html] -[test_useractivation_sandbox_transient.html] -support-files = file_useractivation_sandbox_transient_popup.html -[test_useractivation_scrollbar.html] -skip-if = os == 'android' # scrollbar not showed on mobile -[test_useractivation_transient_consuming.html] -[test_clipboard_editor.html] -[test_clipboard_noeditor.html] -[test_popup_blocker_mouse_event.html] -[test_popup_blocker_pointer_event.html] -[test_popup_blocker_async_callback.html] diff --git a/dom/base/test/useractivation/mochitest.toml b/dom/base/test/useractivation/mochitest.toml new file mode 100644 index 000000000000..0a51c7e71c77 --- /dev/null +++ b/dom/base/test/useractivation/mochitest.toml @@ -0,0 +1,33 @@ +[DEFAULT] +support-files = [ + "file_empty.html", + "file_iframe_user_activated.html", + "file_iframe_check_user_activation.html", + "file_iframe_consume_user_activation.html", + "file_clipboard_common.js", +] +prefs = ["formhelper.autozoom.force-disable.test-only=true"] + +["test_clipboard_editor.html"] + +["test_clipboard_noeditor.html"] + +["test_popup_blocker_async_callback.html"] + +["test_popup_blocker_mouse_event.html"] + +["test_popup_blocker_pointer_event.html"] + +["test_useractivation_has_been_activated.html"] + +["test_useractivation_key_events.html"] + +["test_useractivation_sandbox_transient.html"] +support-files = ["file_useractivation_sandbox_transient_popup.html"] + +["test_useractivation_scrollbar.html"] +skip-if = ["os == 'android'"] # scrollbar not showed on mobile + +["test_useractivation_transient.html"] + +["test_useractivation_transient_consuming.html"] diff --git a/dom/base/test/useractivation/moz.build b/dom/base/test/useractivation/moz.build index 60b508c7748a..3ef5d9c8cd14 100644 --- a/dom/base/test/useractivation/moz.build +++ b/dom/base/test/useractivation/moz.build @@ -5,5 +5,5 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. MOCHITEST_MANIFESTS += [ - "mochitest.ini", + "mochitest.toml", ] diff --git a/dom/battery/moz.build b/dom/battery/moz.build index 989afbb119d3..3a90c93c01d5 100644 --- a/dom/battery/moz.build +++ b/dom/battery/moz.build @@ -20,4 +20,4 @@ include("/ipc/chromium/chromium-config.mozbuild") FINAL_LIBRARY = "xul" MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"] -MOCHITEST_MANIFESTS += ["test/mochitest.ini"] +MOCHITEST_MANIFESTS += ["test/mochitest.toml"] diff --git a/dom/battery/test/mochitest.ini b/dom/battery/test/mochitest.ini deleted file mode 100644 index 4d8307930eb8..000000000000 --- a/dom/battery/test/mochitest.ini +++ /dev/null @@ -1 +0,0 @@ -[test_battery_unprivileged.html] diff --git a/dom/battery/test/mochitest.toml b/dom/battery/test/mochitest.toml new file mode 100644 index 000000000000..2a56a6a38689 --- /dev/null +++ b/dom/battery/test/mochitest.toml @@ -0,0 +1,4 @@ +[DEFAULT] + +["test_battery_unprivileged.html"] + diff --git a/dom/bindings/test/mochitest.ini b/dom/bindings/test/mochitest.ini deleted file mode 100644 index a2b1835fbab6..000000000000 --- a/dom/bindings/test/mochitest.ini +++ /dev/null @@ -1,121 +0,0 @@ -[DEFAULT] -support-files = - file_InstanceOf.html - file_bug775543.html - file_document_location_set_via_xray.html - file_dom_xrays.html - file_proxies_via_xray.html - forOf_iframe.html - !/js/xpconnect/tests/mochitest/file_empty.html -prefs = - javascript.options.large_arraybuffers=true - -[test_async_stacks.html] -[test_ByteString.html] -[test_InstanceOf.html] -[test_bug560072.html] -[test_bug742191.html] -[test_bug759621.html] -[test_bug773326.html] -[test_bug788369.html] -[test_bug852846.html] -[test_bug862092.html] -[test_bug1036214.html] -skip-if = - !debug - http3 - http2 -[test_bug1041646.html] -[test_bug1123875.html] -[test_bug1808352.html] -skip-if = - http3 # Bug 1827526 - http2 -support-files = - file_bug1808352_frame.html -[test_bug1808352b.html] -support-files = - file_bug1808352b_frame.html -[test_barewordGetsWindow.html] -support-files = - file_barewordGetsWindow_frame1.html - file_barewordGetsWindow_frame2.html -[test_callback_across_document_open.html] -[test_callback_default_thisval.html] -[test_cloneAndImportNode.html] -[test_defineProperty.html] -[test_enums.html] -[test_exceptionThrowing.html] -[test_exception_messages.html] -[test_forOf.html] -[test_integers.html] -[test_interfaceLength.html] -skip-if = debug == false -[test_interfaceName.html] -[test_interfaceToString.html] -[test_prefOnConstructor.html] -skip-if = debug == false -[test_exceptions_from_jsimplemented.html] -tags = webrtc -[test_lenientThis.html] -[test_lookupGetter.html] -[test_namedNoIndexed.html] -[test_named_getter_enumerability.html] -[test_Object.prototype_props.html] -[test_proxy_expandos.html] -[test_proxy_accessors.html] -[test_returnUnion.html] -skip-if = debug == false -[test_usvstring.html] -skip-if = debug == false -[test_sequence_wrapping.html] -subsuite = gpu -[test_setWithNamedGetterNoNamedSetter.html] -[test_throwing_method_noDCE.html] -[test_treat_non_object_as_null.html] -[test_traceProtos.html] -[test_sequence_detection.html] -skip-if = debug == false -[test_exception_options_from_jsimplemented.html] -skip-if = debug == false -[test_promise_rejections_from_jsimplemented.html] -skip-if = debug == false -[test_worker_UnwrapArg.html] -[test_unforgeablesonexpando.html] -[test_crossOriginWindowSymbolAccess.html] -skip-if = - http3 - http2 -[test_primitive_this.html] -[test_callback_exceptions.html] -[test_bug1123516_maplikesetlike.html] -skip-if = debug == false -[test_jsimplemented_eventhandler.html] -skip-if = debug == false -[test_jsimplemented_cross_realm_this.html] -skip-if = debug == false -[test_iterable.html] -skip-if = debug == false -[test_async_iterable.html] -skip-if = debug == false -[test_oom_reporting.html] -[test_domProxyArrayLengthGetter.html] -[test_exceptionSanitization.html] -skip-if = debug == false -[test_stringBindings.html] -skip-if = debug == false -[test_jsimplemented_subclassing.html] -[test_toJSON.html] -skip-if = debug == false -[test_attributes_on_types.html] -skip-if = debug == false -[test_large_arraybuffers.html] -skip-if = (debug == false || bits == 32) # Large ArrayBuffers are only supported on 64-bit platforms. -[test_observablearray.html] -skip-if = debug == false -[test_observablearray_proxyhandler.html] -skip-if = debug == false -[test_observablearray_helper.html] -skip-if = debug == false -[test_large_imageData.html] -[test_remoteProxyAsPrototype.html] diff --git a/dom/bindings/test/mochitest.toml b/dom/bindings/test/mochitest.toml new file mode 100644 index 000000000000..51060cbb7587 --- /dev/null +++ b/dom/bindings/test/mochitest.toml @@ -0,0 +1,195 @@ +[DEFAULT] +support-files = [ + "file_InstanceOf.html", + "file_bug775543.html", + "file_document_location_set_via_xray.html", + "file_dom_xrays.html", + "file_proxies_via_xray.html", + "forOf_iframe.html", + "!/js/xpconnect/tests/mochitest/file_empty.html", +] +prefs = ["javascript.options.large_arraybuffers=true"] + +["test_ByteString.html"] + +["test_InstanceOf.html"] + +["test_Object.prototype_props.html"] + +["test_async_iterable.html"] +skip-if = ["!debug"] + +["test_async_stacks.html"] + +["test_attributes_on_types.html"] +skip-if = ["!debug"] + +["test_barewordGetsWindow.html"] +support-files = [ + "file_barewordGetsWindow_frame1.html", + "file_barewordGetsWindow_frame2.html", +] + +["test_bug560072.html"] + +["test_bug742191.html"] + +["test_bug759621.html"] + +["test_bug773326.html"] + +["test_bug788369.html"] + +["test_bug852846.html"] + +["test_bug862092.html"] + +["test_bug1036214.html"] +skip-if = [ + "!debug", + "http3", + "http2", +] + +["test_bug1041646.html"] + +["test_bug1123516_maplikesetlike.html"] +skip-if = ["!debug"] + +["test_bug1123875.html"] + +["test_bug1808352.html"] +skip-if = [ + "http3", # Bug 1827526 + "http2", +] +support-files = ["file_bug1808352_frame.html"] + +["test_bug1808352b.html"] +support-files = ["file_bug1808352b_frame.html"] + +["test_callback_across_document_open.html"] + +["test_callback_default_thisval.html"] + +["test_callback_exceptions.html"] + +["test_cloneAndImportNode.html"] + +["test_crossOriginWindowSymbolAccess.html"] +skip-if = [ + "http3", + "http2", +] + +["test_defineProperty.html"] + +["test_domProxyArrayLengthGetter.html"] + +["test_enums.html"] + +["test_exceptionSanitization.html"] +skip-if = ["!debug"] + +["test_exceptionThrowing.html"] + +["test_exception_messages.html"] + +["test_exception_options_from_jsimplemented.html"] +skip-if = ["!debug"] + +["test_exceptions_from_jsimplemented.html"] +tags = "webrtc" + +["test_forOf.html"] + +["test_integers.html"] + +["test_interfaceLength.html"] +skip-if = ["!debug"] + +["test_interfaceName.html"] + +["test_interfaceToString.html"] + +["test_iterable.html"] +skip-if = ["!debug"] + +["test_jsimplemented_cross_realm_this.html"] +skip-if = ["!debug"] + +["test_jsimplemented_eventhandler.html"] +skip-if = ["!debug"] + +["test_jsimplemented_subclassing.html"] + +["test_large_arraybuffers.html"] +skip-if = [ + "!debug", + "bits == 32", # Large ArrayBuffers are only supported on 64-bit platforms. +] + +["test_large_imageData.html"] + +["test_lenientThis.html"] + +["test_lookupGetter.html"] + +["test_namedNoIndexed.html"] + +["test_named_getter_enumerability.html"] + +["test_observablearray.html"] +skip-if = ["!debug"] + +["test_observablearray_helper.html"] +skip-if = ["!debug"] + +["test_observablearray_proxyhandler.html"] +skip-if = ["!debug"] + +["test_oom_reporting.html"] + +["test_prefOnConstructor.html"] +skip-if = ["!debug"] + +["test_primitive_this.html"] + +["test_promise_rejections_from_jsimplemented.html"] +skip-if = ["!debug"] + +["test_proxy_accessors.html"] + +["test_proxy_expandos.html"] + +["test_remoteProxyAsPrototype.html"] + +["test_returnUnion.html"] +skip-if = ["!debug"] + +["test_sequence_detection.html"] +skip-if = ["!debug"] + +["test_sequence_wrapping.html"] +subsuite = "gpu" + +["test_setWithNamedGetterNoNamedSetter.html"] + +["test_stringBindings.html"] +skip-if = ["!debug"] + +["test_throwing_method_noDCE.html"] + +["test_toJSON.html"] +skip-if = ["!debug"] + +["test_traceProtos.html"] + +["test_treat_non_object_as_null.html"] + +["test_unforgeablesonexpando.html"] + +["test_usvstring.html"] +skip-if = ["!debug"] + +["test_worker_UnwrapArg.html"] diff --git a/dom/bindings/test/moz.build b/dom/bindings/test/moz.build index 64c3610e2319..b5c45301a6ae 100644 --- a/dom/bindings/test/moz.build +++ b/dom/bindings/test/moz.build @@ -12,7 +12,7 @@ DEFINES["MOZILLA_INTERNAL_API"] = True Library("dombindings_test_s") -MOCHITEST_MANIFESTS += ["mochitest.ini"] +MOCHITEST_MANIFESTS += ["mochitest.toml"] MOCHITEST_CHROME_MANIFESTS += ["chrome.toml"] diff --git a/dom/broadcastchannel/moz.build b/dom/broadcastchannel/moz.build index 7f90def50ed3..573686bf3082 100644 --- a/dom/broadcastchannel/moz.build +++ b/dom/broadcastchannel/moz.build @@ -22,7 +22,7 @@ IPDL_SOURCES += [ "PBroadcastChannel.ipdl", ] -MOCHITEST_MANIFESTS += ["tests/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] BROWSER_CHROME_MANIFESTS += ["tests/browser.toml"] include("/ipc/chromium/chromium-config.mozbuild") diff --git a/dom/broadcastchannel/tests/mochitest.ini b/dom/broadcastchannel/tests/mochitest.ini deleted file mode 100644 index 618eab58efab..000000000000 --- a/dom/broadcastchannel/tests/mochitest.ini +++ /dev/null @@ -1,29 +0,0 @@ -[DEFAULT] -support-files = - iframe_broadcastchannel.html - broadcastchannel_sharedWorker.js - broadcastchannel_worker_alive.js - !/dom/events/test/event_leak_utils.js - file_mozbrowser.html - file_mozbrowser2.html - iframe_mozbrowser.html - iframe_mozbrowser2.html - testUrl1_bfcache.html - testUrl2_bfcache.html - -[test_broadcastchannel_basic.html] -skip-if = - http3 - http2 -[test_broadcastchannel_close.html] -[test_broadcastchannel_self.html] -[test_broadcastchannel_sharedWorker.html] -[test_broadcastchannel_worker_alive.html] -[test_bfcache.html] -[test_event_listener_leaks.html] -skip-if = (os == "win" && processor == "aarch64") #bug 1535784 -[test_invalidState.html] -[test_ordering.html] -[test_dataCloning.html] -[test_dataURL.html] -[test_message_after_close.html] diff --git a/dom/broadcastchannel/tests/mochitest.toml b/dom/broadcastchannel/tests/mochitest.toml new file mode 100644 index 000000000000..40264f7a3d3e --- /dev/null +++ b/dom/broadcastchannel/tests/mochitest.toml @@ -0,0 +1,41 @@ +[DEFAULT] +support-files = [ + "iframe_broadcastchannel.html", + "broadcastchannel_sharedWorker.js", + "broadcastchannel_worker_alive.js", + "!/dom/events/test/event_leak_utils.js", + "file_mozbrowser.html", + "file_mozbrowser2.html", + "iframe_mozbrowser.html", + "iframe_mozbrowser2.html", + "testUrl1_bfcache.html", + "testUrl2_bfcache.html", +] + +["test_bfcache.html"] + +["test_broadcastchannel_basic.html"] +skip-if = [ + "http3", + "http2", +] + +["test_broadcastchannel_close.html"] + +["test_broadcastchannel_self.html"] + +["test_broadcastchannel_sharedWorker.html"] + +["test_broadcastchannel_worker_alive.html"] + +["test_dataCloning.html"] + +["test_dataURL.html"] + +["test_event_listener_leaks.html"] + +["test_invalidState.html"] + +["test_message_after_close.html"] + +["test_ordering.html"] diff --git a/dom/cache/moz.build b/dom/cache/moz.build index 28b0d4376a05..a26724955a75 100644 --- a/dom/cache/moz.build +++ b/dom/cache/moz.build @@ -87,7 +87,7 @@ include("/ipc/chromium/chromium-config.mozbuild") FINAL_LIBRARY = "xul" MOCHITEST_MANIFESTS += [ - "test/mochitest/mochitest.ini", + "test/mochitest/mochitest.toml", ] BROWSER_CHROME_MANIFESTS += [ diff --git a/dom/cache/test/mochitest/mochitest.ini b/dom/cache/test/mochitest/mochitest.ini deleted file mode 100644 index ddd776882ae4..000000000000 --- a/dom/cache/test/mochitest/mochitest.ini +++ /dev/null @@ -1,74 +0,0 @@ -[DEFAULT] -tags = condprof -support-files = - test_cache.js - test_cache_add.js - worker_driver.js - worker_wrapper.js - frame.html - message_receiver.html - driver.js - serviceworker_driver.js - test_cache_match_request.js - test_cache_matchAll_request.js - test_cache_overwrite.js - mirror.sjs - test_cache_match_vary.js - vary.sjs - test_caches.js - test_cache_keys.js - test_cache_put.js - test_cache_requestCache.js - test_cache_delete.js - test_cache_put_reorder.js - test_cache_redirect.js - test_cache_https.js - large_url_list.js - empty.html - idle_worker.js - -# Disabled on xorigin because xorigin mode causes the tests to run in what -# amounts to third-party iframes. We have separate tests for our behaviors -# in that case (usually as "browser" tests) and do not want to complicate -# these normal functionality tests. -skip-if = xorigin - -[test_cache.html] -[test_cache_add.html] -[test_cache_match_request.html] -[test_cache_matchAll_request.html] -[test_cache_overwrite.html] -skip-if = - http3 - http2 -[test_cache_match_vary.html] -[test_caches.html] -[test_cache_keys.html] -[test_cache_put.html] -[test_cache_requestCache.html] -[test_cache_delete.html] -[test_cache_put_reorder.html] -[test_cache_https.html] -[test_cache_redirect.html] -[test_cache_restart.html] -[test_cache_shrink.html] -[test_cache_orphaned_cache.html] -[test_cache_orphaned_body.html] -scheme=https -skip-if = - os == "linux" && bits == 64 && debug # Bug 1749068 -[test_cache_padding.html] -skip-if = verify - os == 'android' # bug 1468434 for android - condprof #: "The opaque response should be removed by caches.delete() and cache.delete()" -[test_cache_untrusted.html] -skip-if = - http3 - http2 -[test_cache_updateUsage.html] -[test_chrome_constructor.html] -[test_cache_worker_gc.html] -scheme=https -skip-if = - os == "linux" && bits == 64 && debug # Bug 1749068 -[test_cache_tons_of_fd.html] diff --git a/dom/cache/test/mochitest/mochitest.toml b/dom/cache/test/mochitest/mochitest.toml new file mode 100644 index 000000000000..339168382791 --- /dev/null +++ b/dom/cache/test/mochitest/mochitest.toml @@ -0,0 +1,100 @@ +[DEFAULT] +tags = "condprof" +support-files = [ + "test_cache.js", + "test_cache_add.js", + "worker_driver.js", + "worker_wrapper.js", + "frame.html", + "message_receiver.html", + "driver.js", + "serviceworker_driver.js", + "test_cache_match_request.js", + "test_cache_matchAll_request.js", + "test_cache_overwrite.js", + "mirror.sjs", + "test_cache_match_vary.js", + "vary.sjs", + "test_caches.js", + "test_cache_keys.js", + "test_cache_put.js", + "test_cache_requestCache.js", + "test_cache_delete.js", + "test_cache_put_reorder.js", + "test_cache_redirect.js", + "test_cache_https.js", + "large_url_list.js", + "empty.html", + "idle_worker.js", +] + +# Disabled on xorigin because xorigin mode causes the tests to run in what +# amounts to third-party iframes. We have separate tests for our behaviors +# in that case (usually as "browser" tests) and do not want to complicate +# these normal functionality tests. +skip-if = ["xorigin"] + +["test_cache.html"] + +["test_cache_add.html"] + +["test_cache_delete.html"] + +["test_cache_https.html"] + +["test_cache_keys.html"] + +["test_cache_matchAll_request.html"] + +["test_cache_match_request.html"] + +["test_cache_match_vary.html"] + +["test_cache_orphaned_body.html"] +scheme = "https" +skip-if = ["os == 'linux' && bits == 64 && debug"] # Bug 1749068 + +["test_cache_orphaned_cache.html"] + +["test_cache_overwrite.html"] +skip-if = [ + "http3", + "http2", +] + +["test_cache_padding.html"] +skip-if = [ + "verify", + "os == 'android'", # bug 1468434 for android + "condprof", #: "The opaque response should be removed by caches.delete() and cache.delete()" +] + +["test_cache_put.html"] + +["test_cache_put_reorder.html"] + +["test_cache_redirect.html"] + +["test_cache_requestCache.html"] + +["test_cache_restart.html"] + +["test_cache_shrink.html"] + +["test_cache_tons_of_fd.html"] + +["test_cache_untrusted.html"] +skip-if = [ + "http3", + "http2", +] + +["test_cache_updateUsage.html"] + +["test_cache_worker_gc.html"] +scheme = "https" +skip-if = ["os == 'linux' && bits == 64 && debug"] # Bug 1749068 + +["test_caches.html"] + +["test_chrome_constructor.html"] diff --git a/dom/canvas/moz.build b/dom/canvas/moz.build index f0696edf84f6..414f92511277 100644 --- a/dom/canvas/moz.build +++ b/dom/canvas/moz.build @@ -32,11 +32,11 @@ with Files("test/crossorigin/*webgl*"): # * Adjust failure errata for webgl-conf. MOCHITEST_MANIFESTS += [ - "test/crash/mochitest.ini", - "test/crossorigin/mochitest.ini", - "test/mochitest.ini", + "test/crash/mochitest.toml", + "test/crossorigin/mochitest.toml", + "test/mochitest.toml", "test/webgl-conf/generated-mochitest.ini", - "test/webgl-mochitest/mochitest.ini", + "test/webgl-mochitest/mochitest.toml", ] MOCHITEST_CHROME_MANIFESTS += ["test/chrome/chrome.toml"] diff --git a/dom/canvas/test/crash/mochitest.ini b/dom/canvas/test/crash/mochitest.ini deleted file mode 100644 index c9cdcc0e14aa..000000000000 --- a/dom/canvas/test/crash/mochitest.ini +++ /dev/null @@ -1,17 +0,0 @@ -[DEFAULT] -subsuite = webgl1-core -support-files = - file_bug1233613.html - file_texImage2D.html - file_616401.html - file_798802-1.html - file_1251091-1.html - 1251091-1.png - -[test_bug1233613.html] -[test_texImage2D.html] -[test_616401.html] -[test_798802-1.html] -[test_1251091-1.html] -[test_createImageBitmap-video.html] -skip-if = win10_2004 && debug # Bug 1715832 diff --git a/dom/canvas/test/crash/mochitest.toml b/dom/canvas/test/crash/mochitest.toml new file mode 100644 index 000000000000..edae2c63f6c6 --- /dev/null +++ b/dom/canvas/test/crash/mochitest.toml @@ -0,0 +1,22 @@ +[DEFAULT] +subsuite = "webgl1-core" +support-files = [ + "file_bug1233613.html", + "file_texImage2D.html", + "file_616401.html", + "file_798802-1.html", + "file_1251091-1.html", + "1251091-1.png", +] + +["test_1251091-1.html"] + +["test_616401.html"] + +["test_798802-1.html"] + +["test_bug1233613.html"] + +["test_createImageBitmap-video.html"] + +["test_texImage2D.html"] diff --git a/dom/canvas/test/crossorigin/mochitest.ini b/dom/canvas/test/crossorigin/mochitest.ini deleted file mode 100644 index 61d87b435018..000000000000 --- a/dom/canvas/test/crossorigin/mochitest.ini +++ /dev/null @@ -1,17 +0,0 @@ -[DEFAULT] -support-files = - image-allow-credentials.png - image-allow-credentials.png^headers^ - image-allow-star.png - image-allow-star.png^headers^ - image.png - video.sjs - -[test_canvas2d_crossorigin.html] -skip-if = - http3 - http2 -[test_video_crossorigin.html] -subsuite = gpu -[test_webgl_crossorigin_textures.html] -subsuite = gpu diff --git a/dom/canvas/test/crossorigin/mochitest.toml b/dom/canvas/test/crossorigin/mochitest.toml new file mode 100644 index 000000000000..e45b2624cd7c --- /dev/null +++ b/dom/canvas/test/crossorigin/mochitest.toml @@ -0,0 +1,22 @@ +[DEFAULT] +support-files = [ + "image-allow-credentials.png", + "image-allow-credentials.png^headers^", + "image-allow-star.png", + "image-allow-star.png^headers^", + "image.png", + "video.sjs", +] + +["test_canvas2d_crossorigin.html"] +skip-if = [ + "http3", + "http2", +] + +["test_video_crossorigin.html"] +subsuite = "gpu" + +["test_webgl_crossorigin_textures.html"] +subsuite = "gpu" + diff --git a/dom/canvas/test/mochitest.ini b/dom/canvas/test/mochitest.ini deleted file mode 100644 index 150218dbb6fa..000000000000 --- a/dom/canvas/test/mochitest.ini +++ /dev/null @@ -1,210 +0,0 @@ -[DEFAULT] -support-files = - file_drawImage_document_domain.html - image_anim-gr.gif - image_anim-gr.png - image_anim-poster-gr.png - image_broken.png - image_error-early.png - image_ggrr-256x256.png - image_green-16x16.png - image_green-1x1.png - image_green-redirect - image_green-redirect^headers^ - image_green.png - image_red-16x16.png - image_red.png - image_red_crossorigin_credentials.png - image_red_crossorigin_credentials.png^headers^ - image_redtransparent.png - image_rgrg-256x256.png - image_rrgg-256x256.png - image_transparent.png - image_transparent50.png - image_yellow.png - image_yellow75.png - image_roundrectangle.svg - imagebitmap_bug1239300.js - imagebitmap_bug1239752.js - imagebitmap_on_worker.js - imagebitmap_structuredclone.js - imagebitmap_structuredclone_iframe.html - imagebitmap_structuredclone_utils.js - offscreencanvas.js - offscreencanvas_mask.svg - offscreencanvas_neuter.js - offscreencanvas_serviceworker_inner.html - crossorigin/image.png - crossorigin/video.sjs - ../../media/test/320x240.ogv - -[test_2d.clearRect.image.offscreen.html] -[test_2d.clip.winding.html] -[test_2d.composite.canvas.color-burn.html] -[test_2d.composite.canvas.color-dodge.html] -[test_2d.composite.canvas.color.html] -[test_2d.composite.canvas.darken.html] -[test_2d.composite.canvas.difference.html] -[test_2d.composite.canvas.exclusion.html] -[test_2d.composite.canvas.hard-light.html] -[test_2d.composite.canvas.hue.html] -[test_2d.composite.canvas.lighten.html] -[test_2d.composite.canvas.luminosity.html] -[test_2d.composite.canvas.multiply.html] -[test_2d.composite.canvas.overlay.html] -[test_2d.composite.canvas.saturation.html] -[test_2d.composite.canvas.screen.html] -[test_2d.composite.canvas.soft-light.html] -[test_2d.composite.solid.color-burn.html] -[test_2d.composite.solid.color-dodge.html] -[test_2d.composite.solid.color.html] -[test_2d.composite.solid.darken.html] -[test_2d.composite.solid.difference.html] -[test_2d.composite.solid.exclusion.html] -[test_2d.composite.solid.hard-light.html] -[test_2d.composite.solid.hue.html] -[test_2d.composite.solid.lighten.html] -[test_2d.composite.solid.luminosity.html] -[test_2d.composite.solid.multiply.html] -[test_2d.composite.solid.overlay.html] -[test_2d.composite.solid.saturation.html] -[test_2d.composite.solid.screen.html] -[test_2d.composite.solid.soft-light.html] -[test_2d.composite.uncovered.fill.color-burn.html] -[test_2d.composite.uncovered.fill.color-dodge.html] -[test_2d.composite.uncovered.fill.color.html] -[test_2d.composite.uncovered.fill.darken.html] -[test_2d.composite.uncovered.fill.difference.html] -[test_2d.composite.uncovered.fill.exclusion.html] -[test_2d.composite.uncovered.fill.hard-light.html] -[test_2d.composite.uncovered.fill.hue.html] -[test_2d.composite.uncovered.fill.lighten.html] -[test_2d.composite.uncovered.fill.luminosity.html] -[test_2d.composite.uncovered.fill.multiply.html] -[test_2d.composite.uncovered.fill.overlay.html] -[test_2d.composite.uncovered.fill.saturation.html] -[test_2d.composite.uncovered.fill.screen.html] -[test_2d.composite.uncovered.fill.soft-light.html] -[test_2d.drawImage.zerocanvas.html] -[test_2d.fill.winding.html] -[test_2d.fill.pattern.imageSmoothingEnabled.html] -[test_2d.gradient.radial.cone.shape2.html] -[test_2d.gradient.radial.cone.behind.html] -[test_2d.gradient.radial.cone.beside.html] -[test_2d.gradient.radial.inside2.html] -[test_2d.gradient.radial.inside3.html] -[test_2d.gradient.radial.outside1.html] -[test_2d.gradient.radial.cone.front.html] -[test_2d.gradient.radial.cone.top.html] -[test_2d.gradient.radial.outside2.html] -[test_2d.gradient.radial.outside3.html] -[test_2d.gradient.radial.touch1.html] -[test_2d.gradient.radial.touch2.html] -[test_2d.gradient.radial.touch3.html] -[test_2d.gradient.radial.equal.html] -[test_2d.isPointInPath.winding.html] -[test_2d.line.cap.closed.html] -[test_2d.line.join.parallel.html] -[test_2d.path.arc.shape.3.html] -[test_2d.path.rect.selfintersect.html] -[test_2d.strokeRect.zero.5.html] -[test_bitmaprenderer.html] -[test_bug232227.html] -[test_bug613794.html] -[test_bug764125.html] -[test_bug856472.html] -[test_bug866575.html] -[test_bug902651.html] -[test_bug1215072.html] -[test_bug1567544.html] -subsuite = gpu -[test_canvas.html] -subsuite = gpu -[test_canvas_focusring.html] -[test_canvas_font_setter.html] -[test_canvas_path.html] -[test_canvas_strokeStyle_getter.html] -[test_capture.html] -support-files = captureStream_common.js -[test_capture_throttled.html] -support-files = captureStream_common.js -skip-if = (toolkit == 'android') # bug 1752351 -[test_drawImageIncomplete.html] -[test_drawImage_document_domain.html] -[test_drawImage_edge_cases.html] -[test_drawWindow.html] -support-files = file_drawWindow_source.html file_drawWindow_common.js -[test_drawSnapshot.html] -support-files = file_drawWindow_source.html file_drawWindow_common.js -[test_drawSnapshot_fixed.html] -[test_imagebitmap.html] -tags = imagebitmap -[test_imagebitmap_close.html] -tags = imagebitmap -[test_imagebitmap_cropping.html] -tags = imagebitmap -[test_imagebitmap_structuredclone.html] -tags = imagebitmap -[test_imagebitmap_structuredclone_iframe.html] -tags = imagebitmap -[test_imagebitmap_structuredclone_window.html] -tags = imagebitmap -[test_imagebitmap_transfer.html] -tags = imagebitmap -[test_ImageData_ctor.html] -[test_isPointInStroke.html] -[test_strokeText_throw.html] -[test_toBlob.html] -[test_toBlob_zero_dimension.html] -[test_toDataURL_alpha.html] -[test_toDataURL_lowercase_ascii.html] -[test_toDataURL_parameters.html] -[test_toDataURL_parameters_png.html] -[test_windingRuleUndefined.html] -[test_2d.fillText.gradient.html] -[test_2d_composite_canvaspattern_setTransform.html] -[test_filter.html] -[test_filter_tainted.html] -[test_offscreencanvas_font.html] -[test_offscreencanvas_toblob.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_offscreencanvas_toimagebitmap.html] -subsuite = gpu -tags = offscreencanvas -# https://bugzilla.mozilla.org/show_bug.cgi?id=1795521 -skip-if = (toolkit == 'android' && debug) -[test_offscreencanvas_basic_webgl.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_offscreencanvas_dynamic_fallback.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_offscreencanvas_sharedworker.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_offscreencanvas_serviceworker.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_offscreencanvas_neuter.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_offscreencanvas_many.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_offscreencanvas_sizechange.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_offscreencanvas_subworker.html] -subsuite = gpu -tags = offscreencanvas -skip-if = 1 -[test_invalid_mime_type_blob.html] diff --git a/dom/canvas/test/mochitest.toml b/dom/canvas/test/mochitest.toml new file mode 100644 index 000000000000..1ba863e52305 --- /dev/null +++ b/dom/canvas/test/mochitest.toml @@ -0,0 +1,341 @@ +[DEFAULT] +support-files = [ + "file_drawImage_document_domain.html", + "image_anim-gr.gif", + "image_anim-gr.png", + "image_anim-poster-gr.png", + "image_broken.png", + "image_error-early.png", + "image_ggrr-256x256.png", + "image_green-16x16.png", + "image_green-1x1.png", + "image_green-redirect", + "image_green-redirect^headers^", + "image_green.png", + "image_red-16x16.png", + "image_red.png", + "image_red_crossorigin_credentials.png", + "image_red_crossorigin_credentials.png^headers^", + "image_redtransparent.png", + "image_rgrg-256x256.png", + "image_rrgg-256x256.png", + "image_transparent.png", + "image_transparent50.png", + "image_yellow.png", + "image_yellow75.png", + "image_roundrectangle.svg", + "imagebitmap_bug1239300.js", + "imagebitmap_bug1239752.js", + "imagebitmap_on_worker.js", + "imagebitmap_structuredclone.js", + "imagebitmap_structuredclone_iframe.html", + "imagebitmap_structuredclone_utils.js", + "offscreencanvas.js", + "offscreencanvas_mask.svg", + "offscreencanvas_neuter.js", + "offscreencanvas_serviceworker_inner.html", + "crossorigin/image.png", + "crossorigin/video.sjs", + "../../media/test/320x240.ogv", +] + +["test_2d.clearRect.image.offscreen.html"] + +["test_2d.clip.winding.html"] + +["test_2d.composite.canvas.color-burn.html"] + +["test_2d.composite.canvas.color-dodge.html"] + +["test_2d.composite.canvas.color.html"] + +["test_2d.composite.canvas.darken.html"] + +["test_2d.composite.canvas.difference.html"] + +["test_2d.composite.canvas.exclusion.html"] + +["test_2d.composite.canvas.hard-light.html"] + +["test_2d.composite.canvas.hue.html"] + +["test_2d.composite.canvas.lighten.html"] + +["test_2d.composite.canvas.luminosity.html"] + +["test_2d.composite.canvas.multiply.html"] + +["test_2d.composite.canvas.overlay.html"] + +["test_2d.composite.canvas.saturation.html"] + +["test_2d.composite.canvas.screen.html"] + +["test_2d.composite.canvas.soft-light.html"] + +["test_2d.composite.solid.color-burn.html"] + +["test_2d.composite.solid.color-dodge.html"] + +["test_2d.composite.solid.color.html"] + +["test_2d.composite.solid.darken.html"] + +["test_2d.composite.solid.difference.html"] + +["test_2d.composite.solid.exclusion.html"] + +["test_2d.composite.solid.hard-light.html"] + +["test_2d.composite.solid.hue.html"] + +["test_2d.composite.solid.lighten.html"] + +["test_2d.composite.solid.luminosity.html"] + +["test_2d.composite.solid.multiply.html"] + +["test_2d.composite.solid.overlay.html"] + +["test_2d.composite.solid.saturation.html"] + +["test_2d.composite.solid.screen.html"] + +["test_2d.composite.solid.soft-light.html"] + +["test_2d.composite.uncovered.fill.color-burn.html"] + +["test_2d.composite.uncovered.fill.color-dodge.html"] + +["test_2d.composite.uncovered.fill.color.html"] + +["test_2d.composite.uncovered.fill.darken.html"] + +["test_2d.composite.uncovered.fill.difference.html"] + +["test_2d.composite.uncovered.fill.exclusion.html"] + +["test_2d.composite.uncovered.fill.hard-light.html"] + +["test_2d.composite.uncovered.fill.hue.html"] + +["test_2d.composite.uncovered.fill.lighten.html"] + +["test_2d.composite.uncovered.fill.luminosity.html"] + +["test_2d.composite.uncovered.fill.multiply.html"] + +["test_2d.composite.uncovered.fill.overlay.html"] + +["test_2d.composite.uncovered.fill.saturation.html"] + +["test_2d.composite.uncovered.fill.screen.html"] + +["test_2d.composite.uncovered.fill.soft-light.html"] + +["test_2d.drawImage.zerocanvas.html"] + +["test_2d.fill.pattern.imageSmoothingEnabled.html"] + +["test_2d.fill.winding.html"] + +["test_2d.fillText.gradient.html"] + +["test_2d.gradient.radial.cone.behind.html"] + +["test_2d.gradient.radial.cone.beside.html"] + +["test_2d.gradient.radial.cone.front.html"] + +["test_2d.gradient.radial.cone.shape2.html"] + +["test_2d.gradient.radial.cone.top.html"] + +["test_2d.gradient.radial.equal.html"] + +["test_2d.gradient.radial.inside2.html"] + +["test_2d.gradient.radial.inside3.html"] + +["test_2d.gradient.radial.outside1.html"] + +["test_2d.gradient.radial.outside2.html"] + +["test_2d.gradient.radial.outside3.html"] + +["test_2d.gradient.radial.touch1.html"] + +["test_2d.gradient.radial.touch2.html"] + +["test_2d.gradient.radial.touch3.html"] + +["test_2d.isPointInPath.winding.html"] + +["test_2d.line.cap.closed.html"] + +["test_2d.line.join.parallel.html"] + +["test_2d.path.arc.shape.3.html"] + +["test_2d.path.rect.selfintersect.html"] + +["test_2d.strokeRect.zero.5.html"] + +["test_2d_composite_canvaspattern_setTransform.html"] + +["test_ImageData_ctor.html"] + +["test_bitmaprenderer.html"] + +["test_bug232227.html"] + +["test_bug613794.html"] + +["test_bug764125.html"] + +["test_bug856472.html"] + +["test_bug866575.html"] + +["test_bug902651.html"] + +["test_bug1215072.html"] + +["test_bug1567544.html"] +subsuite = "gpu" + +["test_canvas.html"] +subsuite = "gpu" + +["test_canvas_focusring.html"] + +["test_canvas_font_setter.html"] + +["test_canvas_path.html"] + +["test_canvas_strokeStyle_getter.html"] + +["test_capture.html"] +support-files = ["captureStream_common.js"] + +["test_capture_throttled.html"] +support-files = ["captureStream_common.js"] +skip-if = ["os == 'android'"] # bug 1752351 + +["test_drawImageIncomplete.html"] + +["test_drawImage_document_domain.html"] + +["test_drawImage_edge_cases.html"] + +["test_drawSnapshot.html"] +support-files = [ + "file_drawWindow_source.html", + "file_drawWindow_common.js", +] + +["test_drawSnapshot_fixed.html"] + +["test_drawWindow.html"] +support-files = [ + "file_drawWindow_source.html", + "file_drawWindow_common.js", +] + +["test_filter.html"] + +["test_filter_tainted.html"] + +["test_imagebitmap.html"] +tags = "imagebitmap" + +["test_imagebitmap_close.html"] +tags = "imagebitmap" + +["test_imagebitmap_cropping.html"] +tags = "imagebitmap" + +["test_imagebitmap_structuredclone.html"] +tags = "imagebitmap" + +["test_imagebitmap_structuredclone_iframe.html"] +tags = "imagebitmap" + +["test_imagebitmap_structuredclone_window.html"] +tags = "imagebitmap" + +["test_imagebitmap_transfer.html"] +tags = "imagebitmap" + +["test_invalid_mime_type_blob.html"] + +["test_isPointInStroke.html"] + +["test_offscreencanvas_basic_webgl.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_dynamic_fallback.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_font.html"] + +["test_offscreencanvas_many.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_neuter.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_serviceworker.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_sharedworker.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_sizechange.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_subworker.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_toblob.html"] +subsuite = "gpu" +tags = "offscreencanvas" +skip-if = ["true"] + +["test_offscreencanvas_toimagebitmap.html"] +subsuite = "gpu" +tags = "offscreencanvas" +# https://bugzilla.mozilla.org/show_bug.cgi?id=1795521 +skip-if = ["os == 'android' && debug"] + +["test_strokeText_throw.html"] + +["test_toBlob.html"] + +["test_toBlob_zero_dimension.html"] + +["test_toDataURL_alpha.html"] + +["test_toDataURL_lowercase_ascii.html"] + +["test_toDataURL_parameters.html"] + +["test_toDataURL_parameters_png.html"] + +["test_windingRuleUndefined.html"] diff --git a/dom/canvas/test/webgl-mochitest/mochitest.ini b/dom/canvas/test/webgl-mochitest/mochitest.ini deleted file mode 100644 index 36ef64bedbbb..000000000000 --- a/dom/canvas/test/webgl-mochitest/mochitest.ini +++ /dev/null @@ -1,133 +0,0 @@ -[DEFAULT] -subsuite = webgl1-core - -support-files = - ensure-exts/ensure-ext.js - driver-info.js - es3-data.js - webgl-util.js - test_video_fastpath.js - red-green.mp4 - red-green.theora.ogv - red-green.webmvp8.webm - red-green.webmvp9.webm - -[ensure-exts/test_ANGLE_instanced_arrays.html] -[ensure-exts/test_EXT_blend_minmax.html] -[ensure-exts/test_EXT_color_buffer_half_float.html] -[ensure-exts/test_EXT_disjoint_timer_query.html] -fail-if = 1 -[ensure-exts/test_EXT_float_blend.html] -[ensure-exts/test_EXT_frag_depth.html] -fail-if = (os == 'android') -[ensure-exts/test_EXT_sRGB.html] -[ensure-exts/test_EXT_shader_texture_lod.html] -fail-if = (os == 'android') -[ensure-exts/test_EXT_texture_compression_bptc.html] -fail-if = (os == 'android') || (os == 'linux' && os_version == '16.04') || (os == 'mac') -[ensure-exts/test_EXT_texture_compression_rgtc.html] -fail-if = (os == 'android') -[ensure-exts/test_EXT_texture_filter_anisotropic.html] -fail-if = (os == 'linux' && display != 'wayland') -[ensure-exts/test_OES_draw_buffers_indexed.html] -[ensure-exts/test_OES_fbo_render_mipmap.html] -[ensure-exts/test_OES_standard_derivatives.html] -[ensure-exts/test_OVR_multiview2.html] -fail-if = (os == 'linux') || (os == 'mac') -[ensure-exts/test_WEBGL_color_buffer_float.html] -[ensure-exts/test_WEBGL_compressed_texture_astc.html] -fail-if = (os == 'linux' && os_version == '16.04') || (os == 'mac') || (os == 'win') -[ensure-exts/test_WEBGL_compressed_texture_etc.html] -fail-if = (os == 'mac') || (os == 'win') -[ensure-exts/test_WEBGL_compressed_texture_etc1.html] -fail-if = (os == 'linux') || (os == 'mac') || (os == 'win') -[ensure-exts/test_WEBGL_compressed_texture_pvrtc.html] -fail-if = (os == 'android') || (os == 'linux') || (os == 'mac') || (os == 'win') -[ensure-exts/test_WEBGL_compressed_texture_s3tc.html] -fail-if = (os == 'android') -[ensure-exts/test_WEBGL_depth_texture.html] -[ensure-exts/test_WEBGL_draw_buffers.html] -fail-if = (os == 'android') -[ensure-exts/test_WEBGL_provoking_vertex.html] -fail-if = (os == 'android') || (os == 'linux') - -[ensure-exts/test_common.html] -[ensure-exts/test_implicit.html] - - -[regress/test_bug_1268096.html] - - -[test_backends.html] -[test_backbuffer_channels.html] -[test_depth_readpixels.html] -[test_canvas_size.html] -[test_capture.html] -skip-if = os == 'win' && debug # Bug 1388624 -support-files = ../captureStream_common.js -# Even though we use ../ here, in the test HTML, we need to omit this. Sub-CWD relative -# paths are fine, but they locate the file and dump it in the current directory. -[test_cubemap_must_be_square.html] -[test_depth_tex_lazy_clear.html] -[test_draw.html] -[test_draw_fakevert_large_offset.html] -[test_fb_param.html] -[test_fb_param_crash.html] -[test_has_rbab.html] -fail-if = (os == 'android' && android_version == "26") || (os == 'linux') || (os == 'mac') -[test_hidden_alpha.html] -[test_hidden_depth_stencil.html] -[test_imagedata_transfered_arraybuffer.html] -[test_implicit_color_buffer_float.html] -[test_highp_fs.html] -[test_no_arr_points.html] -[test_noprog_draw.html] -[test_pixel_pack_buffer.html] -# skip-if = os == "win" && os_version == "10.0" # Bug 1302199 -skip-if = - (os == "win") # Unofficial DXGL support regressed by bug 1632249 - apple_silicon -[test_privileged_exts.html] -[test_read_pixels_no_format.html] -[test_renderer_strings.html] -skip-if = - display == 'wayland' -[test_sab_with_webgl.html] -[test_tex_large_uploads.html] -skip-if = - (os == "win") && debug && (bits == 32) # bug 1705863 -support-files = blank_15000x10000.png -[test_tex_pbo.html] -[test_tex_unit_different_sampler_types.html] -[test_texsubimage_float.html] -[test_uninit_data.html] -[test_webgl_available.html] -[test_webgl_compressed_texture_es3.html] -skip-if = (os == 'android') -# 2020-01-07 00:00:11.839 F/MOZ_Assert( 6742): Assertion failure: [GFX1]: void mozilla::gl::GLContext::raw_fClear(GLbitfield): Generated unexpected GL_OUT_OF_MEMORY error, at /builds/worker/workspace/build/src/gfx/2d/Logging.h:746 -# 2020-01-07 00:01:28.281 F/MOZ_Assert( 8333): Assertion failure: [GFX1]: Unexpected error from driver: DoCompressedTexSubImage(0x0de1, 0, 0,4,0, 4,4,1, 0x9270, 8) -> 0x0501, at /builds/worker/workspace/build/src/gfx/2d/Logging.h:746 -[test_webgl_force_enable.html] -[test_webgl_request_context.html] -skip-if = toolkit == 'android' #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests -[test_webgl_request_mismatch.html] -skip-if = toolkit == 'android' #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests -[test_webgl2_not_exposed.html] -skip-if = toolkit == 'android' #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests -[test_webgl2_invalidate_framebuffer.html] -skip-if = toolkit == 'android' #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests -[test_webgl2_alpha_luminance.html] -skip-if = toolkit == 'android' #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests -[test_webgl2_uniform_block.html] -[test_fuzzing_bugs.html] -[test_video_fastpath_mp4.html] -skip-if = (os == 'win') && (bits == 32) # No fast video path for h264 decoder (done in RDD, can't be read in content) -[test_video_fastpath_theora.html] -skip-if = (os == 'linux') || (os == "mac") || ((os == 'win') && (bits == 32)) # No fast video path for theora decoder (done in RDD, can't be read in content) -[test_video_fastpath_vp8.html] -skip-if = (os == 'linux') || (os == "mac") || ((os == 'win') && (bits == 32)) # No fast video path for vp8 decoder (done in RDD, can't be read in content) -[test_video_fastpath_vp9.html] -skip-if = (os == 'linux') || (os == "mac") || ((os == 'win') && (bits == 32)) # No fast video path for vp9 decoder (done in RDD, can't be read in content) -[test_webglcontextcreationerror.html] -[test_webgl_fingerprinting_resistance.html] -[test_without_index_validation.html] -[test_vertexattrib4f_update.html] diff --git a/dom/canvas/test/webgl-mochitest/mochitest.toml b/dom/canvas/test/webgl-mochitest/mochitest.toml new file mode 100644 index 000000000000..587c80df987a --- /dev/null +++ b/dom/canvas/test/webgl-mochitest/mochitest.toml @@ -0,0 +1,243 @@ +[DEFAULT] +subsuite = "webgl1-core" + +support-files = [ + "ensure-exts/ensure-ext.js", + "driver-info.js", + "es3-data.js", + "webgl-util.js", + "test_video_fastpath.js", + "red-green.mp4", + "red-green.theora.ogv", + "red-green.webmvp8.webm", + "red-green.webmvp9.webm", +] + +["ensure-exts/test_ANGLE_instanced_arrays.html"] + +["ensure-exts/test_EXT_blend_minmax.html"] + +["ensure-exts/test_EXT_color_buffer_half_float.html"] + +["ensure-exts/test_EXT_disjoint_timer_query.html"] +fail-if = ["true"] + +["ensure-exts/test_EXT_float_blend.html"] + +["ensure-exts/test_EXT_frag_depth.html"] +fail-if = ["os == 'android'"] + +["ensure-exts/test_EXT_sRGB.html"] + +["ensure-exts/test_EXT_shader_texture_lod.html"] +fail-if = ["os == 'android'"] + +["ensure-exts/test_EXT_texture_compression_bptc.html"] +fail-if = [ + "os == 'android'", + "os == 'mac'", +] + +["ensure-exts/test_EXT_texture_compression_rgtc.html"] +fail-if = ["os == 'android'"] + +["ensure-exts/test_EXT_texture_filter_anisotropic.html"] +fail-if = ["os == 'linux' && display != 'wayland'"] + +["ensure-exts/test_OES_draw_buffers_indexed.html"] + +["ensure-exts/test_OES_fbo_render_mipmap.html"] + +["ensure-exts/test_OES_standard_derivatives.html"] + +["ensure-exts/test_OVR_multiview2.html"] +fail-if = [ + "os == 'linux'", + "os == 'mac'", +] + +["ensure-exts/test_WEBGL_color_buffer_float.html"] + +["ensure-exts/test_WEBGL_compressed_texture_astc.html"] +fail-if = [ + "os == 'mac'", + "os == 'win'", +] + +["ensure-exts/test_WEBGL_compressed_texture_etc.html"] +fail-if = [ + "os == 'mac'", + "os == 'win'", +] + +["ensure-exts/test_WEBGL_compressed_texture_etc1.html"] +fail-if = [ + "os == 'linux'", + "os == 'mac'", + "os == 'win'", +] + +["ensure-exts/test_WEBGL_compressed_texture_pvrtc.html"] +fail-if = [ + "os == 'android'", + "os == 'linux'", + "os == 'mac'", + "os == 'win'", +] + +["ensure-exts/test_WEBGL_compressed_texture_s3tc.html"] +fail-if = ["os == 'android'"] + +["ensure-exts/test_WEBGL_depth_texture.html"] + +["ensure-exts/test_WEBGL_draw_buffers.html"] +fail-if = ["os == 'android'"] + +["ensure-exts/test_WEBGL_provoking_vertex.html"] +fail-if = [ + "os == 'android'", + "os == 'linux'", +] + +["ensure-exts/test_common.html"] + +["ensure-exts/test_implicit.html"] + + +["regress/test_bug_1268096.html"] + + +["test_backbuffer_channels.html"] + +["test_backends.html"] + +["test_canvas_size.html"] + +["test_capture.html"] +skip-if = ["os == 'win' && debug"] # Bug 1388624 +support-files = ["../captureStream_common.js"] +# Even though we use ../ here, in the test HTML, we need to omit this. Sub-CWD relative +# paths are fine, but they locate the file and dump it in the current directory. + +["test_cubemap_must_be_square.html"] + +["test_depth_readpixels.html"] + +["test_depth_tex_lazy_clear.html"] + +["test_draw.html"] + +["test_draw_fakevert_large_offset.html"] + +["test_fb_param.html"] + +["test_fb_param_crash.html"] + +["test_fuzzing_bugs.html"] + +["test_has_rbab.html"] +fail-if = [ + "os == 'android' && android_version == '26'", + "os == 'linux'", + "os == 'mac'", +] + +["test_hidden_alpha.html"] + +["test_hidden_depth_stencil.html"] + +["test_highp_fs.html"] + +["test_imagedata_transfered_arraybuffer.html"] + +["test_implicit_color_buffer_float.html"] + +["test_no_arr_points.html"] + +["test_noprog_draw.html"] + +["test_pixel_pack_buffer.html"] +# skip-if = os == "win" && os_version == "10.0" # Bug 1302199 +skip-if = [ + "os == 'win'", # Unofficial DXGL support regressed by bug 1632249 + "apple_silicon", +] + +["test_privileged_exts.html"] + +["test_read_pixels_no_format.html"] + +["test_renderer_strings.html"] +skip-if = ["display == 'wayland'"] + +["test_sab_with_webgl.html"] + +["test_tex_large_uploads.html"] +skip-if = ["os == 'win' && debug && bits == 32"] # bug 1705863 +support-files = ["blank_15000x10000.png"] + +["test_tex_pbo.html"] + +["test_tex_unit_different_sampler_types.html"] + +["test_texsubimage_float.html"] + +["test_uninit_data.html"] + +["test_vertexattrib4f_update.html"] + +["test_video_fastpath_mp4.html"] +skip-if = ["os == 'win' && bits == 32"] # No fast video path for h264 decoder (done in RDD, can't be read in content) + +["test_video_fastpath_theora.html"] +skip-if = [ + "os == 'linux'", + "os == 'mac'", + "os == 'win' && bits == 32", # No fast video path for theora decoder (done in RDD, can't be read in content) +] + +["test_video_fastpath_vp8.html"] +skip-if = [ + "os == 'linux'", + "os == 'mac'", + "os == 'win' && bits == 32", # No fast video path for theora decoder (done in RDD, can't be read in content) +] + +["test_video_fastpath_vp9.html"] +skip-if = [ + "os == 'linux'", + "os == 'mac'", + "os == 'win' && bits == 32", # No fast video path for theora decoder (done in RDD, can't be read in content) +] + +["test_webgl2_alpha_luminance.html"] +skip-if = ["os == 'android'"] #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests + +["test_webgl2_invalidate_framebuffer.html"] +skip-if = ["os == 'android'"] #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests + +["test_webgl2_not_exposed.html"] +skip-if = ["os == 'android'"] #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests + +["test_webgl2_uniform_block.html"] + +["test_webgl_available.html"] + +["test_webgl_compressed_texture_es3.html"] +skip-if = ["os == 'android'"] +# 2020-01-07 00:00:11.839 F/MOZ_Assert( 6742): Assertion failure: [GFX1]: void mozilla::gl::GLContext::raw_fClear(GLbitfield): Generated unexpected GL_OUT_OF_MEMORY error, at /builds/worker/workspace/build/src/gfx/2d/Logging.h:746 +# 2020-01-07 00:01:28.281 F/MOZ_Assert( 8333): Assertion failure: [GFX1]: Unexpected error from driver: DoCompressedTexSubImage(0x0de1, 0, 0,4,0, 4,4,1, 0x9270, 8) -> 0x0501, at /builds/worker/workspace/build/src/gfx/2d/Logging.h:746 + +["test_webgl_fingerprinting_resistance.html"] + +["test_webgl_force_enable.html"] + +["test_webgl_request_context.html"] +skip-if = ["os == 'android'"] #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests + +["test_webgl_request_mismatch.html"] +skip-if = ["os == 'android'"] #bug 865443- seperate suite - the non_conf* tests pass except for one on armv6 tests + +["test_webglcontextcreationerror.html"] + +["test_without_index_validation.html"] diff --git a/dom/console/moz.build b/dom/console/moz.build index bbab4013db05..7f7f2bdb1db5 100644 --- a/dom/console/moz.build +++ b/dom/console/moz.build @@ -48,7 +48,7 @@ LOCAL_INCLUDES += [ "/js/xpconnect/src", ] -MOCHITEST_MANIFESTS += ["tests/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.toml"] XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"] diff --git a/dom/console/tests/mochitest.ini b/dom/console/tests/mochitest.ini deleted file mode 100644 index d66a7245b35d..000000000000 --- a/dom/console/tests/mochitest.ini +++ /dev/null @@ -1,14 +0,0 @@ -[DEFAULT] -support-files = - file_empty.html - head.js - -[test_bug659625.html] -[test_bug978522.html] -[test_bug979109.html] -[test_bug989665.html] -[test_consoleEmptyStack.html] -[test_console_binding.html] -[test_console_proto.html] -[test_timer.html] -[test_count.html] diff --git a/dom/console/tests/mochitest.toml b/dom/console/tests/mochitest.toml new file mode 100644 index 000000000000..4768f9521ed3 --- /dev/null +++ b/dom/console/tests/mochitest.toml @@ -0,0 +1,23 @@ +[DEFAULT] +support-files = [ + "file_empty.html", + "head.js", +] + +["test_bug659625.html"] + +["test_bug978522.html"] + +["test_bug979109.html"] + +["test_bug989665.html"] + +["test_consoleEmptyStack.html"] + +["test_console_binding.html"] + +["test_console_proto.html"] + +["test_count.html"] + +["test_timer.html"] diff --git a/dom/credentialmanagement/identity/moz.build b/dom/credentialmanagement/identity/moz.build index 004ce1ed6f0e..f7a053d67681 100644 --- a/dom/credentialmanagement/identity/moz.build +++ b/dom/credentialmanagement/identity/moz.build @@ -25,4 +25,4 @@ include("/ipc/chromium/chromium-config.mozbuild") FINAL_LIBRARY = "xul" BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"] -MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.toml"] diff --git a/dom/credentialmanagement/identity/tests/mochitest/mochitest.ini b/dom/credentialmanagement/identity/tests/mochitest/mochitest.ini deleted file mode 100644 index 557e65c20506..000000000000 --- a/dom/credentialmanagement/identity/tests/mochitest/mochitest.ini +++ /dev/null @@ -1,52 +0,0 @@ -[DEFAULT] -prefs = - dom.security.credentialmanagement.identity.enabled=true - dom.security.credentialmanagement.identity.select_first_in_ui_lists=true - dom.security.credentialmanagement.identity.reject_delay.enabled=false - privacy.antitracking.enableWebcompat=false # disables opener heuristic -scheme = https -skip-if = - xorigin - http3 # Bug 1838420 - http2 - -support-files = - head.js - helper_set_cookie.html - helper_set_cookie.html^headers^ - /.well-known/web-identity - /.well-known/web-identity^headers^ - server_manifest.sjs - server_manifest_wrong_provider_in_manifest.sjs - server_metadata.json - server_metadata.json^headers^ - server_simple_accounts.sjs - server_simple_idtoken.sjs - server_no_accounts_accounts.sjs - server_no_accounts_idtoken.sjs - server_two_accounts_accounts.sjs - server_two_accounts_idtoken.sjs - server_two_providers_accounts.sjs - server_two_providers_idtoken.sjs - server_accounts_error_accounts.sjs - server_accounts_error_idtoken.sjs - server_idtoken_error_accounts.sjs - server_idtoken_error_idtoken.sjs - server_accounts_redirect_accounts.sjs - server_accounts_redirect_idtoken.sjs - server_idtoken_redirect_accounts.sjs - server_idtoken_redirect_idtoken.sjs - -[test_accounts_error.html] -[test_accounts_redirect.html] -[test_delay_reject.html] -[test_empty_provider_list.html] -[test_get_without_providers.html] -[test_idtoken_error.html] -[test_idtoken_redirect.html] -[test_mediation.html] -[test_no_accounts.html] -[test_simple.html] -[test_two_accounts.html] -[test_two_providers.html] -[test_wrong_provider_in_manifest.html] diff --git a/dom/credentialmanagement/identity/tests/mochitest/mochitest.toml b/dom/credentialmanagement/identity/tests/mochitest/mochitest.toml new file mode 100644 index 000000000000..8522216f1e7e --- /dev/null +++ b/dom/credentialmanagement/identity/tests/mochitest/mochitest.toml @@ -0,0 +1,67 @@ +[DEFAULT] +prefs = [ + "dom.security.credentialmanagement.identity.enabled=true", + "dom.security.credentialmanagement.identity.select_first_in_ui_lists=true", + "dom.security.credentialmanagement.identity.reject_delay.enabled=false", + "privacy.antitracking.enableWebcompat=false", # disables opener heuristic +] +scheme = "https" +skip-if = [ + "xorigin", + "http3", # Bug 1838420 + "http2", +] + +support-files = [ + "head.js", + "helper_set_cookie.html", + "helper_set_cookie.html^headers^", + "/.well-known/web-identity", + "/.well-known/web-identity^headers^", + "server_manifest.sjs", + "server_manifest_wrong_provider_in_manifest.sjs", + "server_metadata.json", + "server_metadata.json^headers^", + "server_simple_accounts.sjs", + "server_simple_idtoken.sjs", + "server_no_accounts_accounts.sjs", + "server_no_accounts_idtoken.sjs", + "server_two_accounts_accounts.sjs", + "server_two_accounts_idtoken.sjs", + "server_two_providers_accounts.sjs", + "server_two_providers_idtoken.sjs", + "server_accounts_error_accounts.sjs", + "server_accounts_error_idtoken.sjs", + "server_idtoken_error_accounts.sjs", + "server_idtoken_error_idtoken.sjs", + "server_accounts_redirect_accounts.sjs", + "server_accounts_redirect_idtoken.sjs", + "server_idtoken_redirect_accounts.sjs", + "server_idtoken_redirect_idtoken.sjs", +] + +["test_accounts_error.html"] + +["test_accounts_redirect.html"] + +["test_delay_reject.html"] + +["test_empty_provider_list.html"] + +["test_get_without_providers.html"] + +["test_idtoken_error.html"] + +["test_idtoken_redirect.html"] + +["test_mediation.html"] + +["test_no_accounts.html"] + +["test_simple.html"] + +["test_two_accounts.html"] + +["test_two_providers.html"] + +["test_wrong_provider_in_manifest.html"] diff --git a/dom/credentialmanagement/moz.build b/dom/credentialmanagement/moz.build index 6e25eb3d6f4a..17f02573d4b0 100644 --- a/dom/credentialmanagement/moz.build +++ b/dom/credentialmanagement/moz.build @@ -23,6 +23,6 @@ include("/ipc/chromium/chromium-config.mozbuild") FINAL_LIBRARY = "xul" -MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.toml"] BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"] CRASHTEST_MANIFESTS += ["tests/crashtests/crashtests.list"] diff --git a/dom/credentialmanagement/tests/mochitest/mochitest.ini b/dom/credentialmanagement/tests/mochitest/mochitest.ini deleted file mode 100644 index 819fd7162be9..000000000000 --- a/dom/credentialmanagement/tests/mochitest/mochitest.ini +++ /dev/null @@ -1,14 +0,0 @@ -[DEFAULT] -support-files = - frame_credman_iframes.html -scheme = https - -[test_credman_empty_option.html] -[test_credman_iframes.html] -skip-if = - xorigin # Application time out - win10_2004 # Bug 1718296 - win10_2009 # Bug 1718296 - win11_2009 # Bug 1718296 - http3 - http2 diff --git a/dom/credentialmanagement/tests/mochitest/mochitest.toml b/dom/credentialmanagement/tests/mochitest/mochitest.toml new file mode 100644 index 000000000000..d8d142d9d8cb --- /dev/null +++ b/dom/credentialmanagement/tests/mochitest/mochitest.toml @@ -0,0 +1,14 @@ +[DEFAULT] +support-files = ["frame_credman_iframes.html"] +scheme = "https" + +["test_credman_empty_option.html"] + +["test_credman_iframes.html"] +skip-if = [ + "xorigin", # Application time out + "win10_2009", # Bug 1718296 + "win11_2009", # Bug 1718296 + "http3", + "http2", +] diff --git a/dom/crypto/moz.build b/dom/crypto/moz.build index 4a6773cf016d..4dd58f773096 100644 --- a/dom/crypto/moz.build +++ b/dom/crypto/moz.build @@ -31,7 +31,7 @@ LOCAL_INCLUDES += [ "/xpcom/build", ] -MOCHITEST_MANIFESTS += ["test/mochitest.ini"] +MOCHITEST_MANIFESTS += ["test/mochitest.toml"] BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"] # Add libFuzzer configuration directives diff --git a/dom/crypto/test/mochitest.ini b/dom/crypto/test/mochitest.ini deleted file mode 100644 index b0b72d39bed8..000000000000 --- a/dom/crypto/test/mochitest.ini +++ /dev/null @@ -1,29 +0,0 @@ -[DEFAULT] -scheme = https -support-files = - file_indexedDB.html - test-array.js - test-vectors.js - test-worker.js - test_WebCrypto.css - util.js - -[test_indexedDB.html] -skip-if = !fission # Requires iframes to run in separate processes. -fail-if = xorigin # JavaScript error: https://example.org/tests/dom/crypto/test/test_indexedDB.html?currentTestURL=dom%2Fcrypto%2Ftest%2Ftest_indexedDB.html&closeWhenDone=undefined&showTestReport=true&expected=pass, line 27: SecurityError: Permission denied to access property "frameElement" on cross-origin object -[test_WebCrypto.html] -[test_WebCrypto_DH.html] -[test_WebCrypto_ECDH.html] -[test_WebCrypto_ECDSA.html] -[test_WebCrypto_HKDF.html] -[test_WebCrypto_Import_Multiple_Identical_Keys.html] -[test_WebCrypto_Import_Keys_Too_Long.html] -[test_WebCrypto_JWK.html] -[test_WebCrypto_Normalize.html] -[test_WebCrypto_PBKDF2.html] -[test_WebCrypto_Reject_Generating_Keys_Without_Usages.html] -[test_WebCrypto_RSA_OAEP.html] -[test_WebCrypto_RSA_PSS.html] -[test_WebCrypto_Structured_Cloning.html] -[test_WebCrypto_Workers.html] -[test_WebCrypto_Wrap_Unwrap.html] diff --git a/dom/crypto/test/mochitest.toml b/dom/crypto/test/mochitest.toml new file mode 100644 index 000000000000..9ab5630fa19b --- /dev/null +++ b/dom/crypto/test/mochitest.toml @@ -0,0 +1,46 @@ +[DEFAULT] +scheme = "https" +support-files = [ + "file_indexedDB.html", + "test-array.js", + "test-vectors.js", + "test-worker.js", + "test_WebCrypto.css", + "util.js", +] + +["test_WebCrypto.html"] + +["test_WebCrypto_DH.html"] + +["test_WebCrypto_ECDH.html"] + +["test_WebCrypto_ECDSA.html"] + +["test_WebCrypto_HKDF.html"] + +["test_WebCrypto_Import_Keys_Too_Long.html"] + +["test_WebCrypto_Import_Multiple_Identical_Keys.html"] + +["test_WebCrypto_JWK.html"] + +["test_WebCrypto_Normalize.html"] + +["test_WebCrypto_PBKDF2.html"] + +["test_WebCrypto_RSA_OAEP.html"] + +["test_WebCrypto_RSA_PSS.html"] + +["test_WebCrypto_Reject_Generating_Keys_Without_Usages.html"] + +["test_WebCrypto_Structured_Cloning.html"] + +["test_WebCrypto_Workers.html"] + +["test_WebCrypto_Wrap_Unwrap.html"] + +["test_indexedDB.html"] +skip-if = ["!fission"] # Requires iframes to run in separate processes. +fail-if = ["xorigin"] # JavaScript error: https://example.org/tests/dom/crypto/test/test_indexedDB.html?currentTestURL=dom%2Fcrypto%2Ftest%2Ftest_indexedDB.html&closeWhenDone=undefined&showTestReport=true&expected=pass, line 27: SecurityError: Permission denied to access property "frameElement" on cross-origin object diff --git a/dom/encoding/moz.build b/dom/encoding/moz.build index d7265f0e801d..301e964e4e9f 100644 --- a/dom/encoding/moz.build +++ b/dom/encoding/moz.build @@ -27,7 +27,7 @@ LOCAL_INCLUDES += [ ] MOCHITEST_MANIFESTS += [ - "test/mochitest.ini", + "test/mochitest.toml", ] MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"] XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"] diff --git a/dom/encoding/test/mochitest.ini b/dom/encoding/test/mochitest.ini deleted file mode 100644 index 2ad254a7c96b..000000000000 --- a/dom/encoding/test/mochitest.ini +++ /dev/null @@ -1,36 +0,0 @@ -[DEFAULT] -support-files = - file_TLD.html - file_in_lk_TLD.html - file_jp_TLD.html - file_utf16_be_bom.css - file_utf16_be_bom.js - file_utf16_be_bom.xhtml - file_utf16_le_bom.css - file_utf16_le_bom.js - file_utf16_le_bom.xhtml - file_utf16_le_nobom.xhtml - test_BOMEncoding.js - test_TextDecoder.js - test_TextEncoder.js - unit/test_big5.js - unit/test_euc-jp.js - unit/test_euc-kr.js - unit/test_gbk.js - unit/test_iso-2022-jp.js - unit/test_shift_jis.js - worker_helper.js - -[test_stringencoding.html] -[test_submit_euckr.html] -[test_TextDecoder.html] -[test_TextEncoder.html] -[test_TLD.html] -skip-if = - http3 - http2 -[test_in_lk_TLD.html] -skip-if = - http3 - http2 -[test_utf16_files.html] diff --git a/dom/encoding/test/mochitest.toml b/dom/encoding/test/mochitest.toml new file mode 100644 index 000000000000..41a240752879 --- /dev/null +++ b/dom/encoding/test/mochitest.toml @@ -0,0 +1,46 @@ +[DEFAULT] +support-files = [ + "file_TLD.html", + "file_in_lk_TLD.html", + "file_jp_TLD.html", + "file_utf16_be_bom.css", + "file_utf16_be_bom.js", + "file_utf16_be_bom.xhtml", + "file_utf16_le_bom.css", + "file_utf16_le_bom.js", + "file_utf16_le_bom.xhtml", + "file_utf16_le_nobom.xhtml", + "test_BOMEncoding.js", + "test_TextDecoder.js", + "test_TextEncoder.js", + "unit/test_big5.js", + "unit/test_euc-jp.js", + "unit/test_euc-kr.js", + "unit/test_gbk.js", + "unit/test_iso-2022-jp.js", + "unit/test_shift_jis.js", + "worker_helper.js", +] + +["test_TLD.html"] +skip-if = [ + "http3", + "http2", +] + +["test_TextDecoder.html"] + +["test_TextEncoder.html"] + +["test_in_lk_TLD.html"] +skip-if = [ + "http3", + "http2", +] + +["test_stringencoding.html"] + +["test_submit_euckr.html"] + +["test_utf16_files.html"] + diff --git a/dom/events/moz.build b/dom/events/moz.build index b811c7ccce51..cdb6f960e764 100644 --- a/dom/events/moz.build +++ b/dom/events/moz.build @@ -16,8 +16,8 @@ BROWSER_CHROME_MANIFESTS += [ ] MOCHITEST_MANIFESTS += [ - "test/mochitest.ini", - "test/pointerevents/mochitest.ini", + "test/mochitest.toml", + "test/pointerevents/mochitest.toml", ] MOCHITEST_CHROME_MANIFESTS += [ diff --git a/dom/events/test/mochitest.ini b/dom/events/test/mochitest.ini deleted file mode 100644 index 57cec3775ff3..000000000000 --- a/dom/events/test/mochitest.ini +++ /dev/null @@ -1,340 +0,0 @@ -[DEFAULT] -# Skip migration work in BG__migrateUI for browser_startup.js since it increases -# the occurrence of the leak reported in bug 1398563 with test_bug1327798.html. -# Run the font-loader eagerly to minimize the risk that font list finalization -# may disrupt the events received or result in a timeout. -tags = condprof -prefs = - browser.migration.version=9999999 - gfx.font_loader.delay=0 -support-files = - bug226361_iframe.xhtml - bug299673.js - bug322588-popup.html - bug426082.html - bug545268.html - bug574663.html - bug607464.html - bug656379-1.html - bug418986-3.js - error_event_worker.js - empty.js - event_leak_utils.js - window_bug493251.html - window_bug659071.html - window_wheel_default_action.html - !/gfx/layers/apz/test/mochitest/apz_test_utils.js - -[test_accel_virtual_modifier.html] -[test_accesskey.html] -[test_addEventListenerExtraArg.html] -[test_all_synthetic_events.html] -skip-if = - http3 - http2 -[test_bug1539497.html] -[test_bug1686716.html] -[test_bug226361.xhtml] -[test_bug238987.html] -[test_bug288392.html] -[test_bug299673-1.html] -[test_bug1037990.html] -[test_bug299673-2.html] -[test_bug322588.html] -[test_bug328885.html] -[test_bug336682_1.html] -support-files = test_bug336682.js -[test_bug367781.html] -[test_bug379120.html] -[test_bug402089.html] -[test_bug405632.html] -[test_bug409604.html] -skip-if = toolkit == 'android' # android: TIMED_OUT -[test_bug412567.html] -[test_bug418986-3.html] -[test_bug422132.html] -[test_bug426082.html] -skip-if = - http3 - http2 -[test_bug427537.html] -skip-if = - http3 - http2 -[test_bug428988.html] -[test_bug432698.html] -[test_bug443985.html] -skip-if = verify -[test_bug447736.html] -[test_bug448602.html] -[test_bug450876.html] -[test_bug456273.html] -[test_bug457672.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug489671.html] -[test_bug493251.html] -[test_bug508479.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM # drag event fails -[test_bug517851.html] -[test_bug534833.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug545268.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug547996-1.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug547996-2.xhtml] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug556493.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug563329.html] -skip-if = true # Disabled due to timeouts. -[test_bug574663.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug591815.html] -[test_bug593959.html] -[test_bug603008.html] -skip-if = toolkit == 'android' -[test_bug605242.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug607464.html] -skip-if = toolkit == 'android' - e10s #CRASH_DUMP, RANDOM, bug 1400586 -[test_bug613634.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug615597.html] -skip-if = toolkit == 'android' # failed -[test_bug624127.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug635465.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug641477.html] -[test_bug648573.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug650493.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug656379-1.html] -skip-if = toolkit == 'android' -[test_bug656379-2.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug656954.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug659071.html] -skip-if = - toolkit == 'android' # fail - http3 - http2 -[test_bug659350.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug662678.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug667612.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug667919-1.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug684208.html] -[test_bug689564.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug698929.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_bug704423.html] -[test_bug741666.html] -skip-if = - toolkit == 'android' # fail -[test_coalesce_mousewheel.html] -skip-if = - toolkit == 'android' # fail -[test_coalesce_touchmove.html] -support-files = - file_coalesce_touchmove_ipc.html - file_coalesce_touchmove_browserchild.html - file_coalesce_touchmove_browserchild2.html -skip-if = debug #In order to be able to test touchmoves, the test needs to synthesize touchstart in a way which asserts -[test_deviceSensor.html] -[test_bug812744.html] -skip-if = - http3 - http2 -[test_bug822898.html] -[test_bug855741.html] -[test_bug864040.html] -[test_bug924087.html] -[test_bug930374-content.html] -[test_bug944011.html] -[test_bug944847.html] -[test_bug946632.html] -skip-if = toolkit == 'android' # fail -[test_bug967796.html] -[test_bug985988.html] -[test_bug998809.html] -[test_bug1003432.html] -support-files = test_bug1003432.js -[test_bug1013412.html] -[test_bug1017086_enable.html] -support-files = bug1017086_inner.html -[test_bug1079236.html] -[test_bug1127588.html] -[test_bug1145910.html] -[test_bug1150308.html] -[test_bug1248459.html] -[test_bug1264380.html] -skip-if = toolkit == 'android' # some clipboard types and drag aren't supported -[test_bug1327798.html] -skip-if = headless -[test_bug1692052.html] -support-files = file_bug1692052.html -[test_click_on_reframed_generated_text.html] -[test_click_on_restyled_element.html] -[test_clickevent_on_input.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_continuous_wheel_events.html] -skip-if = (verify && debug && (os == 'linux' || os == 'win')) - toolkit == 'android' # wheel event isn't supported -[test_dblclick_explicit_original_target.html] -[test_dom_activate_event.html] -[test_dom_keyboard_event.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_dom_mouse_event.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_dom_storage_event.html] -[test_dom_wheel_event.html] -skip-if = toolkit == 'android' # wheel scroll isn't supported -[test_draggableprop.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_dragstart.html] -skip-if = toolkit == 'android' # not supported -[test_drag_coords.html] -skip-if = toolkit == 'android' # not supported -[test_drag_image_file.html] -skip-if = - toolkit == 'android' - xorigin # Bug 1802904 -support-files = - green.png -[test_error_events.html] -skip-if = toolkit == 'android' #TIMED_OUT -[test_event_handler_cc.html] -[test_eventctors.html] -skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM -[test_eventctors_sensors.html] -[test_disabled_events.html] -[test_event_screenXY_in_cross_origin_iframe.html] -support-files = - file_event_screenXY.html - !/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js -skip-if = toolkit == 'android' # fail -[test_event_screenXY_with_zoom.html] -skip-if = toolkit == 'android' # Android doesn't have full zoom. -[test_eventhandler_scoping.html] -[test_eventTimeStamp.html] -[test_focus_abspos.html] -[test_legacy_event.html] -[test_legacy_touch_api.html] -[test_messageEvent.html] -[test_messageEvent_init.html] -[test_mouse_enterleave_iframe.html] -support-files = - file_mouse_enterleave.html -skip-if = - toolkit == 'android' # timeout - http3 - http2 -[test_mouse_capture_iframe.html] -support-files = - file_empty.html -skip-if = - toolkit == 'android' # timeout - http3 - http2 -[test_moz_mouse_pixel_scroll_event.html] -[test_offsetxy.html] -[test_onerror_handler_args.html] -[test_passive_listeners.html] -[test_paste_image.html] -skip-if = headless # Bug 1405869 - toolkit == 'android' # Image type isn't supported -[test_moving_and_expanding_selection_per_page.html] -support-files = window_empty_document.html -[test_scroll_per_page.html] -support-files = window_empty_document.html -skip-if = toolkit == 'android' # fail -[test_text_event_in_content.html] -[test_use_conflated_keypress_event_model_on_newer_Office_Online_Server.html] -[test_use_split_keypress_event_model_on_old_Confluence.html] -skip-if = !debug # The mode change event is available only on debug build -[test_use_split_keypress_event_model_on_old_Office_Online_Server.html] -skip-if = !debug # The mode change event is available only on debug build -[test_wheel_default_action.html] -skip-if = os == 'linux' - toolkit == 'android' -[test_bug687787.html] -[test_bug1305458.html] -[test_bug1298970.html] -[test_bug1304044.html] -[test_bug1332699.html] -[test_bug1339758.html] -[test_bug1369072.html] -support-files = window_bug1369072.html -skip-if = toolkit == 'android' -[test_bug1429572.html] -support-files = window_bug1429572.html -skip-if = toolkit == 'android' # failed -[test_bug1446834.html] -support-files = file_bug1446834.html -[test_bug1447993.html] -support-files = window_bug1447993.html -skip-if = toolkit == 'android' -[test_bug1484371.html] -support-files = file_bug1484371.html -[test_bug1534562.html] -skip-if = toolkit == 'android' # Bug 1312791 -[test_bug1581192.html] -[test_bug1673434.html] -[test_bug1681800.html] -[test_deltaMode_lines_always_enabled.html] -[test_dnd_with_modifiers.html] -skip-if = toolkit == 'android' # Dnd isn't supported -[test_hover_mouseleave.html] -[test_marquee_events.html] -[test_slotted_mouse_event.html] -skip-if = toolkit == 'android' # timeout -[test_slotted_text_click.html] -[test_unbound_before_in_active_chain.html] -[test_submitevent_on_form.html] -[test_wheel_zoom_on_form_controls.html] -skip-if = verify - toolkit == 'android' # wheel isn't supported -[test_focus_blur_on_click_in_cross_origin_iframe.html] -support-files = - file_focus_blur_on_click_in_cross_origin_iframe.html -skip-if = toolkit == 'android' # Bug 1701546 -[test_focus_blur_on_click_in_deep_cross_origin_iframe.html] -support-files = - file_focus_blur_on_click_in_deep_cross_origin_iframe_inner.html - file_focus_blur_on_click_in_deep_cross_origin_iframe_middle.html -skip-if = toolkit == 'android' # Bug 1701546 - condprof && os == "win" # 1773806 -[test_bug1635018.html] -[test_bug1637259.html] -disabled = Enable this when the taskcluster Windows machine upgrades to RS5+ -run-if = toolkit == 'windows' # Only Windows supports pen input synthesis -support-files = - !/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js -[test_bug1692277.html] -disabled = Enable this when the taskcluster Windows machine upgrades to RS5+ -run-if = toolkit == 'windows' # Only Windows supports pen input synthesis -support-files = - !/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js - !/dom/base/test/Ahem.ttf -[test_bug1709832.html] -support-files = - !/dom/base/test/Ahem.ttf -[test_bug1710509.html] -disabled = Enable this when the taskcluster Windows machine upgrades to RS5+ -run-if = toolkit == 'windows' # Only Windows supports pen input synthesis -support-files = - !/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js -[test_bug1728171.html] -run-if = win10_2004 # Only Windows 1809+ supports pen input synthesis -support-files = - !/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js -[test_auxclick_autoscroll_off.html] diff --git a/dom/events/test/mochitest.toml b/dom/events/test/mochitest.toml new file mode 100644 index 000000000000..ec0d10616aa7 --- /dev/null +++ b/dom/events/test/mochitest.toml @@ -0,0 +1,525 @@ +[DEFAULT] +# Skip migration work in BG__migrateUI for browser_startup.js since it increases +# the occurrence of the leak reported in bug 1398563 with test_bug1327798.html. +# Run the font-loader eagerly to minimize the risk that font list finalization +# may disrupt the events received or result in a timeout. +tags = "condprof" +prefs = [ + "browser.migration.version=9999999", + "gfx.font_loader.delay=0", +] +support-files = [ + "bug226361_iframe.xhtml", + "bug299673.js", + "bug322588-popup.html", + "bug426082.html", + "bug545268.html", + "bug574663.html", + "bug607464.html", + "bug656379-1.html", + "bug418986-3.js", + "error_event_worker.js", + "empty.js", + "event_leak_utils.js", + "window_bug493251.html", + "window_bug659071.html", + "window_wheel_default_action.html", + "!/gfx/layers/apz/test/mochitest/apz_test_utils.js", +] + +["test_accel_virtual_modifier.html"] + +["test_accesskey.html"] + +["test_addEventListenerExtraArg.html"] + +["test_all_synthetic_events.html"] +skip-if = [ + "http3", + "http2", +] + +["test_auxclick_autoscroll_off.html"] + +["test_bug226361.xhtml"] + +["test_bug238987.html"] + +["test_bug288392.html"] + +["test_bug299673-1.html"] + +["test_bug299673-2.html"] + +["test_bug322588.html"] + +["test_bug328885.html"] + +["test_bug336682_1.html"] +support-files = ["test_bug336682.js"] + +["test_bug367781.html"] + +["test_bug379120.html"] + +["test_bug402089.html"] + +["test_bug405632.html"] + +["test_bug409604.html"] +skip-if = ["os == 'android'"] # android: TIMED_OUT + +["test_bug412567.html"] + +["test_bug418986-3.html"] + +["test_bug422132.html"] + +["test_bug426082.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug427537.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug428988.html"] + +["test_bug432698.html"] + +["test_bug443985.html"] +skip-if = ["verify"] + +["test_bug447736.html"] + +["test_bug448602.html"] + +["test_bug450876.html"] + +["test_bug456273.html"] + +["test_bug457672.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug489671.html"] + +["test_bug493251.html"] + +["test_bug508479.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM # drag event fails + +["test_bug517851.html"] + +["test_bug534833.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug545268.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug547996-1.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug547996-2.xhtml"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug556493.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug563329.html"] +skip-if = ["true"] # Disabled due to timeouts. + +["test_bug574663.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug591815.html"] + +["test_bug593959.html"] + +["test_bug603008.html"] +skip-if = ["os == 'android'"] + +["test_bug605242.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug607464.html"] +skip-if = [ + "os == 'android'", + "e10s", #CRASH_DUMP, RANDOM, bug 1400586 +] + +["test_bug613634.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug615597.html"] +skip-if = ["os == 'android'"] # failed + +["test_bug624127.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug635465.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug641477.html"] + +["test_bug648573.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug650493.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug656379-1.html"] +skip-if = ["os == 'android'"] + +["test_bug656379-2.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug656954.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug659071.html"] +skip-if = [ + "os == 'android'", # fail + "http3", + "http2", +] + +["test_bug659350.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug662678.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug667612.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug667919-1.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug684208.html"] + +["test_bug687787.html"] + +["test_bug689564.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug698929.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_bug704423.html"] + +["test_bug741666.html"] +skip-if = ["os == 'android'"] # fail + +["test_bug812744.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug822898.html"] + +["test_bug855741.html"] + +["test_bug864040.html"] + +["test_bug924087.html"] + +["test_bug930374-content.html"] + +["test_bug944011.html"] + +["test_bug944847.html"] + +["test_bug946632.html"] +skip-if = ["os == 'android'"] # fail + +["test_bug967796.html"] + +["test_bug985988.html"] + +["test_bug998809.html"] + +["test_bug1003432.html"] +support-files = ["test_bug1003432.js"] + +["test_bug1013412.html"] + +["test_bug1017086_enable.html"] +support-files = ["bug1017086_inner.html"] + +["test_bug1037990.html"] + +["test_bug1079236.html"] + +["test_bug1127588.html"] + +["test_bug1145910.html"] + +["test_bug1150308.html"] + +["test_bug1248459.html"] + +["test_bug1264380.html"] +skip-if = ["os == 'android'"] # some clipboard types and drag aren't supported + +["test_bug1298970.html"] + +["test_bug1304044.html"] + +["test_bug1305458.html"] + +["test_bug1327798.html"] +skip-if = ["headless"] + +["test_bug1332699.html"] + +["test_bug1339758.html"] + +["test_bug1369072.html"] +support-files = ["window_bug1369072.html"] +skip-if = ["os == 'android'"] + +["test_bug1429572.html"] +support-files = ["window_bug1429572.html"] +skip-if = ["os == 'android'"] # failed + +["test_bug1446834.html"] +support-files = ["file_bug1446834.html"] + +["test_bug1447993.html"] +support-files = ["window_bug1447993.html"] +skip-if = ["os == 'android'"] + +["test_bug1484371.html"] +support-files = ["file_bug1484371.html"] + +["test_bug1534562.html"] +skip-if = ["os == 'android'"] # Bug 1312791 + +["test_bug1539497.html"] + +["test_bug1581192.html"] + +["test_bug1635018.html"] + +["test_bug1637259.html"] +disabled = "Enable this when the taskcluster Windows machine upgrades to RS5+" +run-if = ["os == 'win'"] # Only Windows supports pen input synthesis +support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js"] + +["test_bug1673434.html"] + +["test_bug1681800.html"] + +["test_bug1686716.html"] + +["test_bug1692052.html"] +support-files = ["file_bug1692052.html"] + +["test_bug1692277.html"] +disabled = "Enable this when the taskcluster Windows machine upgrades to RS5+" +run-if = ["os == 'win'"] # Only Windows supports pen input synthesis +support-files = [ + "!/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js", + "!/dom/base/test/Ahem.ttf", +] + +["test_bug1709832.html"] +support-files = ["!/dom/base/test/Ahem.ttf"] + +["test_bug1710509.html"] +disabled = "Enable this when the taskcluster Windows machine upgrades to RS5+" +run-if = ["os == 'win'"] # Only Windows supports pen input synthesis +support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js"] + +["test_bug1728171.html"] +run-if = ["os == 'win'"] # Only Windows 1809+ supports pen input synthesis +support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js"] + +["test_click_on_reframed_generated_text.html"] + +["test_click_on_restyled_element.html"] + +["test_clickevent_on_input.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_coalesce_mousewheel.html"] +skip-if = ["os == 'android'"] # fail + +["test_coalesce_touchmove.html"] +support-files = [ + "file_coalesce_touchmove_ipc.html", + "file_coalesce_touchmove_browserchild.html", + "file_coalesce_touchmove_browserchild2.html", +] +skip-if = ["debug"] #In order to be able to test touchmoves, the test needs to synthesize touchstart in a way which asserts + +["test_continuous_wheel_events.html"] +skip-if = [ + "verify && debug && (os == 'linux' || os == 'win')", + "os == 'android'", # wheel event isn't supported +] + +["test_dblclick_explicit_original_target.html"] + +["test_deltaMode_lines_always_enabled.html"] + +["test_deviceSensor.html"] + +["test_disabled_events.html"] + +["test_dnd_with_modifiers.html"] +skip-if = ["os == 'android'"] # Dnd isn't supported + +["test_dom_activate_event.html"] + +["test_dom_keyboard_event.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_dom_mouse_event.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_dom_storage_event.html"] + +["test_dom_wheel_event.html"] +skip-if = ["os == 'android'"] # wheel scroll isn't supported + +["test_drag_coords.html"] +skip-if = ["os == 'android'"] # not supported + +["test_drag_image_file.html"] +skip-if = [ + "os == 'android'", + "xorigin", # Bug 1802904 +] +support-files = ["green.png"] + +["test_draggableprop.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_dragstart.html"] +skip-if = ["os == 'android'"] # not supported + +["test_error_events.html"] +skip-if = ["os == 'android'"] #TIMED_OUT + +["test_eventTimeStamp.html"] + +["test_event_handler_cc.html"] + +["test_event_screenXY_in_cross_origin_iframe.html"] +support-files = [ + "file_event_screenXY.html", + "!/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js", +] +skip-if = ["os == 'android'"] # fail + +["test_event_screenXY_with_zoom.html"] +skip-if = ["os == 'android'"] # Android doesn't have full zoom. + +["test_eventctors.html"] +skip-if = ["os == 'android'"] #CRASH_DUMP, RANDOM + +["test_eventctors_sensors.html"] + +["test_eventhandler_scoping.html"] + +["test_focus_abspos.html"] + +["test_focus_blur_on_click_in_cross_origin_iframe.html"] +support-files = ["file_focus_blur_on_click_in_cross_origin_iframe.html"] +skip-if = ["os == 'android'"] # Bug 1701546 + +["test_focus_blur_on_click_in_deep_cross_origin_iframe.html"] +support-files = [ + "file_focus_blur_on_click_in_deep_cross_origin_iframe_inner.html", + "file_focus_blur_on_click_in_deep_cross_origin_iframe_middle.html", +] +skip-if = [ + "os == 'android'", # Bug 1701546 + "condprof && os == 'win'", # 1773806 +] + +["test_hover_mouseleave.html"] + +["test_legacy_event.html"] + +["test_legacy_touch_api.html"] + +["test_marquee_events.html"] + +["test_messageEvent.html"] + +["test_messageEvent_init.html"] + +["test_mouse_capture_iframe.html"] +support-files = ["file_empty.html"] +skip-if = [ + "os == 'android'", # timeout + "http3", + "http2", +] + +["test_mouse_enterleave_iframe.html"] +support-files = ["file_mouse_enterleave.html"] +skip-if = [ + "os == 'android'", # timeout + "http3", + "http2", +] + +["test_moving_and_expanding_selection_per_page.html"] +support-files = ["window_empty_document.html"] + +["test_moz_mouse_pixel_scroll_event.html"] + +["test_offsetxy.html"] + +["test_onerror_handler_args.html"] + +["test_passive_listeners.html"] + +["test_paste_image.html"] +skip-if = [ + "headless", # Bug 1405869 + "os == 'android'", # Image type isn't supported +] + +["test_scroll_per_page.html"] +support-files = ["window_empty_document.html"] +skip-if = ["os == 'android'"] # fail + +["test_slotted_mouse_event.html"] +skip-if = ["os == 'android'"] # timeout + +["test_slotted_text_click.html"] + +["test_submitevent_on_form.html"] + +["test_text_event_in_content.html"] + +["test_unbound_before_in_active_chain.html"] + +["test_use_conflated_keypress_event_model_on_newer_Office_Online_Server.html"] + +["test_use_split_keypress_event_model_on_old_Confluence.html"] +skip-if = ["!debug"] # The mode change event is available only on debug build + +["test_use_split_keypress_event_model_on_old_Office_Online_Server.html"] +skip-if = ["!debug"] # The mode change event is available only on debug build + +["test_wheel_default_action.html"] +skip-if = [ + "os == 'linux'", + "os == 'android'", +] + +["test_wheel_zoom_on_form_controls.html"] +skip-if = [ + "verify", + "os == 'android'", # wheel isn't supported +] diff --git a/dom/events/test/pointerevents/mochitest.ini b/dom/events/test/pointerevents/mochitest.ini deleted file mode 100644 index 8ab47e0f922d..000000000000 --- a/dom/events/test/pointerevents/mochitest.ini +++ /dev/null @@ -1,184 +0,0 @@ -[DEFAULT] -prefs = - gfx.font_loader.delay=0 -support-files = - iframe.html - mochitest_support_external.js - mochitest_support_internal.js - wpt/pointerevent_styles.css - wpt/pointerevent_support.js - pointerevent_utils.js - !/gfx/layers/apz/test/mochitest/apz_test_utils.js - -[test_bug968148.html] -support-files = - bug968148_inner.html - bug968148_inner2.html -[test_bug1285128.html] -[test_bug1293174_implicit_pointer_capture_for_touch_1.html] -support-files = bug1293174_implicit_pointer_capture_for_touch_1.html -skip-if = - http3 - http2 -[test_bug1293174_implicit_pointer_capture_for_touch_2.html] -support-files = bug1293174_implicit_pointer_capture_for_touch_2.html -skip-if = - http3 - http2 -[test_bug1303704.html] -[test_bug1315862.html] -[test_bug1323158.html] -[test_bug1403055.html] -[test_bug1420589_1.html] -support-files = - bug_1420589_iframe1.html - bug_1420589_iframe2.html -[test_bug1420589_2.html] -support-files = - bug_1420589_iframe1.html -[test_bug1420589_3.html] -support-files = - bug_1420589_iframe1.html -[test_bug1725416.html] -skip-if = - os == 'android' # Bug 1312791 -support-files = - !/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js -[test_multiple_touches.html] -[test_wpt_pointerevent_attributes_hoverable_pointers-manual.html] -support-files = - wpt/pointerevent_attributes_hoverable_pointers-manual.html - wpt/resources/pointerevent_attributes_hoverable_pointers-iframe.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_attributes_nohover_pointers-manual.html] -support-files = - wpt/pointerevent_attributes_nohover_pointers-manual.html - wpt/resources/pointerevent_attributes_hoverable_pointers-iframe.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_boundary_events_in_capturing-manual.html] -support-files = wpt/pointerevent_boundary_events_in_capturing-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_change-touch-action-onpointerdown_touch-manual.html] -support-files = wpt/pointerevent_change-touch-action-onpointerdown_touch-manual.html -disabled = disabled -[test_wpt_pointerevent_constructor.html] -support-files = wpt/pointerevent_constructor.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_multiple_primary_pointers_boundary_events-manual.html] -support-files = wpt/pointerevent_multiple_primary_pointers_boundary_events-manual.html -disabled = should be investigated -[test_wpt_pointerevent_pointercancel_touch-manual.html] -support-files = wpt/pointerevent_pointercancel_touch-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_pointerId_scope-manual.html] -support-files = wpt/resources/pointerevent_pointerId_scope-iframe.html -disabled = should be investigated -[test_wpt_pointerevent_pointerleave_after_pointercancel_touch-manual.html] -support-files = wpt/pointerevent_pointerleave_after_pointercancel_touch-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_pointerleave_pen-manual.html] -support-files = wpt/pointerevent_pointerleave_pen-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_pointerout_after_pointercancel_touch-manual.html] -support-files = wpt/pointerevent_pointerout_after_pointercancel_touch-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_pointerout_pen-manual.html] -support-files = wpt/pointerevent_pointerout_pen-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_releasepointercapture_events_to_original_target-manual.html] -support-files = wpt/pointerevent_releasepointercapture_events_to_original_target-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_releasepointercapture_onpointercancel_touch-manual.html] -support-files = wpt/pointerevent_releasepointercapture_onpointercancel_touch-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_sequence_at_implicit_release_on_drag-manual.html] -support-files = wpt/pointerevent_sequence_at_implicit_release_on_drag-manual.html -skip-if = - http3 - http2 -[test_wpt_pointerevent_drag_interaction-manual.html] -support-files = wpt/html/pointerevent_drag_interaction-manual.html -skip-if = - http3 - http2 -[test_wpt_touch_action.html] -skip-if = - os == 'android' # Bug 1312791 - os == 'linux' && headless # Bug 1722906 -support-files = - ../../../../gfx/layers/apz/test/mochitest/apz_test_utils.js - ../../../../gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js - touch_action_helpers.js - wpt/pointerevent_touch-action-auto-css_touch-manual.html - wpt/pointerevent_touch-action-button-test_touch-manual.html - wpt/pointerevent_touch-action-inherit_child-auto-child-none_touch-manual.html - wpt/pointerevent_touch-action-inherit_child-none_touch-manual.html - wpt/pointerevent_touch-action-inherit_child-pan-x-child-pan-x_touch-manual.html - wpt/pointerevent_touch-action-inherit_child-pan-x-child-pan-y_touch-manual.html - wpt/pointerevent_touch-action-inherit_highest-parent-none_touch-manual.html - wpt/pointerevent_touch-action-inherit_parent-none_touch-manual.html - wpt/pointerevent_touch-action-none-css_touch-manual.html - wpt/pointerevent_touch-action-pan-x-css_touch-manual.html - wpt/pointerevent_touch-action-pan-x-pan-y-pan-y_touch-manual.html - wpt/pointerevent_touch-action-pan-x-pan-y_touch-manual.html - wpt/pointerevent_touch-action-pan-y-css_touch-manual.html - wpt/pointerevent_touch-action-span-test_touch-manual.html - wpt/pointerevent_touch-action-svg-test_touch-manual.html - wpt/pointerevent_touch-action-table-test_touch-manual.html - wpt/pointerevent_touch-action-pan-down-css_touch-manual.html - wpt/pointerevent_touch-action-pan-left-css_touch-manual.html - wpt/pointerevent_touch-action-pan-right-css_touch-manual.html - wpt/pointerevent_touch-action-pan-up-css_touch-manual.html -[test_wpt_pointerevent_movementxy-manual.html] -support-files = - wpt/pointerlock/pointerevent_movementxy-manual.html - wpt/pointerlock/resources/pointerevent_movementxy-iframe.html -skip-if = - http3 - http2 -[test_trigger_fullscreen_by_pointer_events.html] -support-files = - file_test_trigger_fullscreen.html -[test_remove_frame_when_got_pointer_capture.html] -[test_getCoalescedEvents.html] -skip-if = - os == 'android' # Bug 1312791 - verify && os == 'win' # Bug 1659744 -[test_getCoalescedEvents_touch.html] -skip-if = - os == 'android' # Bug 1312791 - verify && os == 'win' # Bug 1659744 - win11_2009 # Bug 1781388 -support-files = - !/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js -[test_pointercapture_xorigin_iframe.html] -support-files = - file_pointercapture_xorigin_iframe.html - file_pointercapture_xorigin_iframe_pointerlock.html - file_pointercapture_xorigin_iframe_touch.html -[test_pointercapture_remove_iframe.html] -[test_pointermove_drag_scrollbar.html] -skip-if = os == 'android' # scrollbar not showed on mobile -[test_synthesized_touch.html] diff --git a/dom/events/test/pointerevents/mochitest.toml b/dom/events/test/pointerevents/mochitest.toml new file mode 100644 index 000000000000..90d47c1e4798 --- /dev/null +++ b/dom/events/test/pointerevents/mochitest.toml @@ -0,0 +1,242 @@ +[DEFAULT] +prefs = ["gfx.font_loader.delay=0"] +support-files = [ + "iframe.html", + "mochitest_support_external.js", + "mochitest_support_internal.js", + "wpt/pointerevent_styles.css", + "wpt/pointerevent_support.js", + "pointerevent_utils.js", + "!/gfx/layers/apz/test/mochitest/apz_test_utils.js", +] + +["test_bug968148.html"] +support-files = [ + "bug968148_inner.html", + "bug968148_inner2.html", +] + +["test_bug1285128.html"] + +["test_bug1293174_implicit_pointer_capture_for_touch_1.html"] +support-files = ["bug1293174_implicit_pointer_capture_for_touch_1.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1293174_implicit_pointer_capture_for_touch_2.html"] +support-files = ["bug1293174_implicit_pointer_capture_for_touch_2.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1303704.html"] + +["test_bug1315862.html"] + +["test_bug1323158.html"] + +["test_bug1403055.html"] + +["test_bug1420589_1.html"] +support-files = [ + "bug_1420589_iframe1.html", + "bug_1420589_iframe2.html", +] + +["test_bug1420589_2.html"] +support-files = ["bug_1420589_iframe1.html"] + +["test_bug1420589_3.html"] +support-files = ["bug_1420589_iframe1.html"] + +["test_bug1725416.html"] +skip-if = ["os == 'android'"] # Bug 1312791 +support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js"] + +["test_getCoalescedEvents.html"] +skip-if = [ + "os == 'android'", # Bug 1312791 + "verify && os == 'win'", # Bug 1659744 +] + +["test_getCoalescedEvents_touch.html"] +skip-if = [ + "os == 'android'", # Bug 1312791 + "verify && os == 'win'", # Bug 1659744 + "win11_2009", # Bug 1781388 +] +support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js"] + +["test_multiple_touches.html"] + +["test_pointercapture_remove_iframe.html"] + +["test_pointercapture_xorigin_iframe.html"] +support-files = [ + "file_pointercapture_xorigin_iframe.html", + "file_pointercapture_xorigin_iframe_pointerlock.html", + "file_pointercapture_xorigin_iframe_touch.html", +] + +["test_pointermove_drag_scrollbar.html"] +skip-if = ["os == 'android'"] # scrollbar not showed on mobile + +["test_remove_frame_when_got_pointer_capture.html"] + +["test_synthesized_touch.html"] + +["test_trigger_fullscreen_by_pointer_events.html"] +support-files = ["file_test_trigger_fullscreen.html"] + +["test_wpt_pointerevent_attributes_hoverable_pointers-manual.html"] +support-files = [ + "wpt/pointerevent_attributes_hoverable_pointers-manual.html", + "wpt/resources/pointerevent_attributes_hoverable_pointers-iframe.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_attributes_nohover_pointers-manual.html"] +support-files = [ + "wpt/pointerevent_attributes_nohover_pointers-manual.html", + "wpt/resources/pointerevent_attributes_hoverable_pointers-iframe.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_boundary_events_in_capturing-manual.html"] +support-files = ["wpt/pointerevent_boundary_events_in_capturing-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_change-touch-action-onpointerdown_touch-manual.html"] +support-files = ["wpt/pointerevent_change-touch-action-onpointerdown_touch-manual.html"] +disabled = "disabled" + +["test_wpt_pointerevent_constructor.html"] +support-files = ["wpt/pointerevent_constructor.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_drag_interaction-manual.html"] +support-files = ["wpt/html/pointerevent_drag_interaction-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_movementxy-manual.html"] +support-files = [ + "wpt/pointerlock/pointerevent_movementxy-manual.html", + "wpt/pointerlock/resources/pointerevent_movementxy-iframe.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_multiple_primary_pointers_boundary_events-manual.html"] +support-files = ["wpt/pointerevent_multiple_primary_pointers_boundary_events-manual.html"] +disabled = "should be investigated" + +["test_wpt_pointerevent_pointerId_scope-manual.html"] +support-files = ["wpt/resources/pointerevent_pointerId_scope-iframe.html"] +disabled = "should be investigated" + +["test_wpt_pointerevent_pointercancel_touch-manual.html"] +support-files = ["wpt/pointerevent_pointercancel_touch-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_pointerleave_after_pointercancel_touch-manual.html"] +support-files = ["wpt/pointerevent_pointerleave_after_pointercancel_touch-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_pointerleave_pen-manual.html"] +support-files = ["wpt/pointerevent_pointerleave_pen-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_pointerout_after_pointercancel_touch-manual.html"] +support-files = ["wpt/pointerevent_pointerout_after_pointercancel_touch-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_pointerout_pen-manual.html"] +support-files = ["wpt/pointerevent_pointerout_pen-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_releasepointercapture_events_to_original_target-manual.html"] +support-files = ["wpt/pointerevent_releasepointercapture_events_to_original_target-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_releasepointercapture_onpointercancel_touch-manual.html"] +support-files = ["wpt/pointerevent_releasepointercapture_onpointercancel_touch-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_pointerevent_sequence_at_implicit_release_on_drag-manual.html"] +support-files = ["wpt/pointerevent_sequence_at_implicit_release_on_drag-manual.html"] +skip-if = [ + "http3", + "http2", +] + +["test_wpt_touch_action.html"] +skip-if = [ + "os == 'android'", # Bug 1312791 + "os == 'linux' && headless", # Bug 1722906 +] +support-files = [ + "../../../../gfx/layers/apz/test/mochitest/apz_test_utils.js", + "../../../../gfx/layers/apz/test/mochitest/apz_test_native_event_utils.js", + "touch_action_helpers.js", + "wpt/pointerevent_touch-action-auto-css_touch-manual.html", + "wpt/pointerevent_touch-action-button-test_touch-manual.html", + "wpt/pointerevent_touch-action-inherit_child-auto-child-none_touch-manual.html", + "wpt/pointerevent_touch-action-inherit_child-none_touch-manual.html", + "wpt/pointerevent_touch-action-inherit_child-pan-x-child-pan-x_touch-manual.html", + "wpt/pointerevent_touch-action-inherit_child-pan-x-child-pan-y_touch-manual.html", + "wpt/pointerevent_touch-action-inherit_highest-parent-none_touch-manual.html", + "wpt/pointerevent_touch-action-inherit_parent-none_touch-manual.html", + "wpt/pointerevent_touch-action-none-css_touch-manual.html", + "wpt/pointerevent_touch-action-pan-x-css_touch-manual.html", + "wpt/pointerevent_touch-action-pan-x-pan-y-pan-y_touch-manual.html", + "wpt/pointerevent_touch-action-pan-x-pan-y_touch-manual.html", + "wpt/pointerevent_touch-action-pan-y-css_touch-manual.html", + "wpt/pointerevent_touch-action-span-test_touch-manual.html", + "wpt/pointerevent_touch-action-svg-test_touch-manual.html", + "wpt/pointerevent_touch-action-table-test_touch-manual.html", + "wpt/pointerevent_touch-action-pan-down-css_touch-manual.html", + "wpt/pointerevent_touch-action-pan-left-css_touch-manual.html", + "wpt/pointerevent_touch-action-pan-right-css_touch-manual.html", + "wpt/pointerevent_touch-action-pan-up-css_touch-manual.html", +] diff --git a/dom/fetch/moz.build b/dom/fetch/moz.build index 688517e06bc2..3d3c09574238 100644 --- a/dom/fetch/moz.build +++ b/dom/fetch/moz.build @@ -65,7 +65,7 @@ LOCAL_INCLUDES += [ ] BROWSER_CHROME_MANIFESTS += ["tests/browser.toml"] -MOCHITEST_MANIFESTS += ["tests/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] FINAL_LIBRARY = "xul" diff --git a/dom/fetch/tests/mochitest.ini b/dom/fetch/tests/mochitest.ini deleted file mode 100644 index 32eb841fafe8..000000000000 --- a/dom/fetch/tests/mochitest.ini +++ /dev/null @@ -1,2 +0,0 @@ -[test_ext_response_constructor.html] -[test_invalid_header_exception.html] diff --git a/dom/fetch/tests/mochitest.toml b/dom/fetch/tests/mochitest.toml new file mode 100644 index 000000000000..9fd4b8c01338 --- /dev/null +++ b/dom/fetch/tests/mochitest.toml @@ -0,0 +1,6 @@ +[DEFAULT] + +["test_ext_response_constructor.html"] + +["test_invalid_header_exception.html"] + diff --git a/dom/file/ipc/moz.build b/dom/file/ipc/moz.build index f16fa3da21d4..c34abb0b0108 100644 --- a/dom/file/ipc/moz.build +++ b/dom/file/ipc/moz.build @@ -66,4 +66,4 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"] BROWSER_CHROME_MANIFESTS += ["tests/browser.toml"] -MOCHITEST_MANIFESTS += ["tests/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] diff --git a/dom/file/ipc/tests/mochitest.ini b/dom/file/ipc/tests/mochitest.ini deleted file mode 100644 index d3a28729fded..000000000000 --- a/dom/file/ipc/tests/mochitest.ini +++ /dev/null @@ -1,13 +0,0 @@ -[DEFAULT] -support-files = script_file.js - -[test_ipcBlob_fileReaderSync.html] -[test_ipcBlob_workers.html] -[test_ipcBlob_createImageBitmap.html] -support-files = green.jpg -skip-if = - http3 - http2 -[test_ipcBlob_emptyMultiplex.html] -[test_ipcBlob_mixedMultiplex.html] -support-files = ok.sjs diff --git a/dom/file/ipc/tests/mochitest.toml b/dom/file/ipc/tests/mochitest.toml new file mode 100644 index 000000000000..73e25bba06a2 --- /dev/null +++ b/dom/file/ipc/tests/mochitest.toml @@ -0,0 +1,18 @@ +[DEFAULT] +support-files = ["script_file.js"] + +["test_ipcBlob_createImageBitmap.html"] +support-files = ["green.jpg"] +skip-if = [ + "http3", + "http2", +] + +["test_ipcBlob_emptyMultiplex.html"] + +["test_ipcBlob_fileReaderSync.html"] + +["test_ipcBlob_mixedMultiplex.html"] +support-files = ["ok.sjs"] + +["test_ipcBlob_workers.html"] diff --git a/dom/file/moz.build b/dom/file/moz.build index 2a5831454b93..2a53a9b9d6f7 100644 --- a/dom/file/moz.build +++ b/dom/file/moz.build @@ -53,7 +53,7 @@ LOCAL_INCLUDES += [ "/dom/file/ipc", ] -MOCHITEST_MANIFESTS += ["tests/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.ini"] diff --git a/dom/file/tests/mochitest.ini b/dom/file/tests/mochitest.ini deleted file mode 100644 index fe16405f434f..000000000000 --- a/dom/file/tests/mochitest.ini +++ /dev/null @@ -1,57 +0,0 @@ -[DEFAULT] -support-files = - common_blob.js - create_file_objects.js - common_fileReader.js - common_blob_types.js - file_blobURL_expiring.html - file_mozfiledataurl_img.jpg - file_mozfiledataurl_audio.ogg - file_mozfiledataurl_doc.html - file_mozfiledataurl_text.txt - file_mozfiledataurl_inner.html - file_nonascii_blob_url.html - fileapi_chromeScript.js - worker_fileReader.js - !/dom/html/test/form_submit_server.sjs - !/dom/xhr/tests/file_XHRSendData.sjs - !/dom/xhr/tests/temporaryFileBlob.sjs - -[test_blob_fragment_and_query.html] -[test_blobconstructor.html] -[test_blobURL_expiring.html] -[test_file_from_blob.html] -[test_nonascii_blob_url.html] -skip-if = - http3 - http2 -[test_file_negative_date.html] -[test_fileapi_basic.html] -[test_fileapi_encoding.html] -[test_fileapi_twice.html] -[test_fileapi_other.html] -[test_fileapi_basic_worker.html] -[test_fileapi_encoding_worker.html] -[test_fileapi_twice_worker.html] -[test_fileapi_other_worker.html] -[test_fileapi_slice_realFile_1.html] -[test_fileapi_slice_realFile_2.html] -skip-if = (verify && !debug && (os == 'win')) -[test_fileapi_slice_memFile_1.html] -[test_fileapi_slice_memFile_2.html] -[test_fileapi_slice_image.html] -[test_mozfiledataurl.html] -skip-if = - toolkit == 'android' #TIMED_OUT - http3 - http2 -[test_bug1507893.html] -support-files = worker_bug1507893.js -[test_bug1742540.html] -support-files = worker_bug1742540.js -skip-if = toolkit == 'android' #TIMED_OUT -[test_blob_reading.html] -support-files = common_blob_reading.js worker_blob_reading.js -skip-if = - http3 - http2 diff --git a/dom/file/tests/mochitest.toml b/dom/file/tests/mochitest.toml new file mode 100644 index 000000000000..edd640ee8d20 --- /dev/null +++ b/dom/file/tests/mochitest.toml @@ -0,0 +1,86 @@ +[DEFAULT] +support-files = [ + "common_blob.js", + "create_file_objects.js", + "common_fileReader.js", + "common_blob_types.js", + "file_blobURL_expiring.html", + "file_mozfiledataurl_img.jpg", + "file_mozfiledataurl_audio.ogg", + "file_mozfiledataurl_doc.html", + "file_mozfiledataurl_text.txt", + "file_mozfiledataurl_inner.html", + "file_nonascii_blob_url.html", + "fileapi_chromeScript.js", + "worker_fileReader.js", + "!/dom/html/test/form_submit_server.sjs", + "!/dom/xhr/tests/file_XHRSendData.sjs", + "!/dom/xhr/tests/temporaryFileBlob.sjs", +] + +["test_blobURL_expiring.html"] + +["test_blob_fragment_and_query.html"] + +["test_blob_reading.html"] +support-files = [ + "common_blob_reading.js", + "worker_blob_reading.js", +] +skip-if = [ + "http3", + "http2", +] + +["test_blobconstructor.html"] + +["test_bug1507893.html"] +support-files = ["worker_bug1507893.js"] + +["test_bug1742540.html"] +support-files = ["worker_bug1742540.js"] +skip-if = ["os == 'android'"] #TIMED_OUT + +["test_file_from_blob.html"] + +["test_file_negative_date.html"] + +["test_fileapi_basic.html"] + +["test_fileapi_basic_worker.html"] + +["test_fileapi_encoding.html"] + +["test_fileapi_encoding_worker.html"] + +["test_fileapi_other.html"] + +["test_fileapi_other_worker.html"] + +["test_fileapi_slice_image.html"] + +["test_fileapi_slice_memFile_1.html"] + +["test_fileapi_slice_memFile_2.html"] + +["test_fileapi_slice_realFile_1.html"] + +["test_fileapi_slice_realFile_2.html"] +skip-if = ["verify && !debug && os == 'win'"] + +["test_fileapi_twice.html"] + +["test_fileapi_twice_worker.html"] + +["test_mozfiledataurl.html"] +skip-if = [ + "os == 'android'", #TIMED_OUT + "http3", + "http2", +] + +["test_nonascii_blob_url.html"] +skip-if = [ + "http3", + "http2", +] diff --git a/dom/filesystem/compat/tests/mochitest.ini b/dom/filesystem/compat/tests/mochitest.ini deleted file mode 100644 index 2b6eafb55016..000000000000 --- a/dom/filesystem/compat/tests/mochitest.ini +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -support-files = - script_entries.js - !/dom/html/test/form_submit_server.sjs - -[test_basic.html] -[test_no_dnd.html] -[test_formSubmission.html] diff --git a/dom/filesystem/compat/tests/mochitest.toml b/dom/filesystem/compat/tests/mochitest.toml new file mode 100644 index 000000000000..3414a7433aab --- /dev/null +++ b/dom/filesystem/compat/tests/mochitest.toml @@ -0,0 +1,11 @@ +[DEFAULT] +support-files = [ + "script_entries.js", + "!/dom/html/test/form_submit_server.sjs", +] + +["test_basic.html"] + +["test_formSubmission.html"] + +["test_no_dnd.html"] diff --git a/dom/filesystem/compat/tests/moz.build b/dom/filesystem/compat/tests/moz.build index 7c990fbc62ba..2f4100812868 100644 --- a/dom/filesystem/compat/tests/moz.build +++ b/dom/filesystem/compat/tests/moz.build @@ -4,4 +4,4 @@ # 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 += ["mochitest.ini"] +MOCHITEST_MANIFESTS += ["mochitest.toml"] diff --git a/dom/filesystem/tests/mochitest.ini b/dom/filesystem/tests/mochitest.ini deleted file mode 100644 index 00326a6e0d6c..000000000000 --- a/dom/filesystem/tests/mochitest.ini +++ /dev/null @@ -1,12 +0,0 @@ -[DEFAULT] -support-files = - filesystem_commons.js - script_fileList.js - worker_basic.js - -[test_basic.html] -[test_webkitdirectory.html] -skip-if = os == "android" # Bug 1674428 -support-files = script_promptHandler.js -[test_worker_basic.html] -[test_bug1319088.html] diff --git a/dom/filesystem/tests/mochitest.toml b/dom/filesystem/tests/mochitest.toml new file mode 100644 index 000000000000..869fe2d37fa0 --- /dev/null +++ b/dom/filesystem/tests/mochitest.toml @@ -0,0 +1,16 @@ +[DEFAULT] +support-files = [ + "filesystem_commons.js", + "script_fileList.js", + "worker_basic.js", +] + +["test_basic.html"] + +["test_bug1319088.html"] + +["test_webkitdirectory.html"] +skip-if = ["os == 'android'"] # Bug 1674428 +support-files = ["script_promptHandler.js"] + +["test_worker_basic.html"] diff --git a/dom/filesystem/tests/moz.build b/dom/filesystem/tests/moz.build index 7c990fbc62ba..2f4100812868 100644 --- a/dom/filesystem/tests/moz.build +++ b/dom/filesystem/tests/moz.build @@ -4,4 +4,4 @@ # 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 += ["mochitest.ini"] +MOCHITEST_MANIFESTS += ["mochitest.toml"] diff --git a/dom/fs/test/common/mochitest.ini b/dom/fs/test/common/mochitest.toml similarity index 52% rename from dom/fs/test/common/mochitest.ini rename to dom/fs/test/common/mochitest.toml index 4926b81a48e8..3da39b96b8d8 100644 --- a/dom/fs/test/common/mochitest.ini +++ b/dom/fs/test/common/mochitest.toml @@ -3,12 +3,13 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. [DEFAULT] -support-files = - nsresult.js - test_basics.js - test_fileSystemDirectoryHandle.js - test_syncAccessHandle.js - test_writableFileStream.js +support-files = [ + "nsresult.js", + "test_basics.js", + "test_fileSystemDirectoryHandle.js", + "test_syncAccessHandle.js", + "test_writableFileStream.js", +] -[dummy.js] -skip-if = true +["dummy.js"] +skip-if = ["true"] diff --git a/dom/fs/test/common/moz.build b/dom/fs/test/common/moz.build index c8636196fc30..77cf6407c927 100644 --- a/dom/fs/test/common/moz.build +++ b/dom/fs/test/common/moz.build @@ -5,7 +5,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. MOCHITEST_MANIFESTS += [ - "mochitest.ini", + "mochitest.toml", ] XPCSHELL_TESTS_MANIFESTS += [ diff --git a/dom/fs/test/mochitest/mochitest.ini b/dom/fs/test/mochitest/mochitest.ini deleted file mode 100644 index 2928cc1b23ee..000000000000 --- a/dom/fs/test/mochitest/mochitest.ini +++ /dev/null @@ -1,28 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# 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/. - -[DEFAULT] -skip-if = xorigin -support-files = - head.js - -# Skip all tests if xorigin since we'll fail GetStorage() with ePartitionForeignOrDeny -[test_basics.html] -scheme=https -skip-if = - os == "win" # Bug 1841281 - os == "linux" && debug # Bug 1841281 - os == "mac" && debug # Bug 1841281 -[test_basics_worker.html] -scheme=https -[test_fileSystemDirectoryHandle.html] -scheme=https -[test_fileSystemDirectoryHandle_worker.html] -scheme=https -[test_syncAccessHandle_worker.html] -scheme=https -[test_writableFileStream.html] -scheme=https -[test_writableFileStream_worker.html] -scheme=https diff --git a/dom/fs/test/mochitest/mochitest.toml b/dom/fs/test/mochitest/mochitest.toml new file mode 100644 index 000000000000..e13846976885 --- /dev/null +++ b/dom/fs/test/mochitest/mochitest.toml @@ -0,0 +1,35 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# 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/. + +[DEFAULT] +skip-if = ["xorigin"] +support-files = ["head.js"] + +# Skip all tests if xorigin since we'll fail GetStorage() with ePartitionForeignOrDeny + +["test_basics.html"] +scheme = "https" +skip-if = [ + "os == 'win'", # Bug 1841281 + "os == 'linux' && debug", # Bug 1841281 + "os == 'mac' && debug", # Bug 1841281 +] + +["test_basics_worker.html"] +scheme = "https" + +["test_fileSystemDirectoryHandle.html"] +scheme = "https" + +["test_fileSystemDirectoryHandle_worker.html"] +scheme = "https" + +["test_syncAccessHandle_worker.html"] +scheme = "https" + +["test_writableFileStream.html"] +scheme = "https" + +["test_writableFileStream_worker.html"] +scheme = "https" diff --git a/dom/fs/test/mochitest/worker/mochitest.ini b/dom/fs/test/mochitest/worker/mochitest.ini deleted file mode 100644 index 9b5b2cbd98ce..000000000000 --- a/dom/fs/test/mochitest/worker/mochitest.ini +++ /dev/null @@ -1,14 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# 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/. - -[DEFAULT] -support-files = - head.js - test_basics_worker.js - test_fileSystemDirectoryHandle_worker.js - test_syncAccessHandle_worker.js - test_writableFileStream_worker.js - -[dummy.js] -skip-if = true diff --git a/dom/fs/test/mochitest/worker/mochitest.toml b/dom/fs/test/mochitest/worker/mochitest.toml new file mode 100644 index 000000000000..830c8f267d42 --- /dev/null +++ b/dom/fs/test/mochitest/worker/mochitest.toml @@ -0,0 +1,15 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# 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/. + +[DEFAULT] +support-files = [ + "head.js", + "test_basics_worker.js", + "test_fileSystemDirectoryHandle_worker.js", + "test_syncAccessHandle_worker.js", + "test_writableFileStream_worker.js", +] + +["dummy.js"] +skip-if = ["true"] diff --git a/dom/fs/test/moz.build b/dom/fs/test/moz.build index 640712c670fa..5f4ac34fca5b 100644 --- a/dom/fs/test/moz.build +++ b/dom/fs/test/moz.build @@ -11,6 +11,6 @@ TEST_DIRS += [ ] MOCHITEST_MANIFESTS += [ - "mochitest/mochitest.ini", - "mochitest/worker/mochitest.ini", + "mochitest/mochitest.toml", + "mochitest/worker/mochitest.toml", ] diff --git a/dom/html/moz.build b/dom/html/moz.build index fbbab312a6c8..779bdb65cbee 100644 --- a/dom/html/moz.build +++ b/dom/html/moz.build @@ -10,10 +10,10 @@ with Files("**"): DIRS += ["input"] MOCHITEST_MANIFESTS += [ - "test/dialog/mochitest.ini", - "test/forms/mochitest.ini", - "test/forms/without_selectionchange/mochitest.ini", - "test/mochitest.ini", + "test/dialog/mochitest.toml", + "test/forms/mochitest.toml", + "test/forms/without_selectionchange/mochitest.toml", + "test/mochitest.toml", ] MOCHITEST_CHROME_MANIFESTS += [ diff --git a/dom/html/test/dialog/mochitest.ini b/dom/html/test/dialog/mochitest.ini deleted file mode 100644 index 1f225714addb..000000000000 --- a/dom/html/test/dialog/mochitest.ini +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -[test_bug1648877_dialog_fullscreen_denied.html] diff --git a/dom/html/test/dialog/mochitest.toml b/dom/html/test/dialog/mochitest.toml new file mode 100644 index 000000000000..18f1f551a727 --- /dev/null +++ b/dom/html/test/dialog/mochitest.toml @@ -0,0 +1,4 @@ +[DEFAULT] + +["test_bug1648877_dialog_fullscreen_denied.html"] + diff --git a/dom/html/test/forms/mochitest.ini b/dom/html/test/forms/mochitest.ini deleted file mode 100644 index 2d84628b5f49..000000000000 --- a/dom/html/test/forms/mochitest.ini +++ /dev/null @@ -1,123 +0,0 @@ -[DEFAULT] -support-files = - save_restore_radio_groups.sjs - test_input_number_data.js - !/dom/html/test/reflect.js - FAIL.html - PASS.html -prefs = - formhelper.autozoom.force-disable.test-only=true - -[test_autocomplete.html] -[test_bug1039548.html] -[test_bug1283915.html] -[test_bug1286509.html] -[test_button_attributes_reflection.html] -[test_input_radio_indeterminate.html] -[test_input_radio_radiogroup.html] -[test_input_radio_required.html] -[test_change_event.html] -[test_datalist_element.html] -[test_double_submit.html] -support-files = file_double_submit.html -[test_form_attribute-1.html] -[test_form_attribute-2.html] -[test_form_attribute-3.html] -[test_form_attribute-4.html] -[test_form_attributes_reflection.html] -[test_form_named_getter_dynamic.html] -[test_formaction_attribute.html] -[test_formnovalidate_attribute.html] -[test_input_attributes_reflection.html] -[test_input_color_input_change_events.html] -[test_input_color_picker_datalist.html] -[test_input_color_picker_initial.html] -[test_input_color_picker_popup.html] -[test_input_color_picker_update.html] -[test_input_date_bad_input.html] -[test_input_date_key_events.html] -[test_input_datetime_input_change_events.html] -[test_input_datetime_disabled_focus.html] -[test_input_datetime_focus_blur.html] -[test_input_datetime_focus_blur_events.html] -[test_input_datetime_focus_state.html] -[test_input_datetime_hidden.html] -[test_input_datetime_readonly.html] -[test_input_datetime_calendar_button.html] -[test_input_datetime_reset_default_value_input_change_event.html] -[test_input_datetime_tabindex.html] -[test_input_defaultValue.html] -[test_input_email.html] -[test_input_event.html] -[test_input_file_picker.html] -[test_input_hasBeenTypePassword.html] -[test_input_hasBeenTypePassword_navigation.html] -support-files = file_login_fields.html -[test_input_list_attribute.html] -[test_input_number_l10n.html] -[test_input_number_key_events.html] -[test_input_number_mouse_events.html] -# Not run on Firefox for Android where the spin buttons are hidden: -skip-if = os == "android" - (os == "mac" && debug) # Bug 1484442 -[test_input_number_rounding.html] -[test_input_number_validation.html] -[test_input_number_focus.html] -[test_input_number_placeholder_shown.html] -[test_input_range_attr_order.html] -[test_input_range_key_events.html] -[test_input_range_mouse_and_touch_events.html] -[test_input_range_rounding.html] -[test_input_sanitization.html] -[test_input_setting_value.html] -[test_input_textarea_set_value_no_scroll.html] -[test_input_time_key_events.html] -[test_input_time_sec_millisec_field.html] -[test_input_types_pref.html] -[test_input_typing_sanitization.html] -[test_input_untrusted_key_events.html] -[test_input_url.html] -[test_interactive_content_in_label.html] -[test_interactive_content_in_summary.html] -[test_label_control_attribute.html] -[test_label_input_controls.html] -[test_max_attribute.html] -[test_maxlength_attribute.html] -[test_minlength_attribute.html] -[test_meter_element.html] -[test_meter_pseudo-classes.html] -[test_min_attribute.html] -[test_MozEditableElement_setUserInput.html] -[test_mozistextfield.html] -[test_novalidate_attribute.html] -[test_option_disabled.html] -[test_option_index_attribute.html] -[test_option_text.html] -[test_output_element.html] -[test_pattern_attribute.html] -[test_preserving_metadata_between_reloads.html] -[test_progress_element.html] -[test_radio_in_label.html] -[test_radio_radionodelist.html] -[test_required_attribute.html] -[test_restore_form_elements.html] -[test_save_restore_custom_elements.html] -support-files = save_restore_custom_elements_sample.html -[test_save_restore_radio_groups.html] -[test_select_change_event.html] -skip-if = os == 'mac' -[test_select_input_change_event.html] -skip-if = os == 'mac' -[test_select_selectedOptions.html] -[test_select_validation.html] -[test_set_range_text.html] -[test_step_attribute.html] -[test_stepup_stepdown.html] -[test_textarea_attributes_reflection.html] -[test_validation.html] -[test_valueasdate_attribute.html] -[test_valueasnumber_attribute.html] -[test_validation_not_in_doc.html] -[test_reportValidation_preventDefault.html] -[test_input_password_show_password_button.html] -[test_input_password_click_show_password_button.html] diff --git a/dom/html/test/forms/mochitest.toml b/dom/html/test/forms/mochitest.toml new file mode 100644 index 000000000000..80d6d3530f81 --- /dev/null +++ b/dom/html/test/forms/mochitest.toml @@ -0,0 +1,229 @@ +[DEFAULT] +support-files = [ + "save_restore_radio_groups.sjs", + "test_input_number_data.js", + "!/dom/html/test/reflect.js", + "FAIL.html", + "PASS.html", +] +prefs = ["formhelper.autozoom.force-disable.test-only=true"] + +["test_MozEditableElement_setUserInput.html"] + +["test_autocomplete.html"] + +["test_bug1039548.html"] + +["test_bug1283915.html"] + +["test_bug1286509.html"] + +["test_button_attributes_reflection.html"] + +["test_change_event.html"] + +["test_datalist_element.html"] + +["test_double_submit.html"] +support-files = ["file_double_submit.html"] + +["test_form_attribute-1.html"] + +["test_form_attribute-2.html"] + +["test_form_attribute-3.html"] + +["test_form_attribute-4.html"] + +["test_form_attributes_reflection.html"] + +["test_form_named_getter_dynamic.html"] + +["test_formaction_attribute.html"] + +["test_formnovalidate_attribute.html"] + +["test_input_attributes_reflection.html"] + +["test_input_color_input_change_events.html"] + +["test_input_color_picker_datalist.html"] + +["test_input_color_picker_initial.html"] + +["test_input_color_picker_popup.html"] + +["test_input_color_picker_update.html"] + +["test_input_date_bad_input.html"] + +["test_input_date_key_events.html"] + +["test_input_datetime_calendar_button.html"] + +["test_input_datetime_disabled_focus.html"] + +["test_input_datetime_focus_blur.html"] + +["test_input_datetime_focus_blur_events.html"] + +["test_input_datetime_focus_state.html"] + +["test_input_datetime_hidden.html"] + +["test_input_datetime_input_change_events.html"] + +["test_input_datetime_readonly.html"] + +["test_input_datetime_reset_default_value_input_change_event.html"] + +["test_input_datetime_tabindex.html"] + +["test_input_defaultValue.html"] + +["test_input_email.html"] + +["test_input_event.html"] + +["test_input_file_picker.html"] + +["test_input_hasBeenTypePassword.html"] + +["test_input_hasBeenTypePassword_navigation.html"] +support-files = ["file_login_fields.html"] + +["test_input_list_attribute.html"] + +["test_input_number_focus.html"] + +["test_input_number_key_events.html"] + +["test_input_number_l10n.html"] + +["test_input_number_mouse_events.html"] +# Not run on Firefox for Android where the spin buttons are hidden: +skip-if = [ + "os == 'android'", + "os == 'mac' && debug", # Bug 1484442 +] + +["test_input_number_placeholder_shown.html"] + +["test_input_number_rounding.html"] + +["test_input_number_validation.html"] + +["test_input_password_click_show_password_button.html"] + +["test_input_password_show_password_button.html"] + +["test_input_radio_indeterminate.html"] + +["test_input_radio_radiogroup.html"] + +["test_input_radio_required.html"] + +["test_input_range_attr_order.html"] + +["test_input_range_key_events.html"] + +["test_input_range_mouse_and_touch_events.html"] + +["test_input_range_rounding.html"] + +["test_input_sanitization.html"] + +["test_input_setting_value.html"] + +["test_input_textarea_set_value_no_scroll.html"] + +["test_input_time_key_events.html"] + +["test_input_time_sec_millisec_field.html"] + +["test_input_types_pref.html"] + +["test_input_typing_sanitization.html"] + +["test_input_untrusted_key_events.html"] + +["test_input_url.html"] + +["test_interactive_content_in_label.html"] + +["test_interactive_content_in_summary.html"] + +["test_label_control_attribute.html"] + +["test_label_input_controls.html"] + +["test_max_attribute.html"] + +["test_maxlength_attribute.html"] + +["test_meter_element.html"] + +["test_meter_pseudo-classes.html"] + +["test_min_attribute.html"] + +["test_minlength_attribute.html"] + +["test_mozistextfield.html"] + +["test_novalidate_attribute.html"] + +["test_option_disabled.html"] + +["test_option_index_attribute.html"] + +["test_option_text.html"] + +["test_output_element.html"] + +["test_pattern_attribute.html"] + +["test_preserving_metadata_between_reloads.html"] + +["test_progress_element.html"] + +["test_radio_in_label.html"] + +["test_radio_radionodelist.html"] + +["test_reportValidation_preventDefault.html"] + +["test_required_attribute.html"] + +["test_restore_form_elements.html"] + +["test_save_restore_custom_elements.html"] +support-files = ["save_restore_custom_elements_sample.html"] + +["test_save_restore_radio_groups.html"] + +["test_select_change_event.html"] +skip-if = ["os == 'mac'"] + +["test_select_input_change_event.html"] +skip-if = ["os == 'mac'"] + +["test_select_selectedOptions.html"] + +["test_select_validation.html"] + +["test_set_range_text.html"] + +["test_step_attribute.html"] + +["test_stepup_stepdown.html"] + +["test_textarea_attributes_reflection.html"] + +["test_validation.html"] + +["test_validation_not_in_doc.html"] + +["test_valueasdate_attribute.html"] + +["test_valueasnumber_attribute.html"] diff --git a/dom/html/test/forms/without_selectionchange/mochitest.ini b/dom/html/test/forms/without_selectionchange/mochitest.ini deleted file mode 100644 index 8224e29b34c8..000000000000 --- a/dom/html/test/forms/without_selectionchange/mochitest.ini +++ /dev/null @@ -1,5 +0,0 @@ -[DEFAULT] -prefs = - dom.select_events.textcontrols.enabled=false - -[test_select.html] diff --git a/dom/html/test/forms/without_selectionchange/mochitest.toml b/dom/html/test/forms/without_selectionchange/mochitest.toml new file mode 100644 index 000000000000..8f019d8d802a --- /dev/null +++ b/dom/html/test/forms/without_selectionchange/mochitest.toml @@ -0,0 +1,5 @@ +[DEFAULT] +prefs = ["dom.select_events.textcontrols.enabled=false"] + +["test_select.html"] + diff --git a/dom/html/test/mochitest.ini b/dom/html/test/mochitest.ini deleted file mode 100644 index 9903c77c512f..000000000000 --- a/dom/html/test/mochitest.ini +++ /dev/null @@ -1,614 +0,0 @@ -[DEFAULT] -prefs = - gfx.font_loader.delay=0 -support-files = - 347174transform.xsl - 347174transformable.xml - allowMedia.sjs - bug100533_iframe.html - bug100533_load.html - bug196523-subframe.html - bug199692-nested-d2.html - bug199692-nested.html - bug199692-popup.html - bug199692-scrolled.html - bug242709_iframe.html - bug242709_load.html - bug277724_iframe1.html - bug277724_iframe2.xhtml - bug277890_iframe.html - bug277890_load.html - bug340800_iframe.txt - bug369370-popup.png - bug372098-link-target.html - bug441930_iframe.html - bug445004-inner.html - bug445004-inner.js - bug445004-outer-abs.html - bug445004-outer-rel.html - bug445004-outer-write.html - bug446483-iframe.html - bug448564-echo.sjs - bug448564-iframe-1.html - bug448564-iframe-2.html - bug448564-iframe-3.html - bug448564-submit.js - bug499092.html - bug499092.xml - bug514856_iframe.html - bug1260704_iframe.html - bug1260704_iframe_empty.html - bug1292522_iframe.html - bug1292522_page.html - bug1315146-iframe.html - bug1315146-main.html - dummy_page.html - test_non-ascii-cookie.html^headers^ - file_bug209275_1.html - file_bug209275_2.html - file_bug209275_3.html - file_bug297761.html - file_bug417760.png - file_bug893537.html - file_bug1260704.png - file_formSubmission_img.jpg - file_formSubmission_text.txt - file_iframe_sandbox_a_if1.html - file_iframe_sandbox_a_if10.html - file_iframe_sandbox_a_if11.html - file_iframe_sandbox_a_if12.html - file_iframe_sandbox_a_if13.html - file_iframe_sandbox_a_if14.html - file_iframe_sandbox_a_if15.html - file_iframe_sandbox_a_if16.html - file_iframe_sandbox_a_if17.html - file_iframe_sandbox_a_if18.html - file_iframe_sandbox_a_if19.html - file_iframe_sandbox_a_if2.html - file_iframe_sandbox_a_if3.html - file_iframe_sandbox_a_if4.html - file_iframe_sandbox_a_if5.html - file_iframe_sandbox_a_if6.html - file_iframe_sandbox_a_if7.html - file_iframe_sandbox_a_if8.html - file_iframe_sandbox_a_if9.html - file_iframe_sandbox_b_if1.html - file_iframe_sandbox_b_if2.html - file_iframe_sandbox_b_if3.html - file_iframe_sandbox_c_if1.html - file_iframe_sandbox_c_if2.html - file_iframe_sandbox_c_if3.html - file_iframe_sandbox_c_if4.html - file_iframe_sandbox_c_if5.html - file_iframe_sandbox_c_if6.html - file_iframe_sandbox_c_if7.html - file_iframe_sandbox_c_if8.html - file_iframe_sandbox_c_if9.html - file_iframe_sandbox_close.html - file_iframe_sandbox_d_if1.html - file_iframe_sandbox_d_if10.html - file_iframe_sandbox_d_if11.html - file_iframe_sandbox_d_if12.html - file_iframe_sandbox_d_if13.html - file_iframe_sandbox_d_if14.html - file_iframe_sandbox_d_if15.html - file_iframe_sandbox_d_if16.html - file_iframe_sandbox_d_if17.html - file_iframe_sandbox_d_if18.html - file_iframe_sandbox_d_if19.html - file_iframe_sandbox_d_if2.html - file_iframe_sandbox_d_if20.html - file_iframe_sandbox_d_if21.html - file_iframe_sandbox_d_if22.html - file_iframe_sandbox_d_if23.html - file_iframe_sandbox_d_if3.html - file_iframe_sandbox_d_if4.html - file_iframe_sandbox_d_if5.html - file_iframe_sandbox_d_if6.html - file_iframe_sandbox_d_if7.html - file_iframe_sandbox_d_if8.html - file_iframe_sandbox_d_if9.html - file_iframe_sandbox_e_if1.html - file_iframe_sandbox_e_if10.html - file_iframe_sandbox_e_if11.html - file_iframe_sandbox_e_if12.html - file_iframe_sandbox_e_if13.html - file_iframe_sandbox_e_if14.html - file_iframe_sandbox_e_if15.html - file_iframe_sandbox_e_if16.html - file_iframe_sandbox_e_if2.html - file_iframe_sandbox_e_if3.html - file_iframe_sandbox_e_if4.html - file_iframe_sandbox_e_if5.html - file_iframe_sandbox_e_if6.html - file_iframe_sandbox_e_if7.html - file_iframe_sandbox_e_if8.html - file_iframe_sandbox_e_if9.html - file_iframe_sandbox_fail.js - file_iframe_sandbox_form_fail.html - file_iframe_sandbox_form_pass.html - file_iframe_sandbox_g_if1.html - file_iframe_sandbox_h_if1.html - file_iframe_sandbox_k_if1.html - file_iframe_sandbox_k_if2.html - file_iframe_sandbox_k_if3.html - file_iframe_sandbox_k_if4.html - file_iframe_sandbox_k_if5.html - file_iframe_sandbox_k_if6.html - file_iframe_sandbox_k_if7.html - file_iframe_sandbox_k_if8.html - file_iframe_sandbox_k_if9.html - file_iframe_sandbox_navigation_fail.html - file_iframe_sandbox_navigation_pass.html - file_iframe_sandbox_navigation_start.html - file_iframe_sandbox_open_window_fail.html - file_iframe_sandbox_open_window_pass.html - file_iframe_sandbox_pass.js - file_iframe_sandbox_redirect.html - file_iframe_sandbox_redirect.html^headers^ - file_iframe_sandbox_redirect_target.html - file_iframe_sandbox_refresh.html - file_iframe_sandbox_refresh.html^headers^ - file_iframe_sandbox_srcdoc_allow_scripts.html - file_iframe_sandbox_srcdoc_no_allow_scripts.html - file_iframe_sandbox_top_navigation_fail.html - file_iframe_sandbox_top_navigation_pass.html - file_iframe_sandbox_window_form_fail.html - file_iframe_sandbox_window_form_pass.html - file_iframe_sandbox_window_navigation_fail.html - file_iframe_sandbox_window_navigation_pass.html - file_iframe_sandbox_window_top_navigation_pass.html - file_iframe_sandbox_window_top_navigation_fail.html - file_iframe_sandbox_worker.js - file_srcdoc-2.html - file_srcdoc.html - file_srcdoc_iframe3.html - file_window_open_close_outer.html - file_window_open_close_inner.html - formSubmission_chrome.js - form_submit_server.sjs - formData_worker.js - formData_test.js - image.png - image-allow-credentials.png - image-allow-credentials.png^headers^ - nnc_lockup.gif - reflect.js - simpleFileOpener.js - file_bug1166138_1x.png - file_bug1166138_2x.png - file_bug1166138_def.png - script_fakepath.js - sw_formSubmission.js - object_bug287465_o1.html - object_bug287465_o2.html - object_bug556645.html - file.webm - !/gfx/layers/apz/test/mochitest/apz_test_utils.js - -[test_a_text.html] -[test_allowMedia.html] -skip-if = (verify && (os == 'linux' || os == 'win')) || ((!debug && os == "mac" && bits == 64) || (debug && os == "win") || (debug && os == "linux" && os_version == '18.04')) #Bug 1434744 -[test_anchor_href_cache_invalidation.html] -[test_base_attributes_reflection.html] -[test_bug1003539.html] -[test_bug100533.html] -[test_bug1013316.html] -[test_bug1045270.html] -[test_bug1089326.html] -[test_bug109445.html] -[test_bug109445.xhtml] -[test_bug1146116.html] -[test_bug1166138.html] -[test_bug1203668.html] -[test_bug1230665.html] -[test_bug1250401.html] -[test_bug1260664.html] -[test_bug1260704.html] -skip-if = - http3 - http2 -[test_bug1261673.html] -skip-if = (os == 'android' || os == 'mac') -[test_bug1261674-1.html] -skip-if = (os == 'android' || os == 'mac') -[test_bug1261674-2.html] -skip-if = (os == 'mac') -[test_bug1264157.html] -[test_bug1279218.html] -[test_bug1287321.html] -[test_bug1292522_same_domain_with_different_port_number.html] -skip-if = - http3 - http2 -[test_bug1295719_event_sequence_for_arrow_keys.html] -skip-if = os == "android" # up/down arrow keys not supported on android -[test_bug1295719_event_sequence_for_number_keys.html] -[test_bug1297.html] -[test_bug1310865.html] -[test_bug1315146.html] -skip-if = - http3 - http2 -[test_bug1322678.html] -skip-if = toolkit == "android" -[test_bug1323815.html] -[test_bug1366.html] -[test_bug1400.html] -[test_bug143220.html] -[test_bug1472426.html] -[test_bug1682.html] -[test_bug1785739.html] -[test_bug182279.html] -[test_bug1823.html] -[test_bug196523.html] -skip-if = - http3 - http2 -[test_bug199692.html] -[test_bug2082.html] -[test_bug209275.xhtml] -skip-if = toolkit == 'android' #TIMED_OUT -[test_bug237071.html] -[test_bug242709.html] -[test_bug24958.html] -[test_bug255820.html] -[test_bug259332.html] -[test_bug274626.html] -[test_bug277724.html] -[test_bug277890.html] -[test_bug287465.html] -[test_bug295561.html] -[test_bug297761.html] -[test_bug300691-1.html] -[test_bug300691-2.html] -[test_bug300691-3.xhtml] -[test_bug311681.html] -[test_bug311681.xhtml] -[test_bug324378.html] -[test_bug330705-1.html] -[test_bug332246.html] -[test_bug332848.xhtml] -[test_bug332893-1.html] -[test_bug332893-2.html] -[test_bug332893-3.html] -[test_bug332893-4.html] -[test_bug332893-5.html] -[test_bug332893-6.html] -[test_bug332893-7.html] -[test_bug3348.html] -[test_bug340017.xhtml] -[test_bug340800.html] -[test_bug347174.html] -[test_bug347174_write.html] -[test_bug347174_xsl.html] -[test_bug347174_xslp.html] -[test_bug353415-1.html] -[test_bug353415-2.html] -[test_bug359657.html] -[test_bug369370.html] -skip-if = toolkit == "android" - os == 'linux' # disabled on linux bug 1258103 -[test_bug371375.html] -[test_bug372098.html] -[test_bug373589.html] -[test_bug375003-1.html] -[test_bug375003-2.html] -[test_bug377624.html] -[test_bug380383.html] -[test_bug383383.html] -[test_bug383383_2.xhtml] -[test_bug384419.html] -[test_bug386496.html] -[test_bug386728.html] -[test_bug386996.html] -[test_bug388558.html] -[test_bug388746.html] -[test_bug388794.html] -[test_bug389797.html] -[test_bug390975.html] -[test_bug391994.html] -[test_bug394700.html] -[test_bug395107.html] -[test_bug401160.xhtml] -[test_bug402680.html] -[test_bug403868.html] -[test_bug403868.xhtml] -[test_bug405242.html] -[test_bug406596.html] -[test_bug417760.html] -[test_bug421640.html] -[test_bug424698.html] -[test_bug428135.xhtml] -[test_bug430351.html] -skip-if = toolkit == 'android' # Bug 1525959 -[test_bug435128.html] -skip-if = true # Disabled for timeouts. -[test_bug441930.html] -[test_bug442801.html] -[test_bug445004.html] -skip-if = true # Disabled permanently (bug 559932). -[test_bug446483.html] -[test_bug448166.html] -[test_bug448564.html] -[test_bug456229.html] -[test_bug458037.xhtml] -allow_xul_xbl = true -skip-if = - http3 - http2 -[test_bug460568.html] -[test_bug463104.html] -[test_bug478251.html] -[test_bug481335.xhtml] -skip-if = toolkit == 'android' #TIMED_OUT -[test_bug481440.html] -[test_bug481647.html] -[test_bug482659.html] -[test_bug486741.html] -[test_bug489532.html] -[test_bug497242.xhtml] -[test_bug499092.html] -[test_bug500885.html] -[test_bug512367.html] -[test_bug514856.html] -[test_bug518122.html] -[test_bug519987.html] -[test_bug523771.html] -[test_bug529819.html] -[test_bug529859.html] -[test_bug535043.html] -[test_bug536891.html] -[test_bug536895.html] -[test_bug546995.html] -[test_bug547850.html] -[test_bug551846.html] -[test_bug555567.html] -[test_bug556645.html] -[test_bug557087-1.html] -[test_bug557087-2.html] -[test_bug557087-3.html] -[test_bug557087-4.html] -[test_bug557087-5.html] -[test_bug557087-6.html] -[test_bug557620.html] -[test_bug558788-1.html] -[test_bug558788-2.html] -[test_bug560112.html] -[test_bug561634.html] -[test_bug561636.html] -[test_bug561640.html] -[test_bug564001.html] -[test_bug566046.html] -[test_bug567938-1.html] -[test_bug567938-2.html] -[test_bug567938-3.html] -[test_bug567938-4.html] -[test_bug569955.html] -[test_bug573969.html] -[test_bug57600.html] -[test_bug579079.html] -[test_bug582412-1.html] -[test_bug582412-2.html] -[test_bug583514.html] -[test_bug583533.html] -[test_bug586763.html] -[test_bug586786.html] -[test_bug587469.html] -[test_bug589.html] -[test_bug590353-1.html] -[test_bug590353-2.html] -[test_bug590363.html] -[test_bug592802.html] -[test_bug593689.html] -[test_bug595429.html] -[test_bug595447.html] -[test_bug595449.html] -[test_bug596350.html] -[test_bug596511.html] -[test_bug598643.html] -[test_bug598833-1.html] -[test_bug600155.html] -[test_bug601030.html] -[test_bug605124-1.html] -[test_bug605124-2.html] -[test_bug605125-1.html] -[test_bug605125-2.html] -[test_bug606817.html] -[test_bug607145.html] -skip-if = - http3 - http2 -[test_bug610212.html] -[test_bug610687.html] -[test_bug611189.html] -[test_bug612730.html] -skip-if = toolkit == 'android' # form control not selected/checked with synthesizeMouse -[test_bug613019.html] -[test_bug613113.html] -[test_bug613722.html] -[test_bug613979.html] -[test_bug615595.html] -fail-if = xorigin -[test_bug615833.html] -skip-if = toolkit == 'android' - os == 'mac' #TIMED_OUT # form control not selected/checked with synthesizeMouse, osx(bug 1275664) -[test_bug618948.html] -[test_bug619278.html] -[test_bug622558.html] -[test_bug622597.html] -[test_bug623291.html] -[test_bug6296.html] -[test_bug629801.html] -[test_bug633058.html] -[test_bug636336.html] -[test_bug641219.html] -[test_bug643051.html] -[test_bug646157.html] -[test_bug649134.html] -# This extra subdirectory is needed due to the nature of this test. -# With the bug, the test loads the base URL of the bug649134/file_*.sjs -# files, and the mochitest server responds with the contents of index.html if -# it exists in that case, which we use to detect failure. -# We cannot have index.html in this directory because it would prevent -# running the tests here. -support-files = - bug649134/file_bug649134-1.sjs - bug649134/file_bug649134-2.sjs - bug649134/index.html -skip-if = - http3 - http2 -[test_bug651956.html] -[test_bug658746.html] -[test_bug659596.html] -[test_bug659743.xml] -[test_bug660663.html] -[test_bug660959-1.html] -[test_bug660959-2.html] -[test_bug660959-3.html] -[test_bug666200.html] -[test_bug666666.html] -[test_bug669012.html] -[test_bug674558.html] -[test_bug674927.html] -[test_bug677495-1.html] -[test_bug677495.html] -[test_bug677658.html] -[test_bug682886.html] -[test_bug691.html] -[test_bug694.html] -[test_bug694503.html] -skip-if = toolkit == 'android' # Bug 1525959 -[test_bug696.html] -[test_bug717819.html] -[test_bug741266.html] -skip-if = toolkit == "android" # Android: needs control of popup window size -[test_bug742030.html] -[test_bug742549.html] -[test_bug745685.html] -[test_bug763626.html] -[test_bug765780.html] -[test_bug780993.html] -[test_bug787134.html] -[test_bug797113.html] -[test_bug803677.html] -[test_bug821307.html] -[test_bug827126.html] -[test_bug838582.html] -[test_bug839371.html] -[test_bug839913.html] -[test_bug841466.html] -[test_bug845057.html] -[test_bug869040.html] -[test_bug870787.html] -[test_bug871161.html] -support-files = file_bug871161-1.html file_bug871161-2.html -skip-if = - http3 - http2 -[test_bug874758.html] -[test_bug879319.html] -[test_bug885024.html] -[test_bug893537.html] -[test_bug95530.html] -[test_bug969346.html] -[test_bug982039.html] -[test_change_crossorigin.html] -skip-if = - http3 - http2 -[test_checked.html] -[test_dir_attributes_reflection.html] -[test_dl_attributes_reflection.html] -[test_document-element-inserted.html] -[test_documentAll.html] -[test_element_prototype.html] -[test_embed_attributes_reflection.html] -[test_fakepath.html] -[test_filepicker_default_directory.html] -[test_focusshift_button.html] -[test_form-parsing.html] -[test_formData.html] -[test_formSubmission.html] -skip-if = toolkit == 'android' #TIMED_OUT -[test_formSubmission2.html] -skip-if = toolkit == 'android' -[test_formelements.html] -[test_fragment_form_pointer.html] -[test_frame_count_with_synthetic_doc.html] -[test_getElementsByName_after_mutation.html] -[test_hidden.html] -[test_html_attributes_reflection.html] -[test_htmlcollection.html] -[test_iframe_sandbox_general.html] -tags = openwindow -skip-if = - http3 - http2 -[test_iframe_sandbox_inheritance.html] -tags = openwindow -[test_iframe_sandbox_navigation.html] -tags = openwindow -[test_iframe_sandbox_navigation2.html] -tags = openwindow -[test_iframe_sandbox_popups.html] -tags = openwindow -[test_iframe_sandbox_popups_inheritance.html] -tags = openwindow -[test_iframe_sandbox_redirect.html] -[test_iframe_sandbox_refresh.html] -[test_iframe_sandbox_same_origin.html] -[test_iframe_sandbox_workers.html] -[test_imageSrcSet.html] -[test_image_clone_load.html] -skip-if = - http3 - http2 -[test_img_attributes_reflection.html] -[test_input_file_cancel_event.html] -[test_input_files_not_nsIFile.html] -[test_input_lastInteractiveValue.html] -[test_inputmode.html] -[test_li_attributes_reflection.html] -[test_link_attributes_reflection.html] -[test_link_sizes.html] -[test_map_attributes_reflection.html] -[test_meta_attributes_reflection.html] -[test_mod_attributes_reflection.html] -[test_multipleFilePicker.html] -[test_named_options.html] -[test_nested_invalid_fieldsets.html] -[test_nestediframe.html] -[test_non-ascii-cookie.html] -support-files = file_cookiemanager.js -skip-if = - xorigin - http3 - http2 -[test_object_attributes_reflection.html] -[test_ol_attributes_reflection.html] -[test_option_defaultSelected.html] -[test_option_selected_state.html] -[test_param_attributes_reflection.html] -[test_q_attributes_reflection.html] -[test_restore_from_parser_fragment.html] -[test_rowscollection.html] -[test_script_module.html] -support-files = - file_script_module.html -[test_set_input_files.html] -[test_srcdoc-2.html] -[test_srcdoc.html] -[test_style_attributes_reflection.html] -[test_track.html] -[test_ul_attributes_reflection.html] -[test_viewport_resize.html] -[test_window_open_close.html] -tags = openwindow -skip-if = (toolkit == "android" && debug) || (os == "linux") || (os == "win" && debug && bits == 64) # Bug 1533759 -[test_window_open_from_closing.html] -skip-if = toolkit == "android" # test does not function on android due to aggressive background tab freezing -support-files = - file_window_close_and_open.html - file_broadcast_load.html \ No newline at end of file diff --git a/dom/html/test/mochitest.toml b/dom/html/test/mochitest.toml new file mode 100644 index 000000000000..2ff7c8920ce7 --- /dev/null +++ b/dom/html/test/mochitest.toml @@ -0,0 +1,989 @@ +[DEFAULT] +prefs = ["gfx.font_loader.delay=0"] +support-files = [ + "347174transform.xsl", + "347174transformable.xml", + "allowMedia.sjs", + "bug100533_iframe.html", + "bug100533_load.html", + "bug196523-subframe.html", + "bug199692-nested-d2.html", + "bug199692-nested.html", + "bug199692-popup.html", + "bug199692-scrolled.html", + "bug242709_iframe.html", + "bug242709_load.html", + "bug277724_iframe1.html", + "bug277724_iframe2.xhtml", + "bug277890_iframe.html", + "bug277890_load.html", + "bug340800_iframe.txt", + "bug369370-popup.png", + "bug372098-link-target.html", + "bug441930_iframe.html", + "bug445004-inner.html", + "bug445004-inner.js", + "bug445004-outer-abs.html", + "bug445004-outer-rel.html", + "bug445004-outer-write.html", + "bug446483-iframe.html", + "bug448564-echo.sjs", + "bug448564-iframe-1.html", + "bug448564-iframe-2.html", + "bug448564-iframe-3.html", + "bug448564-submit.js", + "bug499092.html", + "bug499092.xml", + "bug514856_iframe.html", + "bug1260704_iframe.html", + "bug1260704_iframe_empty.html", + "bug1292522_iframe.html", + "bug1292522_page.html", + "bug1315146-iframe.html", + "bug1315146-main.html", + "dummy_page.html", + "test_non-ascii-cookie.html^headers^", + "file_bug209275_1.html", + "file_bug209275_2.html", + "file_bug209275_3.html", + "file_bug297761.html", + "file_bug417760.png", + "file_bug893537.html", + "file_bug1260704.png", + "file_formSubmission_img.jpg", + "file_formSubmission_text.txt", + "file_iframe_sandbox_a_if1.html", + "file_iframe_sandbox_a_if10.html", + "file_iframe_sandbox_a_if11.html", + "file_iframe_sandbox_a_if12.html", + "file_iframe_sandbox_a_if13.html", + "file_iframe_sandbox_a_if14.html", + "file_iframe_sandbox_a_if15.html", + "file_iframe_sandbox_a_if16.html", + "file_iframe_sandbox_a_if17.html", + "file_iframe_sandbox_a_if18.html", + "file_iframe_sandbox_a_if19.html", + "file_iframe_sandbox_a_if2.html", + "file_iframe_sandbox_a_if3.html", + "file_iframe_sandbox_a_if4.html", + "file_iframe_sandbox_a_if5.html", + "file_iframe_sandbox_a_if6.html", + "file_iframe_sandbox_a_if7.html", + "file_iframe_sandbox_a_if8.html", + "file_iframe_sandbox_a_if9.html", + "file_iframe_sandbox_b_if1.html", + "file_iframe_sandbox_b_if2.html", + "file_iframe_sandbox_b_if3.html", + "file_iframe_sandbox_c_if1.html", + "file_iframe_sandbox_c_if2.html", + "file_iframe_sandbox_c_if3.html", + "file_iframe_sandbox_c_if4.html", + "file_iframe_sandbox_c_if5.html", + "file_iframe_sandbox_c_if6.html", + "file_iframe_sandbox_c_if7.html", + "file_iframe_sandbox_c_if8.html", + "file_iframe_sandbox_c_if9.html", + "file_iframe_sandbox_close.html", + "file_iframe_sandbox_d_if1.html", + "file_iframe_sandbox_d_if10.html", + "file_iframe_sandbox_d_if11.html", + "file_iframe_sandbox_d_if12.html", + "file_iframe_sandbox_d_if13.html", + "file_iframe_sandbox_d_if14.html", + "file_iframe_sandbox_d_if15.html", + "file_iframe_sandbox_d_if16.html", + "file_iframe_sandbox_d_if17.html", + "file_iframe_sandbox_d_if18.html", + "file_iframe_sandbox_d_if19.html", + "file_iframe_sandbox_d_if2.html", + "file_iframe_sandbox_d_if20.html", + "file_iframe_sandbox_d_if21.html", + "file_iframe_sandbox_d_if22.html", + "file_iframe_sandbox_d_if23.html", + "file_iframe_sandbox_d_if3.html", + "file_iframe_sandbox_d_if4.html", + "file_iframe_sandbox_d_if5.html", + "file_iframe_sandbox_d_if6.html", + "file_iframe_sandbox_d_if7.html", + "file_iframe_sandbox_d_if8.html", + "file_iframe_sandbox_d_if9.html", + "file_iframe_sandbox_e_if1.html", + "file_iframe_sandbox_e_if10.html", + "file_iframe_sandbox_e_if11.html", + "file_iframe_sandbox_e_if12.html", + "file_iframe_sandbox_e_if13.html", + "file_iframe_sandbox_e_if14.html", + "file_iframe_sandbox_e_if15.html", + "file_iframe_sandbox_e_if16.html", + "file_iframe_sandbox_e_if2.html", + "file_iframe_sandbox_e_if3.html", + "file_iframe_sandbox_e_if4.html", + "file_iframe_sandbox_e_if5.html", + "file_iframe_sandbox_e_if6.html", + "file_iframe_sandbox_e_if7.html", + "file_iframe_sandbox_e_if8.html", + "file_iframe_sandbox_e_if9.html", + "file_iframe_sandbox_fail.js", + "file_iframe_sandbox_form_fail.html", + "file_iframe_sandbox_form_pass.html", + "file_iframe_sandbox_g_if1.html", + "file_iframe_sandbox_h_if1.html", + "file_iframe_sandbox_k_if1.html", + "file_iframe_sandbox_k_if2.html", + "file_iframe_sandbox_k_if3.html", + "file_iframe_sandbox_k_if4.html", + "file_iframe_sandbox_k_if5.html", + "file_iframe_sandbox_k_if6.html", + "file_iframe_sandbox_k_if7.html", + "file_iframe_sandbox_k_if8.html", + "file_iframe_sandbox_k_if9.html", + "file_iframe_sandbox_navigation_fail.html", + "file_iframe_sandbox_navigation_pass.html", + "file_iframe_sandbox_navigation_start.html", + "file_iframe_sandbox_open_window_fail.html", + "file_iframe_sandbox_open_window_pass.html", + "file_iframe_sandbox_pass.js", + "file_iframe_sandbox_redirect.html", + "file_iframe_sandbox_redirect.html^headers^", + "file_iframe_sandbox_redirect_target.html", + "file_iframe_sandbox_refresh.html", + "file_iframe_sandbox_refresh.html^headers^", + "file_iframe_sandbox_srcdoc_allow_scripts.html", + "file_iframe_sandbox_srcdoc_no_allow_scripts.html", + "file_iframe_sandbox_top_navigation_fail.html", + "file_iframe_sandbox_top_navigation_pass.html", + "file_iframe_sandbox_window_form_fail.html", + "file_iframe_sandbox_window_form_pass.html", + "file_iframe_sandbox_window_navigation_fail.html", + "file_iframe_sandbox_window_navigation_pass.html", + "file_iframe_sandbox_window_top_navigation_pass.html", + "file_iframe_sandbox_window_top_navigation_fail.html", + "file_iframe_sandbox_worker.js", + "file_srcdoc-2.html", + "file_srcdoc.html", + "file_srcdoc_iframe3.html", + "file_window_open_close_outer.html", + "file_window_open_close_inner.html", + "formSubmission_chrome.js", + "form_submit_server.sjs", + "formData_worker.js", + "formData_test.js", + "image.png", + "image-allow-credentials.png", + "image-allow-credentials.png^headers^", + "nnc_lockup.gif", + "reflect.js", + "simpleFileOpener.js", + "file_bug1166138_1x.png", + "file_bug1166138_2x.png", + "file_bug1166138_def.png", + "script_fakepath.js", + "sw_formSubmission.js", + "object_bug287465_o1.html", + "object_bug287465_o2.html", + "object_bug556645.html", + "file.webm", + "!/gfx/layers/apz/test/mochitest/apz_test_utils.js", +] + +["test_a_text.html"] + +["test_allowMedia.html"] +skip-if = [ + "verify && (os == 'linux' || os == 'win')", + "!debug && os == 'mac' && bits == 64", + "debug && os == 'win'", + "debug && os == 'linux' && os_version == '18.04'", #Bug 1434744 +] + +["test_anchor_href_cache_invalidation.html"] + +["test_base_attributes_reflection.html"] + +["test_bug589.html"] + +["test_bug691.html"] + +["test_bug694.html"] + +["test_bug696.html"] + +["test_bug1297.html"] + +["test_bug1366.html"] + +["test_bug1400.html"] + +["test_bug1682.html"] + +["test_bug1823.html"] + +["test_bug2082.html"] + +["test_bug3348.html"] + +["test_bug6296.html"] + +["test_bug24958.html"] + +["test_bug57600.html"] + +["test_bug95530.html"] + +["test_bug100533.html"] + +["test_bug109445.html"] + +["test_bug109445.xhtml"] + +["test_bug143220.html"] + +["test_bug182279.html"] + +["test_bug196523.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug199692.html"] + +["test_bug209275.xhtml"] +skip-if = ["os == 'android'"] #TIMED_OUT + +["test_bug237071.html"] + +["test_bug242709.html"] + +["test_bug255820.html"] + +["test_bug259332.html"] + +["test_bug274626.html"] + +["test_bug277724.html"] + +["test_bug277890.html"] + +["test_bug287465.html"] + +["test_bug295561.html"] + +["test_bug297761.html"] + +["test_bug300691-1.html"] + +["test_bug300691-2.html"] + +["test_bug300691-3.xhtml"] + +["test_bug311681.html"] + +["test_bug311681.xhtml"] + +["test_bug324378.html"] + +["test_bug330705-1.html"] + +["test_bug332246.html"] + +["test_bug332848.xhtml"] + +["test_bug332893-1.html"] + +["test_bug332893-2.html"] + +["test_bug332893-3.html"] + +["test_bug332893-4.html"] + +["test_bug332893-5.html"] + +["test_bug332893-6.html"] + +["test_bug332893-7.html"] + +["test_bug340017.xhtml"] + +["test_bug340800.html"] + +["test_bug347174.html"] + +["test_bug347174_write.html"] + +["test_bug347174_xsl.html"] + +["test_bug347174_xslp.html"] + +["test_bug353415-1.html"] + +["test_bug353415-2.html"] + +["test_bug359657.html"] + +["test_bug369370.html"] +skip-if = [ + "os == 'android'", + "os == 'linux'", # disabled on linux bug 1258103 +] + +["test_bug371375.html"] + +["test_bug372098.html"] + +["test_bug373589.html"] + +["test_bug375003-1.html"] + +["test_bug375003-2.html"] + +["test_bug377624.html"] + +["test_bug380383.html"] + +["test_bug383383.html"] + +["test_bug383383_2.xhtml"] + +["test_bug384419.html"] + +["test_bug386496.html"] + +["test_bug386728.html"] + +["test_bug386996.html"] + +["test_bug388558.html"] + +["test_bug388746.html"] + +["test_bug388794.html"] + +["test_bug389797.html"] + +["test_bug390975.html"] + +["test_bug391994.html"] + +["test_bug394700.html"] + +["test_bug395107.html"] + +["test_bug401160.xhtml"] + +["test_bug402680.html"] + +["test_bug403868.html"] + +["test_bug403868.xhtml"] + +["test_bug405242.html"] + +["test_bug406596.html"] + +["test_bug417760.html"] + +["test_bug421640.html"] + +["test_bug424698.html"] + +["test_bug428135.xhtml"] + +["test_bug430351.html"] +skip-if = ["os == 'android'"] # Bug 1525959 + +["test_bug435128.html"] +skip-if = ["true"] # Disabled for timeouts. + +["test_bug441930.html"] + +["test_bug442801.html"] + +["test_bug445004.html"] +skip-if = ["true"] # Disabled permanently (bug 559932). + +["test_bug446483.html"] + +["test_bug448166.html"] + +["test_bug448564.html"] + +["test_bug456229.html"] + +["test_bug458037.xhtml"] +allow_xul_xbl = true +skip-if = [ + "http3", + "http2", +] + +["test_bug460568.html"] + +["test_bug463104.html"] + +["test_bug478251.html"] + +["test_bug481335.xhtml"] +skip-if = ["os == 'android'"] #TIMED_OUT + +["test_bug481440.html"] + +["test_bug481647.html"] + +["test_bug482659.html"] + +["test_bug486741.html"] + +["test_bug489532.html"] + +["test_bug497242.xhtml"] + +["test_bug499092.html"] + +["test_bug500885.html"] + +["test_bug512367.html"] + +["test_bug514856.html"] + +["test_bug518122.html"] + +["test_bug519987.html"] + +["test_bug523771.html"] + +["test_bug529819.html"] + +["test_bug529859.html"] + +["test_bug535043.html"] + +["test_bug536891.html"] + +["test_bug536895.html"] + +["test_bug546995.html"] + +["test_bug547850.html"] + +["test_bug551846.html"] + +["test_bug555567.html"] + +["test_bug556645.html"] + +["test_bug557087-1.html"] + +["test_bug557087-2.html"] + +["test_bug557087-3.html"] + +["test_bug557087-4.html"] + +["test_bug557087-5.html"] + +["test_bug557087-6.html"] + +["test_bug557620.html"] + +["test_bug558788-1.html"] + +["test_bug558788-2.html"] + +["test_bug560112.html"] + +["test_bug561634.html"] + +["test_bug561636.html"] + +["test_bug561640.html"] + +["test_bug564001.html"] + +["test_bug566046.html"] + +["test_bug567938-1.html"] + +["test_bug567938-2.html"] + +["test_bug567938-3.html"] + +["test_bug567938-4.html"] + +["test_bug569955.html"] + +["test_bug573969.html"] + +["test_bug579079.html"] + +["test_bug582412-1.html"] + +["test_bug582412-2.html"] + +["test_bug583514.html"] + +["test_bug583533.html"] + +["test_bug586763.html"] + +["test_bug586786.html"] + +["test_bug587469.html"] + +["test_bug590353-1.html"] + +["test_bug590353-2.html"] + +["test_bug590363.html"] + +["test_bug592802.html"] + +["test_bug593689.html"] + +["test_bug595429.html"] + +["test_bug595447.html"] + +["test_bug595449.html"] + +["test_bug596350.html"] + +["test_bug596511.html"] + +["test_bug598643.html"] + +["test_bug598833-1.html"] + +["test_bug600155.html"] + +["test_bug601030.html"] + +["test_bug605124-1.html"] + +["test_bug605124-2.html"] + +["test_bug605125-1.html"] + +["test_bug605125-2.html"] + +["test_bug606817.html"] + +["test_bug607145.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug610212.html"] + +["test_bug610687.html"] + +["test_bug611189.html"] + +["test_bug612730.html"] +skip-if = ["os == 'android'"] # form control not selected/checked with synthesizeMouse + +["test_bug613019.html"] + +["test_bug613113.html"] + +["test_bug613722.html"] + +["test_bug613979.html"] + +["test_bug615595.html"] +fail-if = ["xorigin"] + +["test_bug615833.html"] +skip-if = [ + "os == 'android'", + "os == 'mac'", #TIMED_OUT # form control not selected/checked with synthesizeMouse, osx(bug 1275664) +] + +["test_bug618948.html"] + +["test_bug619278.html"] + +["test_bug622558.html"] + +["test_bug622597.html"] + +["test_bug623291.html"] + +["test_bug629801.html"] + +["test_bug633058.html"] + +["test_bug636336.html"] + +["test_bug641219.html"] + +["test_bug643051.html"] + +["test_bug646157.html"] + +["test_bug649134.html"] +# This extra subdirectory is needed due to the nature of this test. +# With the bug, the test loads the base URL of the bug649134/file_*.sjs +# files, and the mochitest server responds with the contents of index.html if +# it exists in that case, which we use to detect failure. +# We cannot have index.html in this directory because it would prevent +# running the tests here. +support-files = [ + "bug649134/file_bug649134-1.sjs", + "bug649134/file_bug649134-2.sjs", + "bug649134/index.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_bug651956.html"] + +["test_bug658746.html"] + +["test_bug659596.html"] + +["test_bug659743.xml"] + +["test_bug660663.html"] + +["test_bug660959-1.html"] + +["test_bug660959-2.html"] + +["test_bug660959-3.html"] + +["test_bug666200.html"] + +["test_bug666666.html"] + +["test_bug669012.html"] + +["test_bug674558.html"] + +["test_bug674927.html"] + +["test_bug677495-1.html"] + +["test_bug677495.html"] + +["test_bug677658.html"] + +["test_bug682886.html"] + +["test_bug694503.html"] +skip-if = ["os == 'android'"] # Bug 1525959 + +["test_bug717819.html"] + +["test_bug741266.html"] +skip-if = ["os == 'android'"] # Android: needs control of popup window size + +["test_bug742030.html"] + +["test_bug742549.html"] + +["test_bug745685.html"] + +["test_bug763626.html"] + +["test_bug765780.html"] + +["test_bug780993.html"] + +["test_bug787134.html"] + +["test_bug797113.html"] + +["test_bug803677.html"] + +["test_bug821307.html"] + +["test_bug827126.html"] + +["test_bug838582.html"] + +["test_bug839371.html"] + +["test_bug839913.html"] + +["test_bug841466.html"] + +["test_bug845057.html"] + +["test_bug869040.html"] + +["test_bug870787.html"] + +["test_bug871161.html"] +support-files = [ + "file_bug871161-1.html", + "file_bug871161-2.html", +] +skip-if = [ + "http3", + "http2", +] + +["test_bug874758.html"] + +["test_bug879319.html"] + +["test_bug885024.html"] + +["test_bug893537.html"] + +["test_bug969346.html"] + +["test_bug982039.html"] + +["test_bug1003539.html"] + +["test_bug1013316.html"] + +["test_bug1045270.html"] + +["test_bug1089326.html"] + +["test_bug1146116.html"] + +["test_bug1166138.html"] + +["test_bug1203668.html"] + +["test_bug1230665.html"] + +["test_bug1250401.html"] + +["test_bug1260664.html"] + +["test_bug1260704.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1261673.html"] +skip-if = [ + "os == 'android'", + "os == 'mac'", +] + +["test_bug1261674-1.html"] +skip-if = [ + "os == 'android'", + "os == 'mac'", +] + +["test_bug1261674-2.html"] +skip-if = ["os == 'mac'"] + +["test_bug1264157.html"] + +["test_bug1279218.html"] + +["test_bug1287321.html"] + +["test_bug1292522_same_domain_with_different_port_number.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1295719_event_sequence_for_arrow_keys.html"] +skip-if = ["os == 'android'"] # up/down arrow keys not supported on android + +["test_bug1295719_event_sequence_for_number_keys.html"] + +["test_bug1310865.html"] + +["test_bug1315146.html"] +skip-if = [ + "http3", + "http2", +] + +["test_bug1322678.html"] +skip-if = ["os == 'android'"] + +["test_bug1323815.html"] + +["test_bug1472426.html"] + +["test_bug1785739.html"] + +["test_change_crossorigin.html"] +skip-if = [ + "http3", + "http2", +] + +["test_checked.html"] + +["test_dir_attributes_reflection.html"] + +["test_dl_attributes_reflection.html"] + +["test_document-element-inserted.html"] + +["test_documentAll.html"] + +["test_element_prototype.html"] + +["test_embed_attributes_reflection.html"] + +["test_fakepath.html"] + +["test_filepicker_default_directory.html"] + +["test_focusshift_button.html"] + +["test_form-parsing.html"] + +["test_formData.html"] + +["test_formSubmission.html"] +skip-if = ["os == 'android'"] #TIMED_OUT + +["test_formSubmission2.html"] +skip-if = ["os == 'android'"] + +["test_formelements.html"] + +["test_fragment_form_pointer.html"] + +["test_frame_count_with_synthetic_doc.html"] + +["test_getElementsByName_after_mutation.html"] + +["test_hidden.html"] + +["test_html_attributes_reflection.html"] + +["test_htmlcollection.html"] + +["test_iframe_sandbox_general.html"] +tags = "openwindow" +skip-if = [ + "http3", + "http2", +] + +["test_iframe_sandbox_inheritance.html"] +tags = "openwindow" + +["test_iframe_sandbox_navigation.html"] +tags = "openwindow" + +["test_iframe_sandbox_navigation2.html"] +tags = "openwindow" + +["test_iframe_sandbox_popups.html"] +tags = "openwindow" + +["test_iframe_sandbox_popups_inheritance.html"] +tags = "openwindow" + +["test_iframe_sandbox_redirect.html"] + +["test_iframe_sandbox_refresh.html"] + +["test_iframe_sandbox_same_origin.html"] + +["test_iframe_sandbox_workers.html"] + +["test_imageSrcSet.html"] + +["test_image_clone_load.html"] +skip-if = [ + "http3", + "http2", +] + +["test_img_attributes_reflection.html"] + +["test_input_file_cancel_event.html"] + +["test_input_files_not_nsIFile.html"] + +["test_input_lastInteractiveValue.html"] + +["test_inputmode.html"] + +["test_li_attributes_reflection.html"] + +["test_link_attributes_reflection.html"] + +["test_link_sizes.html"] + +["test_map_attributes_reflection.html"] + +["test_meta_attributes_reflection.html"] + +["test_mod_attributes_reflection.html"] + +["test_multipleFilePicker.html"] + +["test_named_options.html"] + +["test_nested_invalid_fieldsets.html"] + +["test_nestediframe.html"] + +["test_non-ascii-cookie.html"] +support-files = ["file_cookiemanager.js"] +skip-if = [ + "xorigin", + "http3", + "http2", +] + +["test_object_attributes_reflection.html"] + +["test_ol_attributes_reflection.html"] + +["test_option_defaultSelected.html"] + +["test_option_selected_state.html"] + +["test_param_attributes_reflection.html"] + +["test_q_attributes_reflection.html"] + +["test_restore_from_parser_fragment.html"] + +["test_rowscollection.html"] + +["test_script_module.html"] +support-files = ["file_script_module.html"] + +["test_set_input_files.html"] + +["test_srcdoc-2.html"] + +["test_srcdoc.html"] + +["test_style_attributes_reflection.html"] + +["test_track.html"] + +["test_ul_attributes_reflection.html"] + +["test_viewport_resize.html"] + +["test_window_open_close.html"] +tags = "openwindow" +skip-if = [ + "os == 'android' && debug", + "os == 'linux'", + "os == 'win' && debug && bits == 64", # Bug 1533759 +] + +["test_window_open_from_closing.html"] +skip-if = ["os == 'android'"] # test does not function on android due to aggressive background tab freezing +support-files = [ + "file_window_close_and_open.html", + "file_broadcast_load.html", +] diff --git a/dom/ipc/moz.build b/dom/ipc/moz.build index e620a2b21ae6..a1b4b9949a61 100644 --- a/dom/ipc/moz.build +++ b/dom/ipc/moz.build @@ -267,7 +267,7 @@ BROWSER_CHROME_MANIFESTS += [ ] MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.toml"] -MOCHITEST_MANIFESTS += ["tests/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.ini"] if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": diff --git a/dom/ipc/tests/mochitest.ini b/dom/ipc/tests/mochitest.ini deleted file mode 100644 index 22916f1321fa..000000000000 --- a/dom/ipc/tests/mochitest.ini +++ /dev/null @@ -1,25 +0,0 @@ -[DEFAULT] - -[test_temporaryfile_stream.html] -skip-if = - toolkit == 'android' - (os == "win" && processor == "aarch64") # Bug 1525959, aarch64 due to 1531150 -support-files = - blob_verify.sjs - !/dom/canvas/test/captureStream_common.js -[test_Preallocated.html] -skip-if = - toolkit == 'android' - tsan # Bug 1525959. tsan: Bug 1683730 -[test_window_open_discarded_bc.html] -skip-if = toolkit == 'android' -[test_bcg_processes.html] -skip-if = - http3 - http2 -[test_browsingcontext_currenturi.html] -support-files = - file_broadcast_currenturi_onload.html -skip-if = - http3 - http2 diff --git a/dom/ipc/tests/mochitest.toml b/dom/ipc/tests/mochitest.toml new file mode 100644 index 000000000000..b1b347408d54 --- /dev/null +++ b/dom/ipc/tests/mochitest.toml @@ -0,0 +1,30 @@ +[DEFAULT] + +["test_Preallocated.html"] +skip-if = [ + "os == 'android'", + "tsan", # Bug 1525959. tsan: Bug 1683730 +] + +["test_bcg_processes.html"] +skip-if = [ + "http3", + "http2", +] + +["test_browsingcontext_currenturi.html"] +support-files = ["file_broadcast_currenturi_onload.html"] +skip-if = [ + "http3", + "http2", +] + +["test_temporaryfile_stream.html"] +skip-if = ["os == 'android'"] +support-files = [ + "blob_verify.sjs", + "!/dom/canvas/test/captureStream_common.js", +] + +["test_window_open_discarded_bc.html"] +skip-if = ["os == 'android'"] diff --git a/dom/jsurl/moz.build b/dom/jsurl/moz.build index 261b511e9f9f..188d097326f7 100644 --- a/dom/jsurl/moz.build +++ b/dom/jsurl/moz.build @@ -24,4 +24,4 @@ FINAL_LIBRARY = "xul" include("/ipc/chromium/chromium-config.mozbuild") -MOCHITEST_MANIFESTS += ["test/mochitest.ini"] +MOCHITEST_MANIFESTS += ["test/mochitest.toml"] diff --git a/dom/jsurl/test/mochitest.ini b/dom/jsurl/test/mochitest.ini deleted file mode 100644 index 6b3e5da19765..000000000000 --- a/dom/jsurl/test/mochitest.ini +++ /dev/null @@ -1,17 +0,0 @@ -[DEFAULT] -support-files = - fail.html - form-submit.html - load-stopping-1a.html - load-stopping-1b.html - load-stopping-1c.html - load-stopping-1d.html - pass.html - -[test_bug351633-1.html] -[test_bug351633-2.html] -[test_bug351633-3.html] -[test_bug351633-4.html] -[test_bug384981.html] -[test_bug1382035-1.html] -[test_bug1382035-2.html] diff --git a/dom/jsurl/test/mochitest.toml b/dom/jsurl/test/mochitest.toml new file mode 100644 index 000000000000..2882e4c146ee --- /dev/null +++ b/dom/jsurl/test/mochitest.toml @@ -0,0 +1,25 @@ +[DEFAULT] +support-files = [ + "fail.html", + "form-submit.html", + "load-stopping-1a.html", + "load-stopping-1b.html", + "load-stopping-1c.html", + "load-stopping-1d.html", + "pass.html", +] + +["test_bug351633-1.html"] + +["test_bug351633-2.html"] + +["test_bug351633-3.html"] + +["test_bug351633-4.html"] + +["test_bug384981.html"] + +["test_bug1382035-1.html"] + +["test_bug1382035-2.html"] + diff --git a/dom/l10n/moz.build b/dom/l10n/moz.build index 03b068b3f716..3b46f505dd86 100644 --- a/dom/l10n/moz.build +++ b/dom/l10n/moz.build @@ -27,7 +27,7 @@ LOCAL_INCLUDES += [ FINAL_LIBRARY = "xul" -MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.ini"] +MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.toml"] MOCHITEST_CHROME_MANIFESTS += ["tests/mochitest/chrome.toml"] BROWSER_CHROME_MANIFESTS += ["tests/mochitest/browser.toml"] diff --git a/dom/l10n/tests/mochitest/mochitest.ini b/dom/l10n/tests/mochitest/mochitest.ini deleted file mode 100644 index 82af57c47c65..000000000000 --- a/dom/l10n/tests/mochitest/mochitest.ini +++ /dev/null @@ -1 +0,0 @@ -[document_l10n/test_unpriv_iframe.html] diff --git a/dom/l10n/tests/mochitest/mochitest.toml b/dom/l10n/tests/mochitest/mochitest.toml new file mode 100644 index 000000000000..c94367f66b6f --- /dev/null +++ b/dom/l10n/tests/mochitest/mochitest.toml @@ -0,0 +1,4 @@ +[DEFAULT] + +["document_l10n/test_unpriv_iframe.html"] + diff --git a/dom/localstorage/moz.build b/dom/localstorage/moz.build index 29f02fcd0e37..c81068bb01c5 100644 --- a/dom/localstorage/moz.build +++ b/dom/localstorage/moz.build @@ -7,7 +7,7 @@ with Files("**"): BUG_COMPONENT = ("Core", "Storage: localStorage & sessionStorage") -MOCHITEST_MANIFESTS += ["test/mochitest.ini"] +MOCHITEST_MANIFESTS += ["test/mochitest.toml"] BROWSER_CHROME_MANIFESTS += ["test/browser.toml"] diff --git a/dom/localstorage/test/mochitest.ini b/dom/localstorage/test/mochitest.toml similarity index 70% rename from dom/localstorage/test/mochitest.ini rename to dom/localstorage/test/mochitest.toml index 500bdd0a1ccf..403207218ea8 100644 --- a/dom/localstorage/test/mochitest.ini +++ b/dom/localstorage/test/mochitest.toml @@ -3,8 +3,9 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. [DEFAULT] -support-files = - helpers.js - unit/test_largeItems.js +support-files = [ + "helpers.js", + "unit/test_largeItems.js", +] -[test_largeItems.html] +["test_largeItems.html"] diff --git a/dom/locks/moz.build b/dom/locks/moz.build index b59d12f3f319..f6302e99e201 100644 --- a/dom/locks/moz.build +++ b/dom/locks/moz.build @@ -7,7 +7,7 @@ with Files("**"): BUG_COMPONENT = ("Core", "DOM: Core & HTML") -MOCHITEST_MANIFESTS += ["test/mochitest.ini"] +MOCHITEST_MANIFESTS += ["test/mochitest.toml"] EXPORTS.mozilla.dom += [ "Lock.h", diff --git a/dom/locks/test/mochitest.ini b/dom/locks/test/mochitest.ini deleted file mode 100644 index 036be4dbb9e8..000000000000 --- a/dom/locks/test/mochitest.ini +++ /dev/null @@ -1,6 +0,0 @@ -[DEFAULT] -scheme = https - -[test_strongworker.html] -support-files = - file_strongworker.js diff --git a/dom/locks/test/mochitest.toml b/dom/locks/test/mochitest.toml new file mode 100644 index 000000000000..2c565cdb0264 --- /dev/null +++ b/dom/locks/test/mochitest.toml @@ -0,0 +1,6 @@ +[DEFAULT] +scheme = "https" + +["test_strongworker.html"] +support-files = ["file_strongworker.js"] +