Name Description Size Coverage
audio.ogg 14290 -
browser.toml 995 -
browser_autoplay_policy_detection_click_to_play.js This test will check the Autoplay Policy Detection API for click-to-play blocking policy (media.autoplay.blocking_policy=2) and the blocked value set to BLOCKED (block audible) and BLOCKED_ALL (block audible & inaudible). We will create two video elements in the test page, and then click one of them. After doing that, only the element has been clicked can be allowed to autoplay, other elements should remain blocked depend on the default blocking value. 3793 -
browser_autoplay_policy_detection_global_and_site_sticky.js This test checks whether Autoplay Policy Detection API works correctly under different situations of having global permission set for block autoplay along with different site permission setting. This test only checks the sticky user gesture blocking model. 5465 -
browser_autoplay_policy_detection_global_sticky.js This test checks whether Autoplay Policy Detection API works correctly under different situations of having global permission set for block autoplay. This test only checks the sticky user gesture blocking model. 3442 -
browser_autoplay_policy_play_twice.js 1690 -
browser_autoplay_policy_request_permission.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 8342 -
browser_autoplay_policy_touchScroll.js This test is used to ensure that touch in point can activate document and allow autoplay, but touch scroll can't activate document. 2593 -
browser_autoplay_policy_user_gestures.js eslint-disable mozilla/no-arbitrary-setTimeout 7600 -
browser_autoplay_policy_web_audio.js This test is used for testing whether WebAudio can be started correctly in different scenarios, such as 1) site has existing 'autoplay-media' permission for allowing autoplay 2) site has existing 'autoplay-media' permission for blocking autoplay 3) site doesn't have permission, start audio context by calling resume() or AudioScheduledNode.start() after granting user activation. 6107 -
browser_autoplay_policy_web_audio_with_gum.js eslint-disable mozilla/no-arbitrary-setTimeout 4992 -
browser_autoplay_policy_webRTC_permission.js This test is used to ensure site which has granted 'camera' or 'microphone' or 'screen' permission could be allowed to autoplay. 1691 -
browser_autoplay_userinteraction.js 2931 -
browser_autoplay_videoDocument.js 2459 -
file_empty.html Page left intentionally blank... 121 -
file_mediaplayback_frame.html Non-Autoplay page being used in Iframe 483 -
file_nonAutoplayAudio.html 206 -
file_video.html video 135 -
head.js Return a web-based URL for a given file based on the testing directory. @param {string} fileName file that caller wants its web-based url @param {boolean} crossOrigin [optional] if set, then return a url with different origin. The default value is false. 4667 -