Title: [131846] trunk/LayoutTests
- Revision
- 131846
- Author
- [email protected]
- Date
- 2012-10-18 20:03:20 -0700 (Thu, 18 Oct 2012)
Log Message
Incorrect check performed in Media Source objects test.
https://bugs.webkit.org/show_bug.cgi?id=99390
Patch by Anand Chakravarty <[email protected]> on 2012-10-18
Reviewed by Eric Carlson.
Use an expected value of 5 in the buffered attribute.
* http/tests/media/media-source/video-media-source-objects-expected.txt:
* http/tests/media/media-source/video-media-source-objects.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (131845 => 131846)
--- trunk/LayoutTests/ChangeLog 2012-10-19 03:00:22 UTC (rev 131845)
+++ trunk/LayoutTests/ChangeLog 2012-10-19 03:03:20 UTC (rev 131846)
@@ -1,5 +1,17 @@
2012-10-18 Anand Chakravarty <[email protected]>
+ Incorrect check performed in Media Source objects test.
+ https://bugs.webkit.org/show_bug.cgi?id=99390
+
+ Reviewed by Eric Carlson.
+
+ Use an expected value of 5 in the buffered attribute.
+
+ * http/tests/media/media-source/video-media-source-objects-expected.txt:
+ * http/tests/media/media-source/video-media-source-objects.html:
+
+2012-10-18 Anand Chakravarty <[email protected]>
+
Use of uninitialized variable in Media Source API test.
https://bugs.webkit.org/show_bug.cgi?id=99387
Modified: trunk/LayoutTests/http/tests/media/media-source/video-media-source-objects-expected.txt (131845 => 131846)
--- trunk/LayoutTests/http/tests/media/media-source/video-media-source-objects-expected.txt 2012-10-19 03:00:22 UTC (rev 131845)
+++ trunk/LayoutTests/http/tests/media/media-source/video-media-source-objects-expected.txt 2012-10-19 03:03:20 UTC (rev 131846)
@@ -34,7 +34,7 @@
Append 1 second of data.
EXPECTED (mediaSource.sourceBuffers[0].buffered.length == '2') OK
EXPECTED (mediaSource.sourceBuffers[0].buffered.start(1) == '5') OK
-EXPECTED (mediaSource.sourceBuffers[0].buffered.end(1) > '1') OK
+EXPECTED (mediaSource.sourceBuffers[0].buffered.end(1) > '5') OK
Remove SourceBuffer
RUN(mediaSource.removeSourceBuffer(segmentHelper.sourceBuffer))
Modified: trunk/LayoutTests/http/tests/media/media-source/video-media-source-objects.html (131845 => 131846)
--- trunk/LayoutTests/http/tests/media/media-source/video-media-source-objects.html 2012-10-19 03:00:22 UTC (rev 131845)
+++ trunk/LayoutTests/http/tests/media/media-source/video-media-source-objects.html 2012-10-19 03:03:20 UTC (rev 131846)
@@ -59,7 +59,7 @@
segmentHelper.appendMediaSegment(i);
testExpected("mediaSource.sourceBuffers[0].buffered.length", 2);
testExpected("mediaSource.sourceBuffers[0].buffered.start(1)", 5);
- testExpected("mediaSource.sourceBuffers[0].buffered.end(1)", 1, '>');
+ testExpected("mediaSource.sourceBuffers[0].buffered.end(1)", 5, '>');
consoleWrite("");
consoleWrite("Remove SourceBuffer");
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes