[Webkit-unassigned] [Bug 272502] New: [iOS 17.4] Irregular HTMLMediaElement events for src URLs without file extensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 10 19:29:20 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272502

            Bug ID: 272502
           Summary: [iOS 17.4] Irregular HTMLMediaElement events for src
                    URLs without file extensions
           Product: WebKit
           Version: Safari 17
          Hardware: iPhone / iPad
                OS: iOS 17
            Status: NEW
          Severity: Major
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jgomez at tunein.com

Created attachment 470859

  --> https://bugs.webkit.org/attachment.cgi?id=470859&action=review

HTMLMediaElement Events on Load

When using a `src` URL without a file extension (e.g., `https://example.com/sample`) on an `<audio>` element, calling `load()` (https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/load) produces unexpected event behavior, like the `suspend` event being fired after `loadstart`, as well as the events `loadeddata`, `canplay`, and `canplaythrough` never firing. I am able to reproduce this consistently in iOS, but not macOS (both using Safari 17.4.1).

This was tested by creating a Bun server that serves the same mp3 file on routes `/sample` and `/sample.mp3`. Both routes used as the `src` URL on `<audio>` elements emit the same events on macOS Safari, but in iOS Safari, `/sample` produces the irregular event behavior described above. Screenshot attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240411/f2a99c23/attachment.htm>


More information about the webkit-unassigned mailing list