Bug 242212
| Summary: | REGRESSION(251564@main-251572@main?): [ Mac wk2 ] media/media-source/media-webm-vorbis-partial.html is a constant failure | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Hercules Hjalmarsson <hhjalmarsson> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | jean-yves.avenard, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Hercules Hjalmarsson
media/media-source/media-webm-vorbis-partial.html
Is a constant text failure on Monterey WK2.
HISTORY:
https://results.webkit.org/?suite=layout-tests&test=media%2Fmedia-source%2Fmedia-webm-vorbis-partial.html
DIFF:
--- /Volumes/Data/worker/Apple-Monterey-Release-AppleSilicon-WK2-Tests/build/layout-test-results/media/media-source/media-webm-vorbis-partial-expected.txt
+++ /Volumes/Data/worker/Apple-Monterey-Release-AppleSilicon-WK2-Tests/build/layout-test-results/media/media-source/media-webm-vorbis-partial-actual.txt
@@ -2,21 +2,9 @@
RUN(video.src = URL.createObjectURL(source))
EVENT(sourceopen)
RUN(sourceBuffer = source.addSourceBuffer(loader.type()))
+NotSupportedError: The operation is not supported.
RUN(sourceBuffer.appendBuffer(loader.initSegment()))
-EVENT(update)
-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
+TypeError: undefined is not an object (evaluating 'sourceBuffer.appendBuffer')
+Caught exception: "TypeError: undefined is not an object (evaluating 'element.addEventListener')" FAIL
END OF TEST
DIFF URL:
https://build.webkit.org/results/Apple-Monterey-Release-AppleSilicon-WK2-Tests/251572@main%20(3774)/media/media-source/media-webm-vorbis-partial-diff.txt
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/96251821>
Hercules Hjalmarsson
I was able to reproduce this issue at Monterey production ToT by running:
run-webkit-tests media/media-source/media-webm-vorbis-partial.html
I was not able to narrow down the regression to a specific build due to not having sufficient builds available to test on within the regression range. However, I was able to narrow down possible commits that may have caused the issue to three separate commits:
https://commits.webkit.org/251565@main
https://commits.webkit.org/251570@main
https://commits.webkit.org/251568@main
Hercules Hjalmarsson
Pull request: https://github.com/WebKit/WebKit/pull/1973
EWS
Test gardening commit 252023@main (22240adcfea4): <https://commits.webkit.org/252023@main>
Reviewed commits have been landed. Closing PR #1973 and removing active labels.
EWS
Test gardening commit 254632@main (9b8b03c3754c): <https://commits.webkit.org/254632@main>
Reviewed commits have been landed. Closing PR #4487 and removing active labels.