[Webkit-unassigned] [Bug 254207] New: media/media-source/media-source-remove-readystate is a failure on GTK/WPE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 21 04:32:58 PDT 2023


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

            Bug ID: 254207
           Summary: media/media-source/media-source-remove-readystate is a
                    failure on GTK/WPE
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jean-yves.avenard at apple.com
                CC: aboya at igalia.com

Created attachment 465538

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

TestCase

Test added in bug 254198 is a constant failure and I can't make much sense of it seeing that readyState calculations should occur in platform agnostic code.

The test calls `SourceBuffer.appendBuffer()` until there's over 10s of data added to the buffered range. Yet readyState stays at 1 (HAVE_METADATA)

```
--- /home/ews/worker/GTK-WK2-Tests-EWS/build/layout-test-results/media/media-source/media-source-remove-readystate-expected.txt
+++ /home/ews/worker/GTK-WK2-Tests-EWS/build/layout-test-results/media/media-source/media-source-remove-readystate-actual.txt
@@ -6,7 +6,7 @@
 RUN(sourceBuffer.appendBuffer(loader.initSegment()))
 EVENT(update)
 Appending 10s Data
-EXPECTED (video.readyState > '1') OK
+EXPECTED (video.readyState > '1'), OBSERVED '1' FAIL
 RUN(video.currentTime = 2.5)
 EVENT(seeked)
 RUN(source.endOfStream())
@@ -15,6 +15,6 @@
 RUN(sourceBuffer.remove(video.currentTime, video.currentTime + 5))
 EVENT(waiting)
 EVENT(update)
-EXPECTED (video.readyState == '1') OK
+EXPECTED (video.readyState == '1'), OBSERVED '2' FAIL
 END OF TEST
 ```

-- 
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/20230321/d90d908a/attachment.htm>


More information about the webkit-unassigned mailing list