From 967a1f243e24ed97f23dae9974434f083411cfdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Tue, 25 Nov 2025 23:16:11 +0100 Subject: [PATCH] Set "is currently stalled" before firing events Fixes https://github.com/whatwg/html/issues/11958. --- source | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source b/source index 90920ea7980..909b6129932 100644 --- a/source +++ b/source @@ -38340,10 +38340,10 @@ interface MediaError { media element to:

    +
  1. Set the element's is currently stalled to true.

  2. +
  3. Fire an event named stalled at the element.

  4. - -
  5. Set the element's is currently stalled to true.

User agents may allow users to selectively block or slow media data downloads. @@ -38393,10 +38393,10 @@ interface MediaError { given the media element to:

    +
  1. Set the element's is currently stalled to false.

  2. +
  3. Fire an event named progress at the element.

  4. - -
  5. Set the element's is currently stalled to false.

While the user agent might still need network access to obtain parts of the media