WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
297177
[GStreamer][MSE] media/media-source/media-source-init-segment-duration.html is failing
https://bugs.webkit.org/show_bug.cgi?id=297177
Summary
[GStreamer][MSE] media/media-source/media-source-init-segment-duration.html i...
Diego Pino
Reported
2025-08-09 14:06:26 PDT
This test has been failing for a long time, but it was filed under an unrelated bug (
https://bugs.webkit.org/show_bug.cgi?id=171726
):
https://results.webkit.org/?platform=GTK&platform=WPE&&suite=layout-tests&test=media/media-source/media-source-init-segment-duration.html&limit=4000
Diff:
https://build.webkit.org/results/WPE-Linux-64-bit-Release-Tests/298473%40main%20%2822275%29/media/media-source/media-source-init-segment-duration-diff.txt
--- /home/buildbot/worker/WPE-Linux-64-bit-Release-Tests/build/layout-test-results/media/media-source/media-source-init-segment-duration-expected.txt +++ /home/buildbot/worker/WPE-Linux-64-bit-Release-Tests/build/layout-test-results/media/media-source/media-source-init-segment-duration-actual.txt @@ -5,6 +5,6 @@ RUN(sourceBuffer = source.addSourceBuffer(loader.type())) RUN(sourceBuffer.appendBuffer(loader.initSegment())) EVENT(update) -EXPECTED (video.duration == '10') OK +EXPECTED (video.duration == '10'), OBSERVED '10.049' FAIL END OF TEST
Attachments
Add attachment
proposed patch, testcase, etc.
Diego Pino
Comment 1
2026-02-12 14:17:42 PST
Opening this video ('LayoutTests/media/media-source/content/test-fragmented.mp4') in different browsers, returns a different length. For instance, opening this video in Google Chrome and inspecting `video.duration` using developer tools returns a length of 10 seconds. However, doing the same on Firefox returns a video length of 10.049 seconds (same length as WebKit). So I think the test should be changed and use a '>=' operator (instead of '==') to compare the video length. This is what other similar tests do, for instance: LayoutTests/media/encrypted-media/encrypted-media-append-clear-encrypted.html.
Diego Pino
Comment 2
2026-02-13 01:16:33 PST
Pull request:
https://github.com/WebKit/WebKit/pull/58606
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug