html/semantics/embedded-content/the-audio-element/

17 / 20 WPT subtests passing

Failed
2
Timed out
1
Not run
0
Test files
13
Blocking files
0

Chrome none reported WPT subtests passing on the same files, none blocking, 13 without a result

Tests

13 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
audio-appendChild-to-inactive-document-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/embedded-content/the-audio-element/audio-appendChild-to-inactive-document-crash.html PASS none reported

No subtests were reported.

audio-loading-eager.html0 / 1 passingChrome —1 failedExempt
Standing
Exempt runner status OK
Chrome
no result in the reference run

Exempt from the 0.1 gate until a decoder plays its media

waits for loadeddata on an MP3 audio resource; the default platform decodes WAV only

Media
/media/sine440.mp3 (audio/mpeg)
Failing assertion
FAIL: Audio with loading='eager' loads immediately regardless of viewport position - assert_unreached: Eager audio should load data immediately Reached unreachable code
  1. FAILAudio with loading='eager' loads immediately regardless of viewport position
    assert_unreached: Eager audio should load data immediately Reached unreachable code
audio-loading-lazy-disconnected.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Audio with loading=lazy does not load when not connected to document
audio-loading-lazy-in-scroller.html0 / 1 passingChrome —1 failedExempt
Standing
Exempt runner status OK
Chrome
no result in the reference run

Exempt from the 0.1 gate until a decoder plays its media

the subtest passes at loadeddata within 5 s; with lazy loading in (lane blk9, 2026-11-28) Crane defers the lazy audio and its layout-less lazy load observer (being rendered = intersecting, dom.lazy_load_observer) starts the load at the first rendering update, before the scroll, which the test asserts nothing about - so no renderer is needed (re-checked, integrator 9:16 AM ET); loadeddata needs a decoded frame of /media/sine440.mp3 and the default platform decodes WAV only (Chrome, Firefox and Safari 1/1 at 2358bd4835)

Media
/media/sine440.mp3 (audio/mpeg)
Failing assertion
assert_unreached: Timed out while waiting for audio to load. Reached unreachable code
  1. FAILAudio with loading=lazy inside scroll container loads when scrolled into view within container
    assert_unreached: Timed out while waiting for audio to load. Reached unreachable code
audio-loading-lazy-in-viewport.html0 / 1 passingChrome —0 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
no result in the reference run

Exempt from the 0.1 gate until a decoder plays its media

the subtest passes at loadeddata (after the window's load event); Crane defers the lazy audio's resource selection (lane blk9, HTML 2.5.7 lazy loading) and starts it when the lazy load observer finds it rendered - after the window's load, which it does not delay - but loadeddata needs a decoded frame of /media/sine440.mp3 and the default platform decodes WAV only (Chrome, Firefox and Safari 1/1 at 2358bd4835)

Media
/media/sine440.mp3?pipe=trickle(d2) (audio/mpeg)
Failing assertion
TIMEOUT: In-viewport audio with loading='lazy' does not block window load - Test timed out

/html/semantics/embedded-content/the-audio-element/audio-loading-lazy-in-viewport.html TIMEOUT 0 / 1

  1. TIMEOUTIn-viewport audio with loading='lazy' does not block window load
    Test timed out
audio-loading-lazy-not-rendered.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. In-viewport audio with loading=lazy and no controls attribute, or display:none or hidden attribute should never load
audio-loading-lazy-window-onload.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Audio with loading=lazy does not delay window onload event
audio-loading-load-deferred.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Audio with loading=lazy that is not visible in viewport does not load audio data
audio-loading-load-preload-auto-deferred.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Audio with loading=lazy and preload=auto that is not visible in viewport does not load audio data
audio-loading-load-preload-metadata-deferred.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Audio with loading=lazy and preload=metadata that is not visible in viewport does not load audio data
audio-play-in-inactive-document-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/embedded-content/the-audio-element/audio-play-in-inactive-document-crash.html PASS none reported

No subtests were reported.

audio-with-replaced-after-pseudo-crash.htmlnone reportedChrome —0 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
no result in the reference run

Exempt from the 0.1 gate until a decoder plays its media

getAudioURI (/common/media.js) picks sound_5.mp3 because canPlayType('audio/ogg') answers "", and the test's `await audio.play()` never settles without an MP3 decoder (the default platform decodes WAV only), so the crashtest never finishes (Chrome, Firefox and Safari PASS at 2358bd4835)

Media
/media/sound_5.mp3 (audio/mpeg)
Failing assertion
TIMEOUT: Crashtest did not finish (load, then test-wait) within 10000ms

Harness message

Crashtest did not finish (load, then test-wait) within 10000ms

/html/semantics/embedded-content/the-audio-element/audio-with-replaced-after-pseudo-crash.html TIMEOUT none reported

Crashtest did not finish (load, then test-wait) within 10000ms

No subtests were reported.

audio_constructor.html11 / 11 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
11 passing subtests
  1. Audio constructor
  2. No arguments
  3. Empty string argument
  4. Non-empty string argument
  5. Null argument
  6. Undefined argument
  7. Extra argument
  8. Prototype of object created with named constructor
  9. Calling Audio should throw
  10. Calling HTMLAudioElement should throw
  11. Constructing HTMLAudioElement should throw

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.