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

Unified Diff: LayoutTests/http/tests/media/media-source/mediasource-seekable.html

Issue 733453002: Sync the documentation of seekable() with the MediaSource specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: one more assert Created 6 years, 1 month 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
« no previous file with comments | « no previous file | Source/modules/mediasource/MediaSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/media/media-source/mediasource-seekable.html
diff --git a/LayoutTests/http/tests/media/media-source/mediasource-seekable.html b/LayoutTests/http/tests/media/media-source/mediasource-seekable.html
index 49646f9c2fb51b95cc9ad2ab0186d506e29128a5..45d2b9aa89af980dad42f1cac2b86d6609ae6840 100644
--- a/LayoutTests/http/tests/media/media-source/mediasource-seekable.html
+++ b/LayoutTests/http/tests/media/media-source/mediasource-seekable.html
@@ -56,9 +56,10 @@
{
assert_equals(mediaElement.seekable.length, 1, 'mediaElement.seekable.length');
assert_equals(mediaElement.buffered.length, 1, 'mediaElement.buffered.length');
+ assert_not_equals(mediaElement.seekable.start(0), mediaElement.buffered.start(0));
assert_equals(mediaElement.seekable.start(0), 0);
assert_not_equals(mediaElement.seekable.end(0), mediaElement.duration);
- assert_not_equals(0, mediaElement.buffered.start(0));
+ assert_not_equals(mediaElement.seekable.end(0), mediaElement.buffered.start(0));
assert_equals(mediaElement.seekable.end(0), mediaElement.buffered.end(0));
test.done();
});
« no previous file with comments | « no previous file | Source/modules/mediasource/MediaSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698