From 8d9aaf93b0705d7dbb38de4e895307147d98c3c2 Mon Sep 17 00:00:00 2001 From: Norisz Fay Date: Wed, 4 Oct 2023 23:31:21 +0300 Subject: [PATCH] Backed out 2 changesets (bug 1853245) for causing python failure CLOSED TREE Backed out changeset d09e9295477f (bug 1853245) Backed out changeset 54a1341a95d6 (bug 1853245) --- netwerk/test/browser/browser.ini | 147 ++++++++ netwerk/test/browser/browser.toml | 176 --------- netwerk/test/moz.build | 2 +- .../test-manifest-keys-extracted/browser.ini | 4 + .../test-manifest-keys-extracted/browser.toml | 7 - .../test-manifest-keys-extracted/moz.build | 2 +- .../mozbuild/test/frontend/test_emitter.py | 4 +- remote/cdp/moz.build | 26 +- remote/cdp/test/browser/browser.ini | 19 + remote/cdp/test/browser/browser.toml | 27 -- remote/cdp/test/browser/dom/browser.ini | 16 + remote/cdp/test/browser/dom/browser.toml | 20 -- remote/cdp/test/browser/emulation/browser.ini | 17 + .../cdp/test/browser/emulation/browser.toml | 22 -- remote/cdp/test/browser/fetch/browser.ini | 15 + remote/cdp/test/browser/fetch/browser.toml | 18 - remote/cdp/test/browser/input/browser.ini | 22 ++ remote/cdp/test/browser/input/browser.toml | 28 -- remote/cdp/test/browser/io/browser.ini | 16 + remote/cdp/test/browser/io/browser.toml | 20 -- remote/cdp/test/browser/log/browser.ini | 15 + remote/cdp/test/browser/log/browser.toml | 18 - remote/cdp/test/browser/network/browser.ini | 39 ++ remote/cdp/test/browser/network/browser.toml | 52 --- remote/cdp/test/browser/page/browser.ini | 49 +++ remote/cdp/test/browser/page/browser.toml | 78 ---- remote/cdp/test/browser/runtime/browser.ini | 32 ++ remote/cdp/test/browser/runtime/browser.toml | 45 --- remote/cdp/test/browser/security/browser.ini | 15 + remote/cdp/test/browser/security/browser.toml | 18 - .../cdp/test/browser/systemInfo/browser.ini | 15 + .../cdp/test/browser/systemInfo/browser.toml | 18 - remote/cdp/test/browser/target/browser.ini | 28 ++ remote/cdp/test/browser/target/browser.toml | 41 --- toolkit/components/antitracking/moz.build | 2 +- .../antitracking/test/browser/browser.ini | 236 ++++++++++++ .../antitracking/test/browser/browser.toml | 339 ------------------ toolkit/components/certviewer/moz.build | 2 +- .../certviewer/tests/browser/browser.ini | 23 ++ .../certviewer/tests/browser/browser.toml | 38 -- toolkit/components/messaging-system/moz.build | 2 +- .../test/browser/browser.ini | 36 ++ .../test/browser/browser.toml | 60 ---- toolkit/components/pictureinpicture/moz.build | 2 +- .../pictureinpicture/tests/browser.ini | 158 ++++++++ .../pictureinpicture/tests/browser.toml | 239 ------------ .../places/tests/browser/browser.ini | 88 +++++ .../places/tests/browser/browser.toml | 113 ------ toolkit/components/places/tests/moz.build | 2 +- .../components/remotebrowserutils/moz.build | 2 +- .../tests/browser/browser.ini | 16 + .../tests/browser/browser.toml | 22 -- .../exthandler/tests/mochitest/browser.ini | 130 +++++++ .../exthandler/tests/mochitest/browser.toml | 158 -------- uriloader/exthandler/tests/moz.build | 2 +- 55 files changed, 1160 insertions(+), 1581 deletions(-) create mode 100644 netwerk/test/browser/browser.ini delete mode 100644 netwerk/test/browser/browser.toml create mode 100644 python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/browser.ini delete mode 100644 python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/browser.toml create mode 100644 remote/cdp/test/browser/browser.ini delete mode 100644 remote/cdp/test/browser/browser.toml create mode 100644 remote/cdp/test/browser/dom/browser.ini delete mode 100644 remote/cdp/test/browser/dom/browser.toml create mode 100644 remote/cdp/test/browser/emulation/browser.ini delete mode 100644 remote/cdp/test/browser/emulation/browser.toml create mode 100644 remote/cdp/test/browser/fetch/browser.ini delete mode 100644 remote/cdp/test/browser/fetch/browser.toml create mode 100644 remote/cdp/test/browser/input/browser.ini delete mode 100644 remote/cdp/test/browser/input/browser.toml create mode 100644 remote/cdp/test/browser/io/browser.ini delete mode 100644 remote/cdp/test/browser/io/browser.toml create mode 100644 remote/cdp/test/browser/log/browser.ini delete mode 100644 remote/cdp/test/browser/log/browser.toml create mode 100644 remote/cdp/test/browser/network/browser.ini delete mode 100644 remote/cdp/test/browser/network/browser.toml create mode 100644 remote/cdp/test/browser/page/browser.ini delete mode 100644 remote/cdp/test/browser/page/browser.toml create mode 100644 remote/cdp/test/browser/runtime/browser.ini delete mode 100644 remote/cdp/test/browser/runtime/browser.toml create mode 100644 remote/cdp/test/browser/security/browser.ini delete mode 100644 remote/cdp/test/browser/security/browser.toml create mode 100644 remote/cdp/test/browser/systemInfo/browser.ini delete mode 100644 remote/cdp/test/browser/systemInfo/browser.toml create mode 100644 remote/cdp/test/browser/target/browser.ini delete mode 100644 remote/cdp/test/browser/target/browser.toml create mode 100644 toolkit/components/antitracking/test/browser/browser.ini delete mode 100644 toolkit/components/antitracking/test/browser/browser.toml create mode 100644 toolkit/components/certviewer/tests/browser/browser.ini delete mode 100644 toolkit/components/certviewer/tests/browser/browser.toml create mode 100644 toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser.ini delete mode 100644 toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser.toml create mode 100644 toolkit/components/pictureinpicture/tests/browser.ini delete mode 100644 toolkit/components/pictureinpicture/tests/browser.toml create mode 100644 toolkit/components/places/tests/browser/browser.ini delete mode 100644 toolkit/components/places/tests/browser/browser.toml create mode 100644 toolkit/components/remotebrowserutils/tests/browser/browser.ini delete mode 100644 toolkit/components/remotebrowserutils/tests/browser/browser.toml create mode 100644 uriloader/exthandler/tests/mochitest/browser.ini delete mode 100644 uriloader/exthandler/tests/mochitest/browser.toml diff --git a/netwerk/test/browser/browser.ini b/netwerk/test/browser/browser.ini new file mode 100644 index 000000000000..0812a0d895a7 --- /dev/null +++ b/netwerk/test/browser/browser.ini @@ -0,0 +1,147 @@ +[DEFAULT] +support-files = + dummy.html + ioactivity.html + redirect.sjs + auth_post.sjs + early_hint_main_html.sjs + early_hint_pixel_count.sjs + early_hint_redirect.sjs + early_hint_redirect_html.sjs + early_hint_pixel.sjs + early_hint_error.sjs + early_hint_asset.sjs + early_hint_asset_html.sjs + early_hint_csp_options_html.sjs + early_hint_preconnect_html.sjs + post.html + res.css + res.css^headers^ + res.csv + res.csv^headers^ + res_206.html + res_206.html^headers^ + res_nosniff.html + res_nosniff.html^headers^ + res_img.png + res_nosniff2.html + res_nosniff2.html^headers^ + res_not_ok.html + res_not_ok.html^headers^ + res.unknown + res_img_unknown.png + res.mp3 + res_invalid_partial.mp3 + res_invalid_partial.mp3^headers^ + res_206.mp3 + res_206.mp3^headers^ + res_not_200or206.mp3 + res_not_200or206.mp3^headers^ + res_img_for_unknown_decoder + res_img_for_unknown_decoder^headers^ + res_object.html + res_sub_document.html + square.png + 103_preload.html + 103_preload.html^informationalResponse^ + 103_preload.html^headers^ + no_103_preload.html + no_103_preload.html^headers^ + 103_preload_anchor.html^informationalResponse^ + 103_preload_anchor.html^headers^ + 103_preload_anchor.html + 103_preload_and_404.html^informationalResponse^ + 103_preload_and_404.html^headers^ + 103_preload_and_404.html + 103_preload_iframe.html + 103_preload_iframe.html^headers^ + 103_preload_csp_imgsrc_none.html + 103_preload_csp_imgsrc_none.html^headers^ + 103_preload_csp_imgsrc_none.html^informationalResponse^ + cookie_filtering_resource.sjs + cookie_filtering_secure_resource_com.html + cookie_filtering_secure_resource_com.html^headers^ + cookie_filtering_secure_resource_org.html + cookie_filtering_secure_resource_org.html^headers^ + cookie_filtering_square.png + cookie_filtering_square.png^headers^ + x_frame_options.html + x_frame_options.html^headers^ + test_1629307.html + file_link_header.sjs + +[browser_about_cache.js] +[browser_bug1535877.js] +[browser_NetUtil.js] +[browser_child_resource.js] +skip-if = + !crashreporter + os == "win" #Bug 1775761 +[browser_post_file.js] +[browser_nsIFormPOSTActionChannel.js] +skip-if = true # protocol handler and channel does not work in content process +[browser_resource_navigation.js] +[browser_test_io_activity.js] +skip-if = socketprocess_networking +[browser_cookie_sync_across_tabs.js] +[browser_test_favicon.js] +skip-if = (verify && (os == 'linux' || os == 'mac')) +support-files = + damonbowling.jpg + damonbowling.jpg^headers^ + file_favicon.html +[browser_fetch_lnk.js] +run-if = os == "win" +support-files = + file_lnk.lnk +[browser_post_auth.js] +skip-if = socketprocess_networking # Bug 1772209 +[browser_backgroundtask_purgeHTTPCache.js] +skip-if = + os == "android" # MultiInstanceLock doesn't work on Android + os == "mac" # intermittent TV timeouts on Mac +[browser_103_telemetry.js] +[browser_103_preload.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_preload_2.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_redirect.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_error.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_assets.js] +[browser_103_no_cancel_on_error.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_redirect_from_server.js] +[browser_cookie_filtering_basic.js] +[browser_cookie_filtering_insecure.js] +[browser_cookie_filtering_oa.js] +[browser_cookie_filtering_cross_origin.js] +[browser_cookie_filtering_subdomain.js] +[browser_103_user_load.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_referrer_policy.js] +support-files = + early_hint_referrer_policy_html.sjs + early_hint_preload_test_helper.sys.mjs +[browser_103_csp.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_csp_images.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_csp_styles.js] +support-files = + early_hint_preload_test_helper.sys.mjs +[browser_103_preconnect.js] +[browser_103_cleanup.js] +[browser_bug1629307.js] +[browser_103_private_window.js] +[browser_speculative_connection_link_header.js] +[browser_103_assets_extension.js] diff --git a/netwerk/test/browser/browser.toml b/netwerk/test/browser/browser.toml deleted file mode 100644 index 70747ed551a6..000000000000 --- a/netwerk/test/browser/browser.toml +++ /dev/null @@ -1,176 +0,0 @@ -[DEFAULT] -support-files = [ - "dummy.html", - "ioactivity.html", - "redirect.sjs", - "auth_post.sjs", - "early_hint_main_html.sjs", - "early_hint_pixel_count.sjs", - "early_hint_redirect.sjs", - "early_hint_redirect_html.sjs", - "early_hint_pixel.sjs", - "early_hint_error.sjs", - "early_hint_asset.sjs", - "early_hint_asset_html.sjs", - "early_hint_csp_options_html.sjs", - "early_hint_preconnect_html.sjs", - "post.html", - "res.css", - "res.css^headers^", - "res.csv", - "res.csv^headers^", - "res_206.html", - "res_206.html^headers^", - "res_nosniff.html", - "res_nosniff.html^headers^", - "res_img.png", - "res_nosniff2.html", - "res_nosniff2.html^headers^", - "res_not_ok.html", - "res_not_ok.html^headers^", - "res.unknown", - "res_img_unknown.png", - "res.mp3", - "res_invalid_partial.mp3", - "res_invalid_partial.mp3^headers^", - "res_206.mp3", - "res_206.mp3^headers^", - "res_not_200or206.mp3", - "res_not_200or206.mp3^headers^", - "res_img_for_unknown_decoder", - "res_img_for_unknown_decoder^headers^", - "res_object.html", - "res_sub_document.html", - "square.png", - "103_preload.html", - "103_preload.html^informationalResponse^", - "103_preload.html^headers^", - "no_103_preload.html", - "no_103_preload.html^headers^", - "103_preload_anchor.html^informationalResponse^", - "103_preload_anchor.html^headers^", - "103_preload_anchor.html", - "103_preload_and_404.html^informationalResponse^", - "103_preload_and_404.html^headers^", - "103_preload_and_404.html", - "103_preload_iframe.html", - "103_preload_iframe.html^headers^", - "103_preload_csp_imgsrc_none.html", - "103_preload_csp_imgsrc_none.html^headers^", - "103_preload_csp_imgsrc_none.html^informationalResponse^", - "cookie_filtering_resource.sjs", - "cookie_filtering_secure_resource_com.html", - "cookie_filtering_secure_resource_com.html^headers^", - "cookie_filtering_secure_resource_org.html", - "cookie_filtering_secure_resource_org.html^headers^", - "cookie_filtering_square.png", - "cookie_filtering_square.png^headers^", - "x_frame_options.html", - "x_frame_options.html^headers^", - "test_1629307.html", - "file_link_header.sjs", -] - -["browser_103_assets.js"] - -["browser_103_assets_extension.js"] - -["browser_103_cleanup.js"] - -["browser_103_csp.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_103_csp_images.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_103_csp_styles.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_103_error.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_103_no_cancel_on_error.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_103_preconnect.js"] - -["browser_103_preload.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_103_preload_2.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_103_private_window.js"] - -["browser_103_redirect.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_103_redirect_from_server.js"] - -["browser_103_referrer_policy.js"] -support-files = [ - "early_hint_referrer_policy_html.sjs", - "early_hint_preload_test_helper.sys.mjs", -] - -["browser_103_telemetry.js"] - -["browser_103_user_load.js"] -support-files = ["early_hint_preload_test_helper.sys.mjs",] - -["browser_NetUtil.js"] - -["browser_about_cache.js"] - -["browser_backgroundtask_purgeHTTPCache.js"] -skip-if = [ - "os == 'android'", # MultiInstanceLock doesn't work on Android - "os == 'mac'", # intermittent TV timeouts on Mac -] - -["browser_bug1535877.js"] - -["browser_bug1629307.js"] - -["browser_child_resource.js"] -run-if = ["crashreporter"] -skip-if = ["os == 'win'"] # Bug 1775761 - -["browser_cookie_filtering_basic.js"] - -["browser_cookie_filtering_cross_origin.js"] - -["browser_cookie_filtering_insecure.js"] - -["browser_cookie_filtering_oa.js"] - -["browser_cookie_filtering_subdomain.js"] - -["browser_cookie_sync_across_tabs.js"] - -["browser_fetch_lnk.js"] -run-if = ["os == 'win'"] -support-files = ["file_lnk.lnk",] - -["browser_nsIFormPOSTActionChannel.js"] -skip-if = ["true"] # protocol handler and channel does not work in content process - -["browser_post_auth.js"] -skip-if = ["socketprocess_networking"] # Bug 1772209 - -["browser_post_file.js"] - -["browser_resource_navigation.js"] - -["browser_speculative_connection_link_header.js"] - -["browser_test_favicon.js"] -skip-if = ["verify && (os == 'linux' || os == 'mac')"] -support-files = [ - "damonbowling.jpg", - "damonbowling.jpg^headers^", - "file_favicon.html", -] - -["browser_test_io_activity.js"] -skip-if = ["socketprocess_networking"] diff --git a/netwerk/test/moz.build b/netwerk/test/moz.build index 5672e0169098..07895c8f436d 100644 --- a/netwerk/test/moz.build +++ b/netwerk/test/moz.build @@ -7,7 +7,7 @@ TEST_DIRS += ["httpserver", "gtest", "http3server"] BROWSER_CHROME_MANIFESTS += [ - "browser/browser.toml", + "browser/browser.ini", "useragent/browser_nonsnap.ini", "useragent/browser_snap.ini", ] diff --git a/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/browser.ini b/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/browser.ini new file mode 100644 index 000000000000..a81ee3acbb25 --- /dev/null +++ b/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/browser.ini @@ -0,0 +1,4 @@ +[DEFAULT] +support-files = support1 support2 + +[test_browser.js] diff --git a/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/browser.toml b/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/browser.toml deleted file mode 100644 index 5cf86c972218..000000000000 --- a/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/browser.toml +++ /dev/null @@ -1,7 +0,0 @@ -[DEFAULT] -support-files = [ - "support1", - "support2", -] - -["test_browser.js"] diff --git a/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/moz.build b/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/moz.build index a8eaca86d733..dfab1f4603eb 100644 --- a/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/moz.build +++ b/python/mozbuild/mozbuild/test/frontend/data/test-manifest-keys-extracted/moz.build @@ -2,7 +2,7 @@ # http://creativecommons.org/publicdomain/zero/1.0/ A11Y_MANIFESTS += ["a11y.toml"] -BROWSER_CHROME_MANIFESTS += ["browser.toml"] +BROWSER_CHROME_MANIFESTS += ["browser.ini"] METRO_CHROME_MANIFESTS += ["metro.ini"] MOCHITEST_MANIFESTS += ["mochitest.ini"] MOCHITEST_CHROME_MANIFESTS += ["chrome.toml"] diff --git a/python/mozbuild/mozbuild/test/frontend/test_emitter.py b/python/mozbuild/mozbuild/test/frontend/test_emitter.py index dc08d28f059b..1a809390fd2f 100644 --- a/python/mozbuild/mozbuild/test/frontend/test_emitter.py +++ b/python/mozbuild/mozbuild/test/frontend/test_emitter.py @@ -926,10 +926,10 @@ class TestEmitterBasic(unittest.TestCase): "installs": {"a11y.toml": False, "test_a11y.js": True}, "pattern-installs": 1, }, - "browser.toml": { + "browser.ini": { "flavor": "browser-chrome", "installs": { - "browser.toml": False, + "browser.ini": False, "test_browser.js": True, "support1": False, "support2": False, diff --git a/remote/cdp/moz.build b/remote/cdp/moz.build index 5471cad0b602..7361d3385632 100644 --- a/remote/cdp/moz.build +++ b/remote/cdp/moz.build @@ -8,21 +8,21 @@ with Files("**"): BUG_COMPONENT = ("Remote Protocol", "CDP") BROWSER_CHROME_MANIFESTS += [ - "test/browser/browser.toml", + "test/browser/browser.ini", "test/browser/browser_cdp_only.ini", - "test/browser/dom/browser.toml", - "test/browser/emulation/browser.toml", - "test/browser/fetch/browser.toml", - "test/browser/input/browser.toml", - "test/browser/io/browser.toml", - "test/browser/log/browser.toml", - "test/browser/network/browser.toml", - "test/browser/page/browser.toml", - "test/browser/runtime/browser.toml", + "test/browser/dom/browser.ini", + "test/browser/emulation/browser.ini", + "test/browser/fetch/browser.ini", + "test/browser/input/browser.ini", + "test/browser/io/browser.ini", + "test/browser/log/browser.ini", + "test/browser/network/browser.ini", + "test/browser/page/browser.ini", + "test/browser/runtime/browser.ini", "test/browser/runtime/browser_with_default_prefs.ini", - "test/browser/security/browser.toml", - "test/browser/systemInfo/browser.toml", - "test/browser/target/browser.toml", + "test/browser/security/browser.ini", + "test/browser/systemInfo/browser.ini", + "test/browser/target/browser.ini", ] XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"] diff --git a/remote/cdp/test/browser/browser.ini b/remote/cdp/test/browser/browser.ini new file mode 100644 index 000000000000..650d6bcf80e8 --- /dev/null +++ b/remote/cdp/test/browser/browser.ini @@ -0,0 +1,19 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + chrome-remote-interface.js + head.js + +[browser_agent.js] +[browser_cdp.js] +[browser_httpd.js] +[browser_main_target.js] +[browser_session.js] +[browser_tabs.js] diff --git a/remote/cdp/test/browser/browser.toml b/remote/cdp/test/browser/browser.toml deleted file mode 100644 index 98c8ce521f80..000000000000 --- a/remote/cdp/test/browser/browser.toml +++ /dev/null @@ -1,27 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "chrome-remote-interface.js", - "head.js", -] - -["browser_agent.js"] - -["browser_cdp.js"] - -["browser_httpd.js"] - -["browser_main_target.js"] - -["browser_session.js"] - -["browser_tabs.js"] diff --git a/remote/cdp/test/browser/dom/browser.ini b/remote/cdp/test/browser/dom/browser.ini new file mode 100644 index 000000000000..8697ab7724f1 --- /dev/null +++ b/remote/cdp/test/browser/dom/browser.ini @@ -0,0 +1,16 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + +[browser_describeNode.js] +[browser_resolveNode.js] diff --git a/remote/cdp/test/browser/dom/browser.toml b/remote/cdp/test/browser/dom/browser.toml deleted file mode 100644 index b6785756c881..000000000000 --- a/remote/cdp/test/browser/dom/browser.toml +++ /dev/null @@ -1,20 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", -] - -["browser_describeNode.js"] - -["browser_resolveNode.js"] diff --git a/remote/cdp/test/browser/emulation/browser.ini b/remote/cdp/test/browser/emulation/browser.ini new file mode 100644 index 000000000000..f107d7004c92 --- /dev/null +++ b/remote/cdp/test/browser/emulation/browser.ini @@ -0,0 +1,17 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + +[browser_setDeviceMetricsOverride.js] +[browser_setTouchEmulationEnabled.js] +[browser_setUserAgentOverride.js] diff --git a/remote/cdp/test/browser/emulation/browser.toml b/remote/cdp/test/browser/emulation/browser.toml deleted file mode 100644 index e1f169e8470d..000000000000 --- a/remote/cdp/test/browser/emulation/browser.toml +++ /dev/null @@ -1,22 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", -] - -["browser_setDeviceMetricsOverride.js"] - -["browser_setTouchEmulationEnabled.js"] - -["browser_setUserAgentOverride.js"] diff --git a/remote/cdp/test/browser/fetch/browser.ini b/remote/cdp/test/browser/fetch/browser.ini new file mode 100644 index 000000000000..031b44ecbfb7 --- /dev/null +++ b/remote/cdp/test/browser/fetch/browser.ini @@ -0,0 +1,15 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + +[browser_disable.js] diff --git a/remote/cdp/test/browser/fetch/browser.toml b/remote/cdp/test/browser/fetch/browser.toml deleted file mode 100644 index 2dcfdc252400..000000000000 --- a/remote/cdp/test/browser/fetch/browser.toml +++ /dev/null @@ -1,18 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", -] - -["browser_disable.js"] diff --git a/remote/cdp/test/browser/input/browser.ini b/remote/cdp/test/browser/input/browser.ini new file mode 100644 index 000000000000..419d2ef8dca3 --- /dev/null +++ b/remote/cdp/test/browser/input/browser.ini @@ -0,0 +1,22 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + doc_events.html + doc_dispatchKeyEvent_race.html + +[browser_dispatchKeyEvent.js] +[browser_dispatchKeyEvent_events.js] +https_first_disabled = true +[browser_dispatchKeyEvent_race.js] +https_first_disabled = true +[browser_dispatchMouseEvent.js] diff --git a/remote/cdp/test/browser/input/browser.toml b/remote/cdp/test/browser/input/browser.toml deleted file mode 100644 index 17710eebe498..000000000000 --- a/remote/cdp/test/browser/input/browser.toml +++ /dev/null @@ -1,28 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", - "doc_events.html", - "doc_dispatchKeyEvent_race.html", -] - -["browser_dispatchKeyEvent.js"] - -["browser_dispatchKeyEvent_events.js"] -https_first_disabled = true - -["browser_dispatchKeyEvent_race.js"] -https_first_disabled = true - -["browser_dispatchMouseEvent.js"] diff --git a/remote/cdp/test/browser/io/browser.ini b/remote/cdp/test/browser/io/browser.ini new file mode 100644 index 000000000000..05046602b9c8 --- /dev/null +++ b/remote/cdp/test/browser/io/browser.ini @@ -0,0 +1,16 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + +[browser_close.js] +[browser_read.js] diff --git a/remote/cdp/test/browser/io/browser.toml b/remote/cdp/test/browser/io/browser.toml deleted file mode 100644 index 278abe1c2219..000000000000 --- a/remote/cdp/test/browser/io/browser.toml +++ /dev/null @@ -1,20 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", -] - -["browser_close.js"] - -["browser_read.js"] diff --git a/remote/cdp/test/browser/log/browser.ini b/remote/cdp/test/browser/log/browser.ini new file mode 100644 index 000000000000..d18972ca9409 --- /dev/null +++ b/remote/cdp/test/browser/log/browser.ini @@ -0,0 +1,15 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + +[browser_entryAdded.js] diff --git a/remote/cdp/test/browser/log/browser.toml b/remote/cdp/test/browser/log/browser.toml deleted file mode 100644 index c8e7c617f6d5..000000000000 --- a/remote/cdp/test/browser/log/browser.toml +++ /dev/null @@ -1,18 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", -] - -["browser_entryAdded.js"] diff --git a/remote/cdp/test/browser/network/browser.ini b/remote/cdp/test/browser/network/browser.ini new file mode 100644 index 000000000000..0fed68df41cb --- /dev/null +++ b/remote/cdp/test/browser/network/browser.ini @@ -0,0 +1,39 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + doc_empty.html + doc_frameset.html + doc_get_cookies_frame.html + doc_get_cookies_page.html + doc_networkEvents.html + file_networkEvents.js + file_framesetEvents.js + sjs-cookies.sjs + +[browser_deleteCookies.js] +https_first_disabled = true +[browser_emulateNetworkConditions.js] +[browser_getAllCookies.js] +https_first_disabled = true +[browser_getCookies.js] +https_first_disabled = true +[browser_navigationEvents.js] +https_first_disabled = true +[browser_requestWillBeSent.js] +https_first_disabled = true +[browser_responseReceived.js] +https_first_disabled = true +[browser_setCacheDisabled.js] +[browser_setCookie.js] +[browser_setCookies.js] +[browser_setUserAgentOverride.js] diff --git a/remote/cdp/test/browser/network/browser.toml b/remote/cdp/test/browser/network/browser.toml deleted file mode 100644 index a26eca4e73a9..000000000000 --- a/remote/cdp/test/browser/network/browser.toml +++ /dev/null @@ -1,52 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", - "doc_empty.html", - "doc_frameset.html", - "doc_get_cookies_frame.html", - "doc_get_cookies_page.html", - "doc_networkEvents.html", - "file_networkEvents.js", - "file_framesetEvents.js", - "sjs-cookies.sjs", -] - -["browser_deleteCookies.js"] -https_first_disabled = true - -["browser_emulateNetworkConditions.js"] - -["browser_getAllCookies.js"] -https_first_disabled = true - -["browser_getCookies.js"] -https_first_disabled = true - -["browser_navigationEvents.js"] -https_first_disabled = true - -["browser_requestWillBeSent.js"] -https_first_disabled = true - -["browser_responseReceived.js"] -https_first_disabled = true - -["browser_setCacheDisabled.js"] - -["browser_setCookie.js"] - -["browser_setCookies.js"] - -["browser_setUserAgentOverride.js"] diff --git a/remote/cdp/test/browser/page/browser.ini b/remote/cdp/test/browser/page/browser.ini new file mode 100644 index 000000000000..621a58c3aea5 --- /dev/null +++ b/remote/cdp/test/browser/page/browser.ini @@ -0,0 +1,49 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + doc_empty.html + doc_frame.html + doc_frameset_multi.html + doc_frameset_nested.html + doc_frameset_single.html + sjs_redirect.sjs + +[browser_bringToFront.js] +[browser_captureScreenshot.js] +[browser_createIsolatedWorld.js] +[browser_domContentEventFired.js] +[browser_frameAttached.js] +[browser_frameDetached.js] +[browser_frameNavigated.js] +[browser_frameStartedLoading.js] +[browser_frameStoppedLoading.js] +[browser_getFrameTree.js] +[browser_getLayoutMetrics.js] +[browser_getNavigationHistory.js] +[browser_javascriptDialog_alert.js] +[browser_javascriptDialog_beforeunload.js] +[browser_javascriptDialog_confirm.js] +[browser_javascriptDialog_otherTarget.js] +[browser_javascriptDialog_prompt.js] +[browser_lifecycleEvent.js] +https_first_disabled = true +[browser_loadEventFired.js] +[browser_navigate.js] +https_first_disabled = true +[browser_navigateToHistoryEntry.js] +[browser_navigatedWithinDocument.js] +[browser_navigationEvents.js] +[browser_printToPDF.js] +[browser_reload.js] +[browser_runtimeEvents.js] +[browser_scriptToEvaluateOnNewDocument.js] diff --git a/remote/cdp/test/browser/page/browser.toml b/remote/cdp/test/browser/page/browser.toml deleted file mode 100644 index cdaeabe7b63d..000000000000 --- a/remote/cdp/test/browser/page/browser.toml +++ /dev/null @@ -1,78 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", - "doc_empty.html", - "doc_frame.html", - "doc_frameset_multi.html", - "doc_frameset_nested.html", - "doc_frameset_single.html", - "sjs_redirect.sjs", -] - -["browser_bringToFront.js"] - -["browser_captureScreenshot.js"] - -["browser_createIsolatedWorld.js"] - -["browser_domContentEventFired.js"] - -["browser_frameAttached.js"] - -["browser_frameDetached.js"] - -["browser_frameNavigated.js"] - -["browser_frameStartedLoading.js"] - -["browser_frameStoppedLoading.js"] - -["browser_getFrameTree.js"] - -["browser_getLayoutMetrics.js"] - -["browser_getNavigationHistory.js"] - -["browser_javascriptDialog_alert.js"] - -["browser_javascriptDialog_beforeunload.js"] - -["browser_javascriptDialog_confirm.js"] - -["browser_javascriptDialog_otherTarget.js"] - -["browser_javascriptDialog_prompt.js"] - -["browser_lifecycleEvent.js"] -https_first_disabled = true - -["browser_loadEventFired.js"] - -["browser_navigate.js"] -https_first_disabled = true - -["browser_navigateToHistoryEntry.js"] - -["browser_navigatedWithinDocument.js"] - -["browser_navigationEvents.js"] - -["browser_printToPDF.js"] - -["browser_reload.js"] - -["browser_runtimeEvents.js"] - -["browser_scriptToEvaluateOnNewDocument.js"] diff --git a/remote/cdp/test/browser/runtime/browser.ini b/remote/cdp/test/browser/runtime/browser.ini new file mode 100644 index 000000000000..f03996878435 --- /dev/null +++ b/remote/cdp/test/browser/runtime/browser.ini @@ -0,0 +1,32 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + doc_console_events.html + doc_console_events_onload.html + doc_empty.html + doc_frame.html + doc_frameset_single.html + head.js + +[browser_callFunctionOn.js] +[browser_callFunctionOn_awaitPromise.js] +[browser_callFunctionOn_returnByValue.js] +[browser_consoleAPICalled.js] +https_first_disabled = true +[browser_evaluate.js] +[browser_evaluate_awaitPromise.js] +[browser_evaluate_returnByValue.js] +[browser_exceptionThrown.js] +https_first_disabled = true +[browser_executionContextEvents.js] +[browser_getProperties.js] +[browser_remoteObjects.js] diff --git a/remote/cdp/test/browser/runtime/browser.toml b/remote/cdp/test/browser/runtime/browser.toml deleted file mode 100644 index 12246c63934d..000000000000 --- a/remote/cdp/test/browser/runtime/browser.toml +++ /dev/null @@ -1,45 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "doc_console_events.html", - "doc_console_events_onload.html", - "doc_empty.html", - "doc_frame.html", - "doc_frameset_single.html", - "head.js", -] - -["browser_callFunctionOn.js"] - -["browser_callFunctionOn_awaitPromise.js"] - -["browser_callFunctionOn_returnByValue.js"] - -["browser_consoleAPICalled.js"] -https_first_disabled = true - -["browser_evaluate.js"] - -["browser_evaluate_awaitPromise.js"] - -["browser_evaluate_returnByValue.js"] - -["browser_exceptionThrown.js"] -https_first_disabled = true - -["browser_executionContextEvents.js"] - -["browser_getProperties.js"] - -["browser_remoteObjects.js"] diff --git a/remote/cdp/test/browser/security/browser.ini b/remote/cdp/test/browser/security/browser.ini new file mode 100644 index 000000000000..c84e0321810d --- /dev/null +++ b/remote/cdp/test/browser/security/browser.ini @@ -0,0 +1,15 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + +[browser_setIgnoreCertificateErrors.js] diff --git a/remote/cdp/test/browser/security/browser.toml b/remote/cdp/test/browser/security/browser.toml deleted file mode 100644 index 479d2893c7d4..000000000000 --- a/remote/cdp/test/browser/security/browser.toml +++ /dev/null @@ -1,18 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", -] - -["browser_setIgnoreCertificateErrors.js"] diff --git a/remote/cdp/test/browser/systemInfo/browser.ini b/remote/cdp/test/browser/systemInfo/browser.ini new file mode 100644 index 000000000000..39a6218d4322 --- /dev/null +++ b/remote/cdp/test/browser/systemInfo/browser.ini @@ -0,0 +1,15 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + +[browser_getProcessInfo.js] diff --git a/remote/cdp/test/browser/systemInfo/browser.toml b/remote/cdp/test/browser/systemInfo/browser.toml deleted file mode 100644 index 5d5199b477d9..000000000000 --- a/remote/cdp/test/browser/systemInfo/browser.toml +++ /dev/null @@ -1,18 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", -] - -["browser_getProcessInfo.js"] diff --git a/remote/cdp/test/browser/target/browser.ini b/remote/cdp/test/browser/target/browser.ini new file mode 100644 index 000000000000..a708976baa99 --- /dev/null +++ b/remote/cdp/test/browser/target/browser.ini @@ -0,0 +1,28 @@ +[DEFAULT] +tags = cdp +subsuite = remote +args = + --remote-debugging-port + --remote-allow-origins=null +prefs = # Bug 1600054: Make CDP Fission compatible + fission.bfcacheInParent=false + fission.webContentIsolationStrategy=0 +support-files = + !/remote/cdp/test/browser/chrome-remote-interface.js + !/remote/cdp/test/browser/head.js + head.js + doc_test.html + +[browser_activateTarget.js] +[browser_attachToTarget.js] +[browser_attachedToTarget.js] +https_first_disabled = true +[browser_browserContext.js] +[browser_closeTarget.js] +[browser_createTarget.js] +[browser_getTargets.js] +https_first_disabled = true +[browser_sendMessageToTarget.js] +[browser_setDiscoverTargets.js] +[browser_targetCreated.js] +[browser_targetDestroyed.js] diff --git a/remote/cdp/test/browser/target/browser.toml b/remote/cdp/test/browser/target/browser.toml deleted file mode 100644 index 694f2aaa4edd..000000000000 --- a/remote/cdp/test/browser/target/browser.toml +++ /dev/null @@ -1,41 +0,0 @@ -[DEFAULT] -tags = "cdp" -subsuite = "remote" -args = [ - "--remote-debugging-port", - "--remote-allow-origins=null", -] -prefs = [ # Bug 1600054: Make CDP Fission compatible - "fission.bfcacheInParent=false", - "fission.webContentIsolationStrategy=0", -] -support-files = [ - "!/remote/cdp/test/browser/chrome-remote-interface.js", - "!/remote/cdp/test/browser/head.js", - "head.js", - "doc_test.html", -] - -["browser_activateTarget.js"] - -["browser_attachToTarget.js"] - -["browser_attachedToTarget.js"] -https_first_disabled = true - -["browser_browserContext.js"] - -["browser_closeTarget.js"] - -["browser_createTarget.js"] - -["browser_getTargets.js"] -https_first_disabled = true - -["browser_sendMessageToTarget.js"] - -["browser_setDiscoverTargets.js"] - -["browser_targetCreated.js"] - -["browser_targetDestroyed.js"] diff --git a/toolkit/components/antitracking/moz.build b/toolkit/components/antitracking/moz.build index d91c66129fb1..9c622d520b0e 100644 --- a/toolkit/components/antitracking/moz.build +++ b/toolkit/components/antitracking/moz.build @@ -91,7 +91,7 @@ FINAL_LIBRARY = "xul" if CONFIG["MOZ_BUILD_APP"] != "mobile/android": BROWSER_CHROME_MANIFESTS += [ "test/browser/browser-blocking.ini", - "test/browser/browser.toml", + "test/browser/browser.ini", ] XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"] diff --git a/toolkit/components/antitracking/test/browser/browser.ini b/toolkit/components/antitracking/test/browser/browser.ini new file mode 100644 index 000000000000..d181f78dd0ca --- /dev/null +++ b/toolkit/components/antitracking/test/browser/browser.ini @@ -0,0 +1,236 @@ +[DEFAULT] +skip-if = + os == "linux" && (asan || tsan) # bug 1662229 - task exception + os == "win" && os_version == "6.1" # Skip on Azure - frequent failure +prefs = + # Disable the Storage Access API prompts for all of the tests in this directory + dom.storage_access.prompt.testing=true + dom.storage_access.prompt.testing.allow=true + dom.testing.sync-content-blocking-notifications=true + # Enable frame-only Storage Access API for all of the tests in this directory + dom.storage_access.frame_only=true + # Enable the window.open() heuristics globally in this directory + privacy.restrict3rdpartystorage.heuristic.window_open=true + privacy.restrict3rdpartystorage.heuristic.opened_window_after_interaction=true + # Bug 1617611: Fix all the tests broken by "cookies SameSite=lax by default" + network.cookie.sameSite.laxByDefault=false + # Disable https-first because of explicit http/https testing + dom.security.https_first=false + # Enable constraining storage access api to secure contexts + dom.storage_access.dont_grant_insecure_contexts=true + +support-files = + container.html + container2.html + embedder.html + embedder2.html + head.js + antitracking_head.js + dynamicfpi_head.js + partitionedstorage_head.js + storage_access_head.js + cookiesCORS.sjs + iframe.html + image.sjs + imageCacheWorker.js + page.html + 3rdParty.html + 3rdPartyRelay.html + 3rdPartySVG.html + 3rdPartyUI.html + 3rdPartyWO.html + 3rdPartyWorker.html + 3rdPartyOpen.html + 3rdPartyOpenUI.html + empty.js + empty-altsvc.js + empty-altsvc.js^headers^ + empty.html + file_iframe_document_open.html + file_localStorage.html + popup.html + redirect.sjs + server.sjs + storageAccessAPIHelpers.js + 3rdPartyStorage.html + 3rdPartyStorageWO.html + 3rdPartyPartitioned.html + localStorage.html + blobPartitionPage.html + raptor.jpg + !/browser/modules/test/browser/head.js + !/browser/base/content/test/general/head.js + !/browser/base/content/test/protectionsUI/cookieServer.sjs + !/browser/base/content/test/protectionsUI/trackingPage.html + !/browser/base/content/test/protectionsUI/trackingAPI.js + !/toolkit/content/tests/browser/common/mockTransfer.js + +[browser_aboutblank.js] +[browser_allowListNotifications.js] +[browser_allowListNotifications_alwaysPartition.js] +support-files = subResources.sjs +[browser_addonHostPermissionIgnoredInTP.js] +[browser_allowListSeparationInPrivateAndNormalWindows.js] +skip-if = os == "mac" && !debug # Bug 1503778, 1577362 +[browser_backgroundImageAssertion.js] +[browser_doublyNestedTracker.js] +[browser_emailtracking.js] +[browser_existingCookiesForSubresources.js] +[browser_fileUrl.js] +[browser_firstPartyCookieRejectionHonoursAllowList.js] +[browser_fpiServiceWorkers_fingerprinting.js] +[browser_hasStorageAccess.js] +[browser_hasStorageAccess_alwaysPartition.js] +[browser_iframe_document_open.js] +[browser_imageCache4.js] +[browser_imageCache8.js] +[browser_onBeforeRequestNotificationForTrackingResources.js] +[browser_onModifyRequestNotificationForTrackingResources.js] +[browser_permissionInNormalWindows.js] +[browser_permissionInNormalWindows_alwaysPartition.js] +[browser_permissionInPrivateWindows.js] +[browser_permissionInPrivateWindows_alwaysPartition.js] +[browser_permissionPropagation.js] +skip-if = + os == "linux" && bits == 64 # Bug 1645505 + os == "win" && debug # Bug 1645505 + os == "win" && os_version == "6.1" # Skip on Azure - frequent failure +[browser_referrerDefaultPolicy.js] +support-files = referrer.sjs +[browser_siteSpecificWorkArounds.js] +[browser_storageAccessRejectsInsecureContexts.js] +[browser_storageAccess_userActivation.js] +[browser_subResources.js] +support-files = subResources.sjs +[browser_subResourcesPartitioned.js] +support-files = subResources.sjs +[browser_subResourcesPartitioned_alwaysPartition.js] +support-files = subResources.sjs +[browser_script.js] +support-files = tracker.js +[browser_userInteraction.js] +[browser_serviceWorkersWithStorageAccessGranted.js] +[browser_storageAccess_TopLevel_Arguments.js] +[browser_storageAccess_TopLevel_CookieBehavior.js] +[browser_storageAccess_TopLevel_CookiePermission.js] +[browser_storageAccess_TopLevel_CrossOriginSameSite.js] +[browser_storageAccess_TopLevel_Doorhanger.js] +[browser_storageAccess_TopLevel_Embed.js] +[browser_storageAccess_TopLevel_Enable.js] +[browser_storageAccess_TopLevel_RequireIntermediatePermission.js] +[browser_storageAccess_TopLevel_StorageAccessPermission.js] +[browser_storageAccess_TopLevel_UserActivation.js] +skip-if = debug # Bug 1700551 +[browser_storageAccessAutograntRequiresUserInteraction.js] +[browser_storageAccessDeniedGivesNoUserInteraction.js] +[browser_storageAccessDoorHanger.js] +[browser_storageAccessFrameInteractionGrantsUserInteraction.js] +[browser_storageAccessGrantedGivesUserInteraction.js] +[browser_storageAccessPrivilegeAPI.js] +[browser_storageAccessPromiseRejectHandlerUserInteraction.js] +[browser_storageAccessPromiseRejectHandlerUserInteraction_alwaysPartition.js] +[browser_storageAccessPromiseResolveHandlerUserInteraction.js] +[browser_storageAccessRemovalNavigateSubframe.js] +[browser_storageAccessRemovalNavigateSubframe_alwaysPartition.js] +[browser_storageAccessRemovalNavigateTopframe.js] +[browser_storageAccessRemovalNavigateTopframe_alwaysPartition.js] +[browser_storageAccessSandboxed.js] +[browser_storageAccessSandboxed_alwaysPartition.js] +[browser_storageAccessScopeDifferentSite.js] +[browser_storageAccessScopeSameOrigin.js] +[browser_storageAccessScopeSameSiteRead.js] +[browser_storageAccessScopeSameSiteWrite.js] +[browser_storageAccessThirdPartyChecks.js] +[browser_storageAccessThirdPartyChecks_alwaysPartition.js] +support-files = trackingPage.html trackingAPI.js +[browser_storageAccessWithDynamicFpi.js] +[browser_storageAccessWithHeuristics.js] +[browser_allowPermissionForTracker.js] +[browser_denyPermissionForTracker.js] +[browser_localStorageEvents.js] +[browser_partitionedLocalStorage.js] +[browser_partitionedLocalStorage_events.js] +support-files = localStorageEvents.html +[browser_partitionedLockManager.js] +[browser_workerPropagation.js] +support-files = workerIframe.html +[browser_cookieBetweenTabs.js] +[browser_partitionedMessaging.js] +skip-if = true #Bug 1588241 +[browser_partitionedIndexedDB.js] +[browser_partitionedConsoleMessage.js] +[browser_partitionedCookies.js] +support-files = cookies.sjs +[browser_partitionedDOMCache.js] +[browser_partitionedServiceWorkers.js] +support-files = dedicatedWorker.js matchAll.js serviceWorker.js +[browser_partitionedSharedWorkers.js] +support-files = sharedWorker.js partitionedSharedWorker.js +[browser_partitionkey_bloburl.js] +[browser_PBMCookieBehavior.js] +[browser_socialtracking.js] +[browser_socialtracking_save_image.js] +[browser_thirdPartyStorageRejectionForCORS.js] +[browser_urlDecorationStripping.js] +[browser_urlDecorationStripping_alwaysPartition.js] +tags = remote-settings +[browser_urlQueryStringStripping_allowList.js] +support-files = file_stripping.html +[browser_urlQueryStringStripping_telemetry.js] +support-files = file_stripping.html +[browser_urlQueryStringStripping_telemetry_2.js] +support-files = file_stripping.html +[browser_urlQueryStringStripping.js] +skip-if = + fission && os == "linux" && asan # Bug 1713909 - new Fission platform triage +support-files = file_stripping.html +[browser_urlQueryStringStripping_pbmode.js] +support-files = file_stripping.html +[browser_urlQueryStringStripping_nimbus.js] +support-files = file_stripping.html +[browser_urlQueryStrippingListService.js] +[browser_staticPartition_cache.js] +support-files = + !/browser/components/originattributes/test/browser/file_cache.html + !/browser/components/originattributes/test/browser/file_thirdPartyChild.audio.ogg + !/browser/components/originattributes/test/browser/file_thirdPartyChild.embed.png + !/browser/components/originattributes/test/browser/file_thirdPartyChild.fetch.html + !/browser/components/originattributes/test/browser/file_thirdPartyChild.iframe.html + !/browser/components/originattributes/test/browser/file_thirdPartyChild.img.png + !/browser/components/originattributes/test/browser/file_thirdPartyChild.favicon.png + !/browser/components/originattributes/test/browser/file_thirdPartyChild.import.js + !/browser/components/originattributes/test/browser/file_thirdPartyChild.link.css + !/browser/components/originattributes/test/browser/file_thirdPartyChild.object.png + !/browser/components/originattributes/test/browser/file_thirdPartyChild.request.html + !/browser/components/originattributes/test/browser/file_thirdPartyChild.script.js + !/browser/components/originattributes/test/browser/file_thirdPartyChild.sharedworker.js + !/browser/components/originattributes/test/browser/file_thirdPartyChild.video.ogv + !/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.fetch.html + !/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.js + !/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.request.html + !/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.xhr.html + !/browser/components/originattributes/test/browser/file_thirdPartyChild.xhr.html +[browser_staticPartition_network.js] +[browser_staticPartition_CORS_preflight.js] +support-files = browser_staticPartition_CORS_preflight.sjs +[browser_staticPartition_HSTS.js] +support-files = browser_staticPartition_HSTS.sjs +[browser_staticPartition_saveAs.js] +skip-if = + os == "linux" && bits == 64 # Bug 1775746 + win10_2004 && debug # Bug 1775746 +support-files = + file_saveAsImage.sjs + file_saveAsVideo.sjs + file_saveAsPageInfo.html + file_video.ogv +[browser_staticPartition_tls_session.js] +[browser_staticPartition_websocket.js] +skip-if = + os == 'mac' && verify # Bug 1721210 +support-files = + file_ws_handshake_delay_wsh.py +[browser_partitionedClearSiteDataHeader.js] +support-files = + clearSiteData.sjs +[browser_AntiTrackingETPHeuristic.js] diff --git a/toolkit/components/antitracking/test/browser/browser.toml b/toolkit/components/antitracking/test/browser/browser.toml deleted file mode 100644 index a82d54baa72f..000000000000 --- a/toolkit/components/antitracking/test/browser/browser.toml +++ /dev/null @@ -1,339 +0,0 @@ -[DEFAULT] -skip-if = ["os == 'linux' && (asan || tsan)"] # bug 1662229 - task exception -prefs = [ - "dom.storage_access.prompt.testing=true", # Disable the Storage Access API prompts for all of the tests in this directory - "dom.storage_access.prompt.testing.allow=true", - "dom.testing.sync-content-blocking-notifications=true", - "dom.storage_access.frame_only=true", # Enable frame-only Storage Access API for all of the tests in this directory - "privacy.restrict3rdpartystorage.heuristic.window_open=true", # Enable the window.open() heuristics globally in this directory - "privacy.restrict3rdpartystorage.heuristic.opened_window_after_interaction=true", - "network.cookie.sameSite.laxByDefault=false", # Bug 1617611: Fix all the tests broken by "cookies SameSite=lax by default" - "dom.security.https_first=false", # Disable https-first because of explicit http/https testing - "dom.storage_access.dont_grant_insecure_contexts=true", # Enable constraining storage access api to secure contexts -] -support-files = [ - "container.html", - "container2.html", - "embedder.html", - "embedder2.html", - "head.js", - "antitracking_head.js", - "dynamicfpi_head.js", - "partitionedstorage_head.js", - "storage_access_head.js", - "cookiesCORS.sjs", - "iframe.html", - "image.sjs", - "imageCacheWorker.js", - "page.html", - "3rdParty.html", - "3rdPartyRelay.html", - "3rdPartySVG.html", - "3rdPartyUI.html", - "3rdPartyWO.html", - "3rdPartyWorker.html", - "3rdPartyOpen.html", - "3rdPartyOpenUI.html", - "empty.js", - "empty-altsvc.js", - "empty-altsvc.js^headers^", - "empty.html", - "file_iframe_document_open.html", - "file_localStorage.html", - "popup.html", - "redirect.sjs", - "server.sjs", - "storageAccessAPIHelpers.js", - "3rdPartyStorage.html", - "3rdPartyStorageWO.html", - "3rdPartyPartitioned.html", - "localStorage.html", - "blobPartitionPage.html", - "raptor.jpg", - "!/browser/modules/test/browser/head.js", - "!/browser/base/content/test/general/head.js", - "!/browser/base/content/test/protectionsUI/cookieServer.sjs", - "!/browser/base/content/test/protectionsUI/trackingPage.html", - "!/browser/base/content/test/protectionsUI/trackingAPI.js", - "!/toolkit/content/tests/browser/common/mockTransfer.js", -] - -["browser_AntiTrackingETPHeuristic.js"] - -["browser_PBMCookieBehavior.js"] - -["browser_aboutblank.js"] - -["browser_addonHostPermissionIgnoredInTP.js"] - -["browser_allowListNotifications.js"] - -["browser_allowListNotifications_alwaysPartition.js"] -support-files = ["subResources.sjs"] - -["browser_allowListSeparationInPrivateAndNormalWindows.js"] -skip-if = ["os == 'mac' && !debug"] # Bug 1503778, 1577362 - -["browser_allowPermissionForTracker.js"] - -["browser_backgroundImageAssertion.js"] - -["browser_cookieBetweenTabs.js"] - -["browser_denyPermissionForTracker.js"] - -["browser_doublyNestedTracker.js"] - -["browser_emailtracking.js"] - -["browser_existingCookiesForSubresources.js"] - -["browser_fileUrl.js"] - -["browser_firstPartyCookieRejectionHonoursAllowList.js"] - -["browser_fpiServiceWorkers_fingerprinting.js"] - -["browser_hasStorageAccess.js"] - -["browser_hasStorageAccess_alwaysPartition.js"] - -["browser_iframe_document_open.js"] - -["browser_imageCache4.js"] - -["browser_imageCache8.js"] - -["browser_localStorageEvents.js"] - -["browser_onBeforeRequestNotificationForTrackingResources.js"] - -["browser_onModifyRequestNotificationForTrackingResources.js"] - -["browser_partitionedClearSiteDataHeader.js"] -support-files = ["clearSiteData.sjs"] - -["browser_partitionedConsoleMessage.js"] - -["browser_partitionedCookies.js"] -support-files = ["cookies.sjs"] - -["browser_partitionedDOMCache.js"] - -["browser_partitionedIndexedDB.js"] - -["browser_partitionedLocalStorage.js"] - -["browser_partitionedLocalStorage_events.js"] -support-files = ["localStorageEvents.html"] - -["browser_partitionedLockManager.js"] - -["browser_partitionedMessaging.js"] -skip-if = ["true"] #Bug 1588241 - -["browser_partitionedServiceWorkers.js"] -support-files = [ - "dedicatedWorker.js", - "matchAll.js", - "serviceWorker.js", -] - -["browser_partitionedSharedWorkers.js"] -support-files = [ - "sharedWorker.js", - "partitionedSharedWorker.js", -] - -["browser_partitionkey_bloburl.js"] - -["browser_permissionInNormalWindows.js"] - -["browser_permissionInNormalWindows_alwaysPartition.js"] - -["browser_permissionInPrivateWindows.js"] - -["browser_permissionInPrivateWindows_alwaysPartition.js"] - -["browser_permissionPropagation.js"] -skip-if = [ - "os == 'linux' && bits == 64", # Bug 1645505 - "os == 'win' && debug", # Bug 1645505 -] - -["browser_referrerDefaultPolicy.js"] -support-files = ["referrer.sjs"] - -["browser_script.js"] -support-files = ["tracker.js"] - -["browser_serviceWorkersWithStorageAccessGranted.js"] - -["browser_siteSpecificWorkArounds.js"] - -["browser_socialtracking.js"] - -["browser_socialtracking_save_image.js"] - -["browser_staticPartition_CORS_preflight.js"] -support-files = ["browser_staticPartition_CORS_preflight.sjs"] - -["browser_staticPartition_HSTS.js"] -support-files = ["browser_staticPartition_HSTS.sjs"] - -["browser_staticPartition_cache.js"] -support-files = [ - "!/browser/components/originattributes/test/browser/file_cache.html", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.audio.ogg", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.embed.png", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.fetch.html", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.iframe.html", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.img.png", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.favicon.png", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.import.js", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.link.css", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.object.png", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.request.html", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.script.js", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.sharedworker.js", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.video.ogv", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.fetch.html", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.js", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.request.html", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.worker.xhr.html", - "!/browser/components/originattributes/test/browser/file_thirdPartyChild.xhr.html", -] - -["browser_staticPartition_network.js"] - -["browser_staticPartition_saveAs.js"] -skip-if = ["os == 'linux' && bits == 64"] # Bug 1775746 -support-files = [ - "file_saveAsImage.sjs", - "file_saveAsVideo.sjs", - "file_saveAsPageInfo.html", - "file_video.ogv", -] - -["browser_staticPartition_tls_session.js"] - -["browser_staticPartition_websocket.js"] -skip-if = ["os == 'mac' && verify"] # Bug 1721210 -support-files = ["file_ws_handshake_delay_wsh.py"] - -["browser_storageAccessAutograntRequiresUserInteraction.js"] - -["browser_storageAccessDeniedGivesNoUserInteraction.js"] - -["browser_storageAccessDoorHanger.js"] - -["browser_storageAccessFrameInteractionGrantsUserInteraction.js"] - -["browser_storageAccessGrantedGivesUserInteraction.js"] - -["browser_storageAccessPrivilegeAPI.js"] - -["browser_storageAccessPromiseRejectHandlerUserInteraction.js"] - -["browser_storageAccessPromiseRejectHandlerUserInteraction_alwaysPartition.js"] - -["browser_storageAccessPromiseResolveHandlerUserInteraction.js"] - -["browser_storageAccessRejectsInsecureContexts.js"] - -["browser_storageAccessRemovalNavigateSubframe.js"] - -["browser_storageAccessRemovalNavigateSubframe_alwaysPartition.js"] - -["browser_storageAccessRemovalNavigateTopframe.js"] - -["browser_storageAccessRemovalNavigateTopframe_alwaysPartition.js"] - -["browser_storageAccessSandboxed.js"] - -["browser_storageAccessSandboxed_alwaysPartition.js"] - -["browser_storageAccessScopeDifferentSite.js"] - -["browser_storageAccessScopeSameOrigin.js"] - -["browser_storageAccessScopeSameSiteRead.js"] - -["browser_storageAccessScopeSameSiteWrite.js"] - -["browser_storageAccessThirdPartyChecks.js"] - -["browser_storageAccessThirdPartyChecks_alwaysPartition.js"] -support-files = [ - "trackingPage.html", - "trackingAPI.js", -] - -["browser_storageAccessWithDynamicFpi.js"] - -["browser_storageAccessWithHeuristics.js"] - -["browser_storageAccess_TopLevel_Arguments.js"] - -["browser_storageAccess_TopLevel_CookieBehavior.js"] - -["browser_storageAccess_TopLevel_CookiePermission.js"] - -["browser_storageAccess_TopLevel_CrossOriginSameSite.js"] - -["browser_storageAccess_TopLevel_Doorhanger.js"] - -["browser_storageAccess_TopLevel_Embed.js"] - -["browser_storageAccess_TopLevel_Enable.js"] - -["browser_storageAccess_TopLevel_RequireIntermediatePermission.js"] - -["browser_storageAccess_TopLevel_StorageAccessPermission.js"] - -["browser_storageAccess_TopLevel_UserActivation.js"] -skip-if = ["debug"] # Bug 1700551 - -["browser_storageAccess_userActivation.js"] - -["browser_subResources.js"] -support-files = ["subResources.sjs"] - -["browser_subResourcesPartitioned.js"] -support-files = ["subResources.sjs"] - -["browser_subResourcesPartitioned_alwaysPartition.js"] -support-files = ["subResources.sjs"] - -["browser_thirdPartyStorageRejectionForCORS.js"] - -["browser_urlDecorationStripping.js"] - -["browser_urlDecorationStripping_alwaysPartition.js"] -tags = "remote-settings" - -["browser_urlQueryStringStripping.js"] -skip-if = ["os == 'linux' && asan"] # Bug 1713909 - new Fission platform triage -support-files = ["file_stripping.html"] - -["browser_urlQueryStringStripping_allowList.js"] -support-files = ["file_stripping.html"] - -["browser_urlQueryStringStripping_nimbus.js"] -support-files = ["file_stripping.html"] - -["browser_urlQueryStringStripping_pbmode.js"] -support-files = ["file_stripping.html"] - -["browser_urlQueryStringStripping_telemetry.js"] -support-files = ["file_stripping.html"] - -["browser_urlQueryStringStripping_telemetry_2.js"] -support-files = ["file_stripping.html"] - -["browser_urlQueryStrippingListService.js"] - -["browser_userInteraction.js"] - -["browser_workerPropagation.js"] -support-files = ["workerIframe.html"] diff --git a/toolkit/components/certviewer/moz.build b/toolkit/components/certviewer/moz.build index d35a1bb0c1c8..b3b45a9973b7 100644 --- a/toolkit/components/certviewer/moz.build +++ b/toolkit/components/certviewer/moz.build @@ -6,7 +6,7 @@ JAR_MANIFESTS += ["jar.mn"] -BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"] +BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.ini"] MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.toml"] diff --git a/toolkit/components/certviewer/tests/browser/browser.ini b/toolkit/components/certviewer/tests/browser/browser.ini new file mode 100644 index 000000000000..baf9b81e56c4 --- /dev/null +++ b/toolkit/components/certviewer/tests/browser/browser.ini @@ -0,0 +1,23 @@ +[DEFAULT] +support-files = + head.js + adjustedCerts.js +[browser_aboutcertificateviewer.js] +[browser_checkLongHex.js] +[browser_checkMissingCommonName.js] +[browser_checkNonEmptyFields.js] +[browser_checkNonRepeatedCertTabs.js] +[browser_checkNonUndefinedStrings.js] +[browser_checkOCSP.js] +disabled = bug 1596313 +[browser_checkStandAlonePage.js] +[browser_checkAuthorityKeyID.js] +[browser_checkValiditySection.js] +[browser_handleMultipleCertsURL.js] +disabled = bug 1626853 +[browser_openTabAndSendCertInfo.js] +support-files = + dummy_page.html +[browser_renderCertToUI.js] +[browser_certificateTabLink.js] +[browser_downloadLink.js] diff --git a/toolkit/components/certviewer/tests/browser/browser.toml b/toolkit/components/certviewer/tests/browser/browser.toml deleted file mode 100644 index c4fb2be75319..000000000000 --- a/toolkit/components/certviewer/tests/browser/browser.toml +++ /dev/null @@ -1,38 +0,0 @@ -[DEFAULT] -support-files = [ - "head.js", - "adjustedCerts.js", -] - -["browser_aboutcertificateviewer.js"] - -["browser_certificateTabLink.js"] - -["browser_checkAuthorityKeyID.js"] - -["browser_checkLongHex.js"] - -["browser_checkMissingCommonName.js"] - -["browser_checkNonEmptyFields.js"] - -["browser_checkNonRepeatedCertTabs.js"] - -["browser_checkNonUndefinedStrings.js"] - -["browser_checkOCSP.js"] -skip-if = ["true"] # Bug 1596313 - -["browser_checkStandAlonePage.js"] - -["browser_checkValiditySection.js"] - -["browser_downloadLink.js"] - -["browser_handleMultipleCertsURL.js"] -skip-if = ["true"] # Bug 1626853 - -["browser_openTabAndSendCertInfo.js"] -support-files = ["dummy_page.html"] - -["browser_renderCertToUI.js"] diff --git a/toolkit/components/messaging-system/moz.build b/toolkit/components/messaging-system/moz.build index 7b3d10a75bcf..c37e08bb1b89 100644 --- a/toolkit/components/messaging-system/moz.build +++ b/toolkit/components/messaging-system/moz.build @@ -8,7 +8,7 @@ with Files("**"): BUG_COMPONENT = ("Firefox", "Messaging System") BROWSER_CHROME_MANIFESTS += [ - "schemas/SpecialMessageActionSchemas/test/browser/browser.toml", + "schemas/SpecialMessageActionSchemas/test/browser/browser.ini", "schemas/TriggerActionSchemas/test/browser/browser.toml", ] diff --git a/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser.ini b/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser.ini new file mode 100644 index 000000000000..4630a869778a --- /dev/null +++ b/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser.ini @@ -0,0 +1,36 @@ +[DEFAULT] +prefs = + identity.fxaccounts.remote.root=https://example.com/ +support-files = + head.js + ../../index.md + +[browser_sma_block_message.js] +[browser_sma_open_about_page.js] +[browser_sma_open_awesome_bar.js] +[browser_sma_open_firefox_view.js] +[browser_sma_open_private_browser_window.js] +[browser_sma_open_protection_panel.js] +[browser_sma_open_protection_report.js] +[browser_sma_open_url.js] +[browser_sma_open_spotlight_dialog.js] +[browser_sma_pin_current_tab.js] +[browser_sma_pin_firefox.js] +[browser_sma_pin_private_firefox.js] +skip-if = os != "win" +[browser_sma_show_firefox_accounts.js] +[browser_sma_show_migration_wizard.js] +skip-if = + os == "mac" && os_version == "10.15" && debug # Bug 1837646 +[browser_sma.js] +[browser_sma_docs.js] +[browser_sma_accept_doh.js] +[browser_sma_disable_doh.js] +[browser_sma_cfrmessageprovider.js] +[browser_sma_configure_homepage.js] +[browser_sma_default_browser.js] +[browser_sma_default_pdf_handler.js] +[browser_sma_set_prefs.js] +[browser_sma_click_element.js] +[browser_sma_handle_multiaction.js] +[browser_sma_open_firefoxview.js] diff --git a/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser.toml b/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser.toml deleted file mode 100644 index 2eff108d97e0..000000000000 --- a/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser.toml +++ /dev/null @@ -1,60 +0,0 @@ -[DEFAULT] -prefs = ["identity.fxaccounts.remote.root=https://example.com/"] -support-files = [ - "head.js", - "../../index.md", -] - -["browser_sma.js"] - -["browser_sma_accept_doh.js"] - -["browser_sma_block_message.js"] - -["browser_sma_cfrmessageprovider.js"] - -["browser_sma_click_element.js"] - -["browser_sma_configure_homepage.js"] - -["browser_sma_default_browser.js"] - -["browser_sma_default_pdf_handler.js"] - -["browser_sma_disable_doh.js"] - -["browser_sma_docs.js"] - -["browser_sma_handle_multiaction.js"] - -["browser_sma_open_about_page.js"] - -["browser_sma_open_awesome_bar.js"] - -["browser_sma_open_firefox_view.js"] - -["browser_sma_open_firefoxview.js"] - -["browser_sma_open_private_browser_window.js"] - -["browser_sma_open_protection_panel.js"] - -["browser_sma_open_protection_report.js"] - -["browser_sma_open_spotlight_dialog.js"] - -["browser_sma_open_url.js"] - -["browser_sma_pin_current_tab.js"] - -["browser_sma_pin_firefox.js"] - -["browser_sma_pin_private_firefox.js"] -skip-if = ["os != 'win'"] - -["browser_sma_set_prefs.js"] - -["browser_sma_show_firefox_accounts.js"] - -["browser_sma_show_migration_wizard.js"] -skip-if = ["apple_catalina && debug"] # Bug 1837646 diff --git a/toolkit/components/pictureinpicture/moz.build b/toolkit/components/pictureinpicture/moz.build index e6ca96b90391..8c697f81ae6a 100644 --- a/toolkit/components/pictureinpicture/moz.build +++ b/toolkit/components/pictureinpicture/moz.build @@ -17,5 +17,5 @@ EXTRA_JS_MODULES += [ ] BROWSER_CHROME_MANIFESTS += [ - "tests/browser.toml", + "tests/browser.ini", ] diff --git a/toolkit/components/pictureinpicture/tests/browser.ini b/toolkit/components/pictureinpicture/tests/browser.ini new file mode 100644 index 000000000000..96e309d2ea04 --- /dev/null +++ b/toolkit/components/pictureinpicture/tests/browser.ini @@ -0,0 +1,158 @@ +[DEFAULT] +support-files = + click-event-helper.js + head.js + short.mp4 + no-audio-track.webm + test-button-overlay.html + test-media-stream.html + test-opaque-overlay.html + test-page.html + test-page-without-audio.html + test-page-multiple-contexts.html + test-page-pipDisabled.html + test-page-with-iframe.html + test-page-with-sound.html + test-page-with-webvtt.html + test-pointer-events-none.html + test-reversed.html + test-transparent-nested-iframes.html + test-transparent-overlay-1.html + test-transparent-overlay-2.html + test-video.mp4 + test-video-cropped.mp4 + test-video-long.mp4 + test-video-selection.html + test-video-vertical.mp4 + test-webvtt-1.vtt + test-webvtt-2.vtt + test-webvtt-3.vtt + test-webvtt-4.vtt + test-webvtt-5.vtt + ../../../../dom/media/test/gizmo.mp4 + ../../../../dom/media/test/owl.mp3 + +prefs = + media.videocontrols.picture-in-picture.display-text-tracks.enabled=false + media.videocontrols.picture-in-picture.enabled=true + media.videocontrols.picture-in-picture.video-toggle.always-show=true + media.videocontrols.picture-in-picture.video-toggle.enabled=true + media.videocontrols.picture-in-picture.video-toggle.has-used=true + media.videocontrols.picture-in-picture.video-toggle.position="right" + media.videocontrols.picture-in-picture.video-toggle.testing=true + media.videocontrols.picture-in-picture.urlbar-button.enabled=true + +[browser_aaa_run_first_firstTimePiPToggleEvents.js] +[browser_aaa_telemetry_togglePiP.js] +[browser_audioScrubber.js] +[browser_backgroundTab.js] +[browser_cannotTriggerFromContent.js] +[browser_changePiPSrcInFullscreen.js] +[browser_closePipPause.js] +[browser_closePip_pageNavigationChanges.js] +[browser_closePlayer.js] +[browser_closeTab.js] +[browser_close_unpip_focus.js] +[browser_conflictingPips.js] +[browser_contextMenu.js] +skip-if = os == "linux" && bits == 64 && os_version == "18.04" # Bug 1569205 +[browser_controlsHover.js] +[browser_cornerSnapping.js] +run-if = os == "mac" +[browser_dblclickFullscreen.js] +[browser_disableSwipeGestures.js] +skip-if = os == "mac" # Bug 1840716 +[browser_durationChange.js] +[browser_flipIconWithRTL.js] +skip-if = + os == "linux" && ccov # Bug 1678091 + tsan # Bug 1678091 +[browser_fontSize_change.js] +[browser_fullscreen.js] +skip-if = (os == "mac" && debug) || os == "linux" #Bug 1566173, Bug 1664667 +[browser_improved_controls.js] +[browser_keyboardClosePIPwithESC.js] +[browser_keyboardFullScreenPIPShortcut.js] +[browser_keyboardShortcut.js] +[browser_keyboardShortcutClosePIP.js] +[browser_keyboardShortcutWithNanDuration.js] +support-files = + test-page-with-nan-video-duration.html +[browser_keyboardToggle.js] +[browser_mediaStreamVideos.js] +[browser_mouseButtonVariation.js] +skip-if = + debug + os == 'linux' && bits == 64 && !debug # Bug 1549875 +[browser_multiPip.js] +[browser_nimbusDisplayDuration.js] +[browser_nimbusFirstTimeStyleVariant.js] +[browser_nimbusMessageFirstTimePip.js] +[browser_nimbusShowIconOnly.js] +[browser_noPlayerControlsOnMiddleRightClick.js] +[browser_noToggleOnAudio.js] +[browser_occluded_window.js] +[browser_playerControls.js] +[browser_preserveTabPipIconOverlay.js] +[browser_privateWindow.js] +[browser_removeVideoElement.js] +[browser_resizeVideo.js] +skip-if = os == 'linux' # Bug 1594223 +[browser_reversePiP.js] +[browser_saveLastPiPLoc.js] +skip-if = + os == "linux" # Bug 1673465 + os == "win" && bits == 64 && debug # Bug 1683002 +[browser_shortcutsAfterFocus.js] +skip-if = os == "win" && bits == 64 && debug # Bug 1683002 +[browser_showMessage.js] +[browser_smallVideoLayout.js] +skip-if = os == "win" && bits == 64 && debug # Bug 1683002 +[browser_stripVideoStyles.js] +[browser_subtitles_settings_panel.js] +[browser_tabIconOverlayPiP.js] +[browser_telemetry_enhancements.js] +[browser_text_tracks_webvtt_1.js] +[browser_text_tracks_webvtt_2.js] +[browser_text_tracks_webvtt_3.js] +[browser_thirdPartyIframe.js] +[browser_toggleAfterTabTearOutIn.js] +skip-if = (os == 'linux' && bits == 64) || (os == 'mac' && !asan && !debug) # Bug 1605546 +[browser_toggleButtonOnNanDuration.js] +skip-if = + os == 'linux' && !debug # Bug 1700504 +support-files = + test-page-with-nan-video-duration.html +[browser_toggleButtonOverlay.js] +skip-if = true # Bug 1546455 +[browser_toggleMode_2.js] +skip-if = + os == 'linux' # Bug 1654971 + os == 'mac' # Bug 1654971 +[browser_toggleOnInsertedVideo.js] +[browser_toggleOpaqueOverlay.js] +skip-if = true # Bug 1546455 +[browser_togglePointerEventsNone.js] +skip-if = true # Bug 1664920, Bug 1628777 +[browser_togglePolicies.js] +skip-if = + os == "linux" && bits == 64 # Bug 1605565 + os == "mac" && os_version == "10.15" && debug # Bug 1605565 +[browser_togglePositionChange.js] +skip-if = + os == "linux" && bits == 64 && !debug # Bug 1738532 +[browser_toggleSimple.js] +skip-if = os == 'linux' # Bug 1546455 +[browser_toggleTransparentOverlay-1.js] +skip-if = + os == 'linux' && bits == 64 # Bug 1552288 +[browser_toggleTransparentOverlay-2.js] +skip-if = + os == 'linux' && bits == 64 && os_version == '18.04' # Bug 1546930 +[browser_toggle_enabled.js] +[browser_toggle_without_audio.js] +[browser_toggle_videocontrols.js] +[browser_touch_toggle_enablepip.js] +[browser_urlbar_toggle.js] +[browser_videoEmptied.js] +[browser_videoSelection.js] diff --git a/toolkit/components/pictureinpicture/tests/browser.toml b/toolkit/components/pictureinpicture/tests/browser.toml deleted file mode 100644 index f28a105698eb..000000000000 --- a/toolkit/components/pictureinpicture/tests/browser.toml +++ /dev/null @@ -1,239 +0,0 @@ -[DEFAULT] -support-files = [ - "click-event-helper.js", - "head.js", - "short.mp4", - "no-audio-track.webm", - "test-button-overlay.html", - "test-media-stream.html", - "test-opaque-overlay.html", - "test-page.html", - "test-page-without-audio.html", - "test-page-multiple-contexts.html", - "test-page-pipDisabled.html", - "test-page-with-iframe.html", - "test-page-with-sound.html", - "test-page-with-webvtt.html", - "test-pointer-events-none.html", - "test-reversed.html", - "test-transparent-nested-iframes.html", - "test-transparent-overlay-1.html", - "test-transparent-overlay-2.html", - "test-video.mp4", - "test-video-cropped.mp4", - "test-video-long.mp4", - "test-video-selection.html", - "test-video-vertical.mp4", - "test-webvtt-1.vtt", - "test-webvtt-2.vtt", - "test-webvtt-3.vtt", - "test-webvtt-4.vtt", - "test-webvtt-5.vtt", - "../../../../dom/media/test/gizmo.mp4", - "../../../../dom/media/test/owl.mp3", -] - -prefs = [ - "media.videocontrols.picture-in-picture.display-text-tracks.enabled=false", - "media.videocontrols.picture-in-picture.enabled=true", - "media.videocontrols.picture-in-picture.video-toggle.always-show=true", - "media.videocontrols.picture-in-picture.video-toggle.enabled=true", - "media.videocontrols.picture-in-picture.video-toggle.has-used=true", - "media.videocontrols.picture-in-picture.video-toggle.position=\"right\"", - "media.videocontrols.picture-in-picture.video-toggle.testing=true", - "media.videocontrols.picture-in-picture.urlbar-button.enabled=true", -] - -["browser_aaa_run_first_firstTimePiPToggleEvents.js"] - -["browser_aaa_telemetry_togglePiP.js"] - -["browser_audioScrubber.js"] - -["browser_backgroundTab.js"] - -["browser_cannotTriggerFromContent.js"] - -["browser_changePiPSrcInFullscreen.js"] - -["browser_closePipPause.js"] - -["browser_closePip_pageNavigationChanges.js"] - -["browser_closePlayer.js"] - -["browser_closeTab.js"] - -["browser_close_unpip_focus.js"] - -["browser_conflictingPips.js"] - -["browser_contextMenu.js"] -skip-if = ["os == 'linux' && bits == 64 && os_version == '18.04'"] # Bug 1569205 - -["browser_controlsHover.js"] - -["browser_cornerSnapping.js"] -run-if = ["os == 'mac'"] - -["browser_dblclickFullscreen.js"] - -["browser_disableSwipeGestures.js"] -skip-if = ["os == 'mac'"] # Bug 1840716 - -["browser_durationChange.js"] - -["browser_flipIconWithRTL.js"] -skip-if = [ - "os == 'linux' && ccov", # Bug 1678091 - "tsan", # Bug 1678091 -] - -["browser_fontSize_change.js"] - -["browser_fullscreen.js"] -skip-if = [ - "os == 'mac' && debug", # Bug 1566173 - "os == 'linux'", # Bug 1664667 -] - -["browser_improved_controls.js"] - -["browser_keyboardClosePIPwithESC.js"] - -["browser_keyboardFullScreenPIPShortcut.js"] - -["browser_keyboardShortcut.js"] - -["browser_keyboardShortcutClosePIP.js"] - -["browser_keyboardShortcutWithNanDuration.js"] -support-files = ["test-page-with-nan-video-duration.html"] - -["browser_keyboardToggle.js"] - -["browser_mediaStreamVideos.js"] - -["browser_mouseButtonVariation.js"] -skip-if = [ - "debug", - "os == 'linux' && bits == 64 && !debug", # Bug 1549875 -] - -["browser_multiPip.js"] - -["browser_nimbusDisplayDuration.js"] - -["browser_nimbusFirstTimeStyleVariant.js"] - -["browser_nimbusMessageFirstTimePip.js"] - -["browser_nimbusShowIconOnly.js"] - -["browser_noPlayerControlsOnMiddleRightClick.js"] - -["browser_noToggleOnAudio.js"] - -["browser_occluded_window.js"] - -["browser_playerControls.js"] - -["browser_preserveTabPipIconOverlay.js"] - -["browser_privateWindow.js"] - -["browser_removeVideoElement.js"] - -["browser_resizeVideo.js"] -skip-if = ["os == 'linux'"] # Bug 1594223 - -["browser_reversePiP.js"] - -["browser_saveLastPiPLoc.js"] -skip-if = [ - "os == 'linux'", # Bug 1673465 - "os == 'win' && bits == 64 && debug", # Bug 1683002 -] - -["browser_shortcutsAfterFocus.js"] -skip-if = ["os == 'win' && bits == 64 && debug"] # Bug 1683002 - -["browser_showMessage.js"] - -["browser_smallVideoLayout.js"] -skip-if = ["os == 'win' && bits == 64 && debug"] # Bug 1683002 - -["browser_stripVideoStyles.js"] - -["browser_subtitles_settings_panel.js"] - -["browser_tabIconOverlayPiP.js"] - -["browser_telemetry_enhancements.js"] - -["browser_text_tracks_webvtt_1.js"] - -["browser_text_tracks_webvtt_2.js"] - -["browser_text_tracks_webvtt_3.js"] - -["browser_thirdPartyIframe.js"] - -["browser_toggleAfterTabTearOutIn.js"] -skip-if = [ - "os == 'linux' && bits == 64", # Bug 1605546 - "os == 'mac' && !debug", # Bug 1605546 -] - -["browser_toggleButtonOnNanDuration.js"] -skip-if = ["os == 'linux' && !debug"] # Bug 1700504 -support-files = ["test-page-with-nan-video-duration.html"] - -["browser_toggleButtonOverlay.js"] -skip-if = ["true"] # Bug 1546455 - -["browser_toggleMode_2.js"] -skip-if = [ - "os == 'linux'", # Bug 1654971 - "os == 'mac'", # Bug 1654971 -] - -["browser_toggleOnInsertedVideo.js"] - -["browser_toggleOpaqueOverlay.js"] -skip-if = ["true"] # Bug 1546455 - -["browser_togglePointerEventsNone.js"] -skip-if = ["true"] # Bug 1664920, Bug 1628777 - -["browser_togglePolicies.js"] -skip-if = [ - "os == 'linux' && bits == 64", # Bug 1605565 - "apple_catalina && debug", # Bug 1605565 -] - -["browser_togglePositionChange.js"] -skip-if = ["os == 'linux' && bits == 64 && !debug"] # Bug 1738532 - -["browser_toggleSimple.js"] -skip-if = ["os == 'linux'"] # Bug 1546455 - -["browser_toggleTransparentOverlay-1.js"] -skip-if = ["os == 'linux' && bits == 64"] # Bug 1552288 - -["browser_toggleTransparentOverlay-2.js"] -skip-if = ["os == 'linux' && bits == 64 && os_version == '18.04'"] # Bug 1546930 - -["browser_toggle_enabled.js"] - -["browser_toggle_videocontrols.js"] - -["browser_toggle_without_audio.js"] - -["browser_touch_toggle_enablepip.js"] - -["browser_urlbar_toggle.js"] - -["browser_videoEmptied.js"] - -["browser_videoSelection.js"] diff --git a/toolkit/components/places/tests/browser/browser.ini b/toolkit/components/places/tests/browser/browser.ini new file mode 100644 index 000000000000..33526ebb209b --- /dev/null +++ b/toolkit/components/places/tests/browser/browser.ini @@ -0,0 +1,88 @@ +[DEFAULT] +support-files = + head.js + +[browser_bug399606.js] +https_first_disabled = true +support-files = + 399606-history.go-0.html + 399606-httprefresh.html + 399606-location.reload.html + 399606-location.replace.html + 399606-window.location.html + 399606-window.location.href.html +[browser_bug461710.js] +https_first_disabled = true +support-files = + 461710_link_page-2.html + 461710_link_page-3.html + 461710_link_page.html + 461710_visited_page.html +[browser_bug646422.js] +https_first_disabled = true +[browser_bug680727.js] +https_first_disabled = true +skip-if = verify +[browser_bug1601563.js] +https_first_disabled = true +support-files = + 1601563-1.html + 1601563-2.html +[browser_double_redirect.js] +https_first_disabled = true +support-files = + begin.html + final.html + redirect_once.sjs + redirect_twice.sjs +[browser_favicon_privatebrowsing_perwindowpb.js] +[browser_history_post.js] +https_first_disabled = true +support-files = + history_post.html + history_post.sjs +[browser_notfound.js] +[browser_onvisit_title_null_for_navigation.js] +https_first_disabled = true +skip-if = verify +support-files = + empty_page.html +[browser_redirect.js] +support-files = + redirect.sjs + redirect-target.html +[browser_redirect_self.js] +support-files = + redirect_self.sjs +[browser_multi_redirect_frecency.js] +https_first_disabled = true +support-files = + final.html + redirect_once.sjs + redirect_thrice.sjs + redirect_twice.sjs + redirect_twice_perma.sjs +[browser_settitle.js] +https_first_disabled = true +support-files = + title1.html + title2.html +[browser_visited_notfound.js] +[browser_visituri.js] +https_first_disabled = true +support-files = + begin.html + final.html + redirect_once.sjs + redirect_twice.sjs +[browser_visituri_nohistory.js] +support-files = + begin.html + final.html + favicon-normal16.png + favicon-normal32.png +[browser_visituri_privatebrowsing_perwindowpb.js] +support-files = + begin.html + favicon.html + final.html diff --git a/toolkit/components/places/tests/browser/browser.toml b/toolkit/components/places/tests/browser/browser.toml deleted file mode 100644 index 94995978a42b..000000000000 --- a/toolkit/components/places/tests/browser/browser.toml +++ /dev/null @@ -1,113 +0,0 @@ -[DEFAULT] -support-files = ["head.js"] - -["browser_bug399606.js"] -https_first_disabled = true -support-files = [ - "399606-history.go-0.html", - "399606-httprefresh.html", - "399606-location.reload.html", - "399606-location.replace.html", - "399606-window.location.html", - "399606-window.location.href.html", -] - -["browser_bug461710.js"] -https_first_disabled = true -support-files = [ - "461710_link_page-2.html", - "461710_link_page-3.html", - "461710_link_page.html", - "461710_visited_page.html", -] - -["browser_bug646422.js"] -https_first_disabled = true - -["browser_bug680727.js"] -https_first_disabled = true -skip-if = ["verify"] - -["browser_bug1601563.js"] -https_first_disabled = true -support-files = [ - "1601563-1.html", - "1601563-2.html", -] - -["browser_double_redirect.js"] -https_first_disabled = true -support-files = [ - "begin.html", - "final.html", - "redirect_once.sjs", - "redirect_twice.sjs", -] - -["browser_favicon_privatebrowsing_perwindowpb.js"] - -["browser_history_post.js"] -https_first_disabled = true -support-files = [ - "history_post.html", - "history_post.sjs", -] - -["browser_multi_redirect_frecency.js"] -https_first_disabled = true -support-files = [ - "final.html", - "redirect_once.sjs", - "redirect_thrice.sjs", - "redirect_twice.sjs", - "redirect_twice_perma.sjs", -] - -["browser_notfound.js"] - -["browser_onvisit_title_null_for_navigation.js"] -https_first_disabled = true -skip-if = ["verify"] -support-files = ["empty_page.html"] - -["browser_redirect.js"] -support-files = [ - "redirect.sjs", - "redirect-target.html", -] - -["browser_redirect_self.js"] -support-files = ["redirect_self.sjs"] - -["browser_settitle.js"] -https_first_disabled = true -support-files = [ - "title1.html", - "title2.html", -] - -["browser_visited_notfound.js"] - -["browser_visituri.js"] -https_first_disabled = true -support-files = [ - "begin.html", - "final.html", - "redirect_once.sjs", - "redirect_twice.sjs", -] - -["browser_visituri_nohistory.js"] -support-files = [ - "begin.html", - "final.html", - "favicon-normal16.png", - "favicon-normal32.png", -] - -["browser_visituri_privatebrowsing_perwindowpb.js"] -support-files = [ - "begin.html", - "favicon.html", - "final.html", -] diff --git a/toolkit/components/places/tests/moz.build b/toolkit/components/places/tests/moz.build index 60b1e3685845..a6794b3af8b1 100644 --- a/toolkit/components/places/tests/moz.build +++ b/toolkit/components/places/tests/moz.build @@ -24,7 +24,7 @@ XPCSHELL_TESTS_MANIFESTS += [ ] BROWSER_CHROME_MANIFESTS += [ - "browser/browser.toml", + "browser/browser.ini", "browser/previews/browser.toml", ] diff --git a/toolkit/components/remotebrowserutils/moz.build b/toolkit/components/remotebrowserutils/moz.build index 798974d571fa..0723c716ffeb 100644 --- a/toolkit/components/remotebrowserutils/moz.build +++ b/toolkit/components/remotebrowserutils/moz.build @@ -11,4 +11,4 @@ EXTRA_JS_MODULES += [ "RemoteWebNavigation.sys.mjs", ] -BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"] +BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.ini"] diff --git a/toolkit/components/remotebrowserutils/tests/browser/browser.ini b/toolkit/components/remotebrowserutils/tests/browser/browser.ini new file mode 100644 index 000000000000..a7d0a4786d84 --- /dev/null +++ b/toolkit/components/remotebrowserutils/tests/browser/browser.ini @@ -0,0 +1,16 @@ +[DEFAULT] +support-files = + dummy_page.html + print_postdata.sjs + 307redirect.sjs + head.js + coop_header.sjs + file_postmsg_parent.html + +[browser_RemoteWebNavigation.js] +https_first_disabled = true +[browser_documentChannel.js] +[browser_httpCrossOriginOpenerPolicy.js] +[browser_httpToFileHistory.js] +[browser_oopProcessSwap.js] +[browser_externalLinkBlanksPage.js] diff --git a/toolkit/components/remotebrowserutils/tests/browser/browser.toml b/toolkit/components/remotebrowserutils/tests/browser/browser.toml deleted file mode 100644 index 47832d0da402..000000000000 --- a/toolkit/components/remotebrowserutils/tests/browser/browser.toml +++ /dev/null @@ -1,22 +0,0 @@ -[DEFAULT] -support-files = [ - "dummy_page.html", - "print_postdata.sjs", - "307redirect.sjs", - "head.js", - "coop_header.sjs", - "file_postmsg_parent.html", -] - -["browser_RemoteWebNavigation.js"] -https_first_disabled = true - -["browser_documentChannel.js"] - -["browser_externalLinkBlanksPage.js"] - -["browser_httpCrossOriginOpenerPolicy.js"] - -["browser_httpToFileHistory.js"] - -["browser_oopProcessSwap.js"] diff --git a/uriloader/exthandler/tests/mochitest/browser.ini b/uriloader/exthandler/tests/mochitest/browser.ini new file mode 100644 index 000000000000..22bae61c787a --- /dev/null +++ b/uriloader/exthandler/tests/mochitest/browser.ini @@ -0,0 +1,130 @@ +[DEFAULT] +head = head.js +support-files = + protocolHandler.html + + +[browser_auto_close_window.js] +support-files = + download_page.html + download.bin + download.sjs +[browser_auto_close_window_nodialog.js] +support-files = + download_page.html + download.bin + download.sjs +[browser_bad_download_dir.js] +run-if = os == 'linux' +support-files = download.bin +[browser_download_always_ask_preferred_app.js] +[browser_download_idn_blocklist.js] +support-files = download.bin +[browser_download_open_with_internal_handler.js] +support-files = + file_image_svgxml.svg + file_image_svgxml.svg^headers^ + file_pdf_application_pdf.pdf + file_pdf_application_pdf.pdf^headers^ + file_pdf_application_unknown.pdf + file_pdf_application_unknown.pdf^headers^ + file_pdf_application_octet_stream.pdf + file_pdf_application_octet_stream.pdf^headers^ + file_pdf_binary_octet_stream.pdf + file_pdf_binary_octet_stream.pdf^headers^ + file_txt_attachment_test.txt + file_txt_attachment_test.txt^headers^ + file_xml_attachment_binary_octet_stream.xml + file_xml_attachment_binary_octet_stream.xml^headers^ + file_xml_attachment_test.xml + file_xml_attachment_test.xml^headers^ + file_green.webp + file_green.webp^headers^ +[browser_download_preferred_action.js] +support-files = + mime_type_download.sjs +skip-if = + os == "win" && os_version == "6.1" # Skip on Azure - frequent failure +[browser_download_privatebrowsing.js] +[browser_download_skips_dialog.js] +support-files = + file_green.webp + file_green.webp^headers^ +[browser_download_spam_permissions.js] +support-files = + test_spammy_page.html +[browser_download_urlescape.js] +support-files = + file_with@@funny_name.png + file_with@@funny_name.png^headers^ + file_with[funny_name.webm + file_with[funny_name.webm^headers^ +[browser_extension_correction.js] +support-files = + file_as.exe + file_as.exe^headers^ +[browser_filehandling_loop.js] +[browser_launched_app_save_directory.js] +support-files = + file_pdf_application_pdf.pdf + file_pdf_application_pdf.pdf^headers^ + file_green.webp + file_green.webp^headers^ +[browser_local_files_no_save_without_asking.js] +support-files = + file_pdf_binary_octet_stream.pdf +[browser_local_files_open_doesnt_duplicate.js] +support-files = + file_pdf_binary_octet_stream.pdf +[browser_shows_where_to_save_dialog.js] +support-files = + file_green.webp + file_green.webp^headers^ + file_pdf_application_pdf.pdf + file_pdf_application_pdf.pdf^headers^ + file_txt_attachment_test.txt + file_txt_attachment_test.txt^headers^ +[browser_open_internal_choice_persistence.js] +skip-if = + apple_silicon # bug 1752482 +support-files = + file_pdf_application_pdf.pdf + file_pdf_application_pdf.pdf^headers^ +[browser_pdf_save_as.js] +[browser_protocol_ask_dialog.js] +support-files = + file_nested_protocol_request.html +[browser_protocol_custom_sandbox.js] +support-files = + protocol_custom_sandbox_helper.sjs +[browser_protocol_custom_sandbox_csp.js] +support-files = + protocol_custom_sandbox_helper.sjs +[browser_first_prompt_not_blocked_without_user_interaction.js] +support-files = + file_external_protocol_iframe.html +[browser_protocol_ask_dialog_external.js] +support-files = + redirect_helper.sjs +[browser_protocol_ask_dialog_permission.js] +support-files = + redirect_helper.sjs + script_redirect.html +[browser_protocolhandler_loop.js] +[browser_remember_download_option.js] +[browser_save_filenames.js] +support-files = + save_filenames.html +[browser_txt_download_save_as.js] +support-files = + file_txt_attachment_test.txt + file_txt_attachment_test.txt^headers^ + !/toolkit/content/tests/browser/common/mockTransfer.js +[browser_web_handler_app_pinned_tab.js] +support-files = + mailto.html +[browser_web_protocol_handlers.js] +[browser_ftp_protocol_handlers.js] +support-files = + FTPprotocolHandler.html + blank.html diff --git a/uriloader/exthandler/tests/mochitest/browser.toml b/uriloader/exthandler/tests/mochitest/browser.toml deleted file mode 100644 index 5c034060174a..000000000000 --- a/uriloader/exthandler/tests/mochitest/browser.toml +++ /dev/null @@ -1,158 +0,0 @@ -[DEFAULT] -head = "head.js" -support-files = ["protocolHandler.html"] - - -["browser_auto_close_window.js"] -support-files = [ - "download_page.html", - "download.bin", - "download.sjs", -] - -["browser_auto_close_window_nodialog.js"] -support-files = [ - "download_page.html", - "download.bin", - "download.sjs", -] - -["browser_bad_download_dir.js"] -run-if = ["os == 'linux'"] -support-files = ["download.bin"] - -["browser_download_always_ask_preferred_app.js"] - -["browser_download_idn_blocklist.js"] -support-files = ["download.bin"] - -["browser_download_open_with_internal_handler.js"] -support-files = [ - "file_image_svgxml.svg", - "file_image_svgxml.svg^headers^", - "file_pdf_application_pdf.pdf", - "file_pdf_application_pdf.pdf^headers^", - "file_pdf_application_unknown.pdf", - "file_pdf_application_unknown.pdf^headers^", - "file_pdf_application_octet_stream.pdf", - "file_pdf_application_octet_stream.pdf^headers^", - "file_pdf_binary_octet_stream.pdf", - "file_pdf_binary_octet_stream.pdf^headers^", - "file_txt_attachment_test.txt", - "file_txt_attachment_test.txt^headers^", - "file_xml_attachment_binary_octet_stream.xml", - "file_xml_attachment_binary_octet_stream.xml^headers^", - "file_xml_attachment_test.xml", - "file_xml_attachment_test.xml^headers^", - "file_green.webp", - "file_green.webp^headers^", -] - -["browser_download_preferred_action.js"] -support-files = ["mime_type_download.sjs"] - -["browser_download_privatebrowsing.js"] - -["browser_download_skips_dialog.js"] -support-files = [ - "file_green.webp", - "file_green.webp^headers^", -] - -["browser_download_spam_permissions.js"] -support-files = ["test_spammy_page.html"] - -["browser_download_urlescape.js"] -support-files = [ - "file_with@@funny_name.png", - "file_with@@funny_name.png^headers^", - "file_with[funny_name.webm", - "file_with[funny_name.webm^headers^", -] - -["browser_extension_correction.js"] -support-files = [ - "file_as.exe", - "file_as.exe^headers^", -] - -["browser_filehandling_loop.js"] - -["browser_first_prompt_not_blocked_without_user_interaction.js"] -support-files = ["file_external_protocol_iframe.html"] - -["browser_ftp_protocol_handlers.js"] -support-files = [ - "FTPprotocolHandler.html", - "blank.html", -] - -["browser_launched_app_save_directory.js"] -support-files = [ - "file_pdf_application_pdf.pdf", - "file_pdf_application_pdf.pdf^headers^", - "file_green.webp", - "file_green.webp^headers^", -] - -["browser_local_files_no_save_without_asking.js"] -support-files = ["file_pdf_binary_octet_stream.pdf"] - -["browser_local_files_open_doesnt_duplicate.js"] -support-files = ["file_pdf_binary_octet_stream.pdf"] - -["browser_open_internal_choice_persistence.js"] -skip-if = ["apple_silicon"] # bug 1752482 -support-files = [ - "file_pdf_application_pdf.pdf", - "file_pdf_application_pdf.pdf^headers^", -] - -["browser_pdf_save_as.js"] - -["browser_protocol_ask_dialog.js"] -support-files = ["file_nested_protocol_request.html"] - -["browser_protocol_ask_dialog_external.js"] -support-files = ["redirect_helper.sjs"] - -["browser_protocol_ask_dialog_permission.js"] -support-files = [ - "redirect_helper.sjs", - "script_redirect.html", -] - -["browser_protocol_custom_sandbox.js"] -support-files = ["protocol_custom_sandbox_helper.sjs"] - -["browser_protocol_custom_sandbox_csp.js"] -support-files = ["protocol_custom_sandbox_helper.sjs"] - -["browser_protocolhandler_loop.js"] - -["browser_remember_download_option.js"] - -["browser_save_filenames.js"] -support-files = ["save_filenames.html"] - -["browser_shows_where_to_save_dialog.js"] -support-files = [ - "file_green.webp", - "file_green.webp^headers^", - "file_pdf_application_pdf.pdf", - "file_pdf_application_pdf.pdf^headers^", - "file_txt_attachment_test.txt", - "file_txt_attachment_test.txt^headers^", -] - -["browser_txt_download_save_as.js"] -support-files = [ - "file_txt_attachment_test.txt", - "file_txt_attachment_test.txt^headers^", - "!/toolkit/content/tests/browser/common/mockTransfer.js", -] - -["browser_web_handler_app_pinned_tab.js"] -support-files = ["mailto.html"] - -["browser_web_protocol_handlers.js"] diff --git a/uriloader/exthandler/tests/moz.build b/uriloader/exthandler/tests/moz.build index 6a1a124238d2..691ab2932a97 100644 --- a/uriloader/exthandler/tests/moz.build +++ b/uriloader/exthandler/tests/moz.build @@ -8,7 +8,7 @@ MOCHITEST_MANIFESTS += ["mochitest/mochitest.ini"] XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"] -BROWSER_CHROME_MANIFESTS += ["mochitest/browser.toml"] +BROWSER_CHROME_MANIFESTS += ["mochitest/browser.ini"] TEST_DIRS += [ "gtest",