Bug 143706 - [GTK] Layout Test media/media-source/media-source-end-of-stream-readyState.html is failing
Summary: [GTK] Layout Test media/media-source/media-source-end-of-stream-readyState.ht...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 164022
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-14 03:42 PDT by Marcos Chavarría Teijeiro (irc: chavaone)
Modified: 2016-12-26 03:37 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Chavarría Teijeiro (irc: chavaone) 2015-04-14 03:42:32 PDT
The media/media-source/media-source-end-of-stream-readyState.html layout test is flaky on GTK+. It timeouts sometimes.
Comment 1 Michael Catanzaro 2016-10-16 18:39:17 PDT
It's no longer timing out since r205820 "Fix failing mediasource-play.html and mediasource-config-change-mp4-v-bitrate.html tests". Now it's simply failing instead:

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/media-source/media-source-end-of-stream-readyState-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/media-source/media-source-end-of-stream-readyState-actual.txt
@@ -4,10 +4,10 @@
 RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock"))
 RUN(sourceBuffer.appendBuffer(mediaSegment))
 EVENT(updateend)
-EXPECTED (source.duration.toFixed(3) == '10') OK
-EXPECTED (sourceBuffer.buffered.end(0).toFixed(3) == '5') OK
+EXPECTED (source.duration.toFixed(3) == '10'), OBSERVED 'NaN' FAIL
+IndexSizeError (DOM Exception 1): The index is not in the allowed range.
 RUN(source.endOfStream())
-EXPECTED (source.duration.toFixed(3) == '5') OK
+EXPECTED (source.duration.toFixed(3) == '5'), OBSERVED '0.000' FAIL
 EXPECTED (sourceBuffer.updating == 'false') OK
 END OF TEST

Updating expectations accordingly.
Comment 2 Enrique Ocaña 2016-12-26 03:37:17 PST
Fixed by #164022 on http://svn.webkit.org/repository/webkit/trunk@209797