Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: LayoutTests/http/tests/media/media-source/webkitmediasource-objects.html

Issue 178763006: Enable round-tripping and updating of SourceBuffer timestamp offset (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rework to depend on Chromium side landing first and pass double* timestampOffset (no bool) Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/media/media-source/webkitmediasource-objects.html
diff --git a/LayoutTests/http/tests/media/media-source/webkitmediasource-objects.html b/LayoutTests/http/tests/media/media-source/webkitmediasource-objects.html
index 573999429b854475ef48467f92f4b40fabcd8657..409723dfede07ec9c65be5713ac895f4bfc6fd6d 100644
--- a/LayoutTests/http/tests/media/media-source/webkitmediasource-objects.html
+++ b/LayoutTests/http/tests/media/media-source/webkitmediasource-objects.html
@@ -61,6 +61,13 @@
testExpected("mediaSource.sourceBuffers[0].buffered.start(1)", 5);
testExpected("mediaSource.sourceBuffers[0].buffered.end(1)", 5, '>');
+ // Confirm that sub-microsecond granularity timestamps round-trip set/get.
+ consoleWrite("");
+ consoleWrite("Round-trip a precise timestampOffset");
+ testExpected("segmentHelper.sourceBuffer.timestampOffset", 5);
+ run("segmentHelper.sourceBuffer.timestampOffset = 5.123456789");
+ testExpected("segmentHelper.sourceBuffer.timestampOffset", 5.123456789);
+
consoleWrite("");
consoleWrite("Remove SourceBuffer");

Powered by Google App Engine
This is Rietveld 408576698