[DEFAULT]
support-files = [
  "get_user_media.html",
  "get_user_media2.html",
  "get_user_media_in_frame.html",
  "get_user_media_in_xorigin_frame.html",
  "get_user_media_in_xorigin_frame_ancestor.html",
  "head.js",
  "peerconnection_connect.html",
  "single_peerconnection.html",
]

prefs = [
  "privacy.webrtc.allowSilencingNotifications=true",
  "privacy.webrtc.legacyGlobalIndicator=false",
  "privacy.webrtc.sharedTabWarning=false",
  "privacy.webrtc.deviceGracePeriodTimeoutMs=0",
]

["browser_WebrtcGlobalInformation.js"]
skip-if = ["os == 'mac' && os_version == '15.30' && arch == 'aarch64' && opt"] # Bug 1961544

["browser_device_controls_menus.js"]
skip-if = [
  "debug", # bug 1369731
  "os == 'linux' && os_version == '18.04' && processor == 'x86_64' && opt", # Bug 1775940
  "os == 'linux' && os_version == '24.04' && processor == 'x86_64' && display == 'x11' && opt", # Bug 1775940
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_devices_get_user_media.js"]
https_first_disabled = true
skip-if = [
  "os == 'linux' && bits == 64", # linux: bug 976544, Bug 1616011
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # bug 1963169
]

["browser_devices_get_user_media_anim.js"]
https_first_disabled = true

["browser_devices_get_user_media_by_device_id.js"]
https_first_disabled = true
skip-if = [
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # bug 1985528
]

["browser_devices_get_user_media_camera_preview.js"]

["browser_devices_get_user_media_default_permissions.js"]
https_first_disabled = true

["browser_devices_get_user_media_in_frame.js"]
https_first_disabled = true
skip-if = ["debug"] # bug 1369731

["browser_devices_get_user_media_in_xorigin_frame.js"]
https_first_disabled = true
skip-if = [
  "debug", # bug 1369731
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_devices_get_user_media_in_xorigin_frame_chain.js"]
https_first_disabled = true

["browser_devices_get_user_media_multi_process.js"]
https_first_disabled = true
skip-if = [
  "debug && os == 'win'", # bug 1393761
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_devices_get_user_media_paused.js"]
https_first_disabled = true
skip-if = [
  "os == 'win' && !debug", # Bug 1440900
  "os =='linux' && !debug && bits == 64", # Bug 1440900
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_devices_get_user_media_queue_request.js"]
https_first_disabled = true
skip-if = [
  "os == 'linux'", # Bug 1775945
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # Bug 1974591
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1974591
  "os == 'win' && !debug", # Bug 1775945
]

["browser_devices_get_user_media_screen.js"]
https_first_disabled = true
skip-if = [
  "os == 'linux'", # Bug 1503991
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'win'", # high frequency intermittent, bug 1739107
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_devices_get_user_media_screen_tab_close.js"]
skip-if = [
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_devices_get_user_media_tear_off_tab.js"]
https_first_disabled = true
skip-if = [
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'linux'", # Bug 1775945
  "os == 'win' && !debug", # Bug 1775945
]

["browser_devices_get_user_media_unprompted_access.js"]
skip-if = ["os == 'linux' && bits == 64 && !debug"] # Bug 1712012
https_first_disabled = true

["browser_devices_get_user_media_unprompted_access_in_frame.js"]
https_first_disabled = true

["browser_devices_get_user_media_unprompted_access_queue_request.js"]
https_first_disabled = true

["browser_devices_get_user_media_unprompted_access_tear_off_tab.js"]
https_first_disabled = true
skip-if = ["os == 'win' && bits == 64"] # win8: bug 1334752

["browser_devices_select_audio_output.js"]

["browser_global_mute_toggles.js"]

["browser_indicator_popuphiding.js"]
skip-if = [
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_macos_indicator_hiding.js"]
run-if = ["os == 'mac' && os_version >= '14.0'"]
skip-if = [
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'",
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'",
]

["browser_notification_silencing.js"]
skip-if = [
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_stop_sharing_button.js"]
skip-if = [
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
]

["browser_stop_streams_on_indicator_close.js"]
skip-if = [
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1707735
  "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # platform migration
  "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1869787
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1707735
  "os == 'win' && os_version == '11.26100' && ccov", # Bug 1775943
]

["browser_tab_switch_warning.js"]
skip-if = ["os == 'mac' && os_version == '10.15' && processor == 'x86_64'"]  # platform migration

["browser_webrtc_hooks.js"]
skip-if = ["os == 'mac' && os_version == '14.70' && processor == 'x86_64'"] # Bug 1869787
