Title: [291319] trunk/LayoutTests
Revision
291319
Author
j...@apple.com
Date
2022-03-15 15:22:25 -0700 (Tue, 15 Mar 2022)

Log Message

REGRESSION(r287249): [ Monterey wk2 ] media/media-source/media-webm-vorbis-partial.html is a constant text failure
https://bugs.webkit.org/show_bug.cgi?id=236656
rdar://88978504

Reviewed by Eric Carlson.

Update test expectations, they didn't get committed after the test got
modified in bug 236211

* media/media-source/media-webm-vorbis-partial-expected.txt:
* platform/mac-wk1/TestExpectations:
* platform/mac-wk2/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (291318 => 291319)


--- trunk/LayoutTests/ChangeLog	2022-03-15 22:09:23 UTC (rev 291318)
+++ trunk/LayoutTests/ChangeLog	2022-03-15 22:22:25 UTC (rev 291319)
@@ -1,3 +1,18 @@
+2022-03-15  Jean-Yves Avenard  <j...@apple.com>
+
+        REGRESSION(r287249): [ Monterey wk2 ] media/media-source/media-webm-vorbis-partial.html is a constant text failure
+        https://bugs.webkit.org/show_bug.cgi?id=236656
+        rdar://88978504
+
+        Reviewed by Eric Carlson.
+
+        Update test expectations, they didn't get committed after the test got
+        modified in bug 236211
+
+        * media/media-source/media-webm-vorbis-partial-expected.txt:
+        * platform/mac-wk1/TestExpectations:
+        * platform/mac-wk2/TestExpectations:
+
 2022-03-15  Patrick Griffis  <pgrif...@igalia.com>
 
         Add initial implementation of Fetch Metadata

Modified: trunk/LayoutTests/media/media-source/media-webm-vorbis-partial-expected.txt (291318 => 291319)


--- trunk/LayoutTests/media/media-source/media-webm-vorbis-partial-expected.txt	2022-03-15 22:09:23 UTC (rev 291318)
+++ trunk/LayoutTests/media/media-source/media-webm-vorbis-partial-expected.txt	2022-03-15 22:22:25 UTC (rev 291319)
@@ -1,13 +1,22 @@
 
 RUN(video.src = ""
 EVENT(sourceopen)
-RUN(source.duration = loader.duration())
 RUN(sourceBuffer = source.addSourceBuffer(loader.type()))
 RUN(sourceBuffer.appendBuffer(loader.initSegment()))
 EVENT(update)
-Append a media segment.
-RUN(sourceBuffer.appendBuffer(loader.mediaSegment(0)))
+Divide the first media segment in two.
+RUN(partial1 = loader.mediaSegment(0).slice(0, loader.mediaSegment(0).byteLength / 2))
+RUN(partial2 = loader.mediaSegment(0).slice(loader.mediaSegment(0).byteLength / 2))
+Append a partial media segment.
+RUN(sourceBuffer.appendBuffer(partial1))
 EVENT(update)
+EXPECTED (sourceBuffer.buffered.length == '1') OK
+EXPECTED (sourceBuffer.buffered.end(0).toFixed(2) == '0.64') OK
+Complete the partial media segment.
+RUN(sourceBuffer.appendBuffer(partial2))
+EVENT(update)
+EXPECTED (sourceBuffer.buffered.length == '1') OK
+EXPECTED (sourceBuffer.buffered.end(0).toFixed(2) == '1.34') OK
 EXPECTED (sourceBuffer.buffered.end(0) == source.duration == 'true') OK
 END OF TEST
 

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (291318 => 291319)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2022-03-15 22:09:23 UTC (rev 291318)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2022-03-15 22:22:25 UTC (rev 291319)
@@ -1574,9 +1574,6 @@
 # rdar://80346975
 [ Debug ] media/track/track-in-band-cues-added-once.html [ Pass Failure Crash ]
 
-# rdar://80346516
-media/media-source/media-webm-vorbis-partial.html [ Skip ]
-
 # rdar://80343074 ([ Mac wk1 ] http/tests/websocket/tests/hybi/client-close-2.html [ Failure ])
 http/tests/websocket/tests/hybi/client-close-2.html [ Pass Failure ]
 

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (291318 => 291319)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2022-03-15 22:09:23 UTC (rev 291318)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2022-03-15 22:22:25 UTC (rev 291319)
@@ -1131,8 +1131,6 @@
 
 webkit.org/b/214683 [ Debug ] imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-implicit.html [ Pass Failure ]
 
-webkit.org/b/236656 [ Monterey ] media/media-source/media-webm-vorbis-partial.html [ Failure ]
-
 webkit.org/b/214824 [ Debug ] js/throw-large-string-oom.html [ Skip ]
 
 webkit.org/b/215245 [ Release ] imported/w3c/web-platform-tests/content-security-policy/worker-src/service-worker-src-child-fallback.https.sub.html [ Pass Failure ]
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to