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

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

Issue 16794003: Include MSE duration testSetZero, nix early ending (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/media/media-source/webkitmediasource-duration-boundaryconditions-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/media/media-source/webkitmediasource-duration-boundaryconditions.html
diff --git a/LayoutTests/http/tests/media/media-source/webkitmediasource-duration-boundaryconditions.html b/LayoutTests/http/tests/media/media-source/webkitmediasource-duration-boundaryconditions.html
index 10b410560884231a9e46067b1a38ca8572ca6e0b..e0de595e15b653b5944da592d39bab3f2131bfeb 100644
--- a/LayoutTests/http/tests/media/media-source/webkitmediasource-duration-boundaryconditions.html
+++ b/LayoutTests/http/tests/media/media-source/webkitmediasource-duration-boundaryconditions.html
@@ -138,14 +138,12 @@
{
// Set duration to a positive double, expect no errors.
setDurationHelper(101.9, null, runNextTestCase, video);
- endTest();
}
function testSetZero(runNextTestCase, video)
{
- // Set duration to a positive double, expect no errors.
+ // Set duration to zero, expect no errors.
setDurationHelper(0, null, runNextTestCase, video);
- endTest();
}
function start()
@@ -181,14 +179,15 @@
testSetNegativeInfinity,
testSetLowestValue,
testSetNegativeDouble,
- testSetPositiveDouble
+ testSetPositiveDouble,
+ testSetZero
];
MediaSourceTest.startSourceOpenTesting(video, testCases);
});
}
</script>
</head>
-
+
<body onload="start()">
<video autoplay controls></video>
<p>Tests boundary values for duration attribute on MediaSource object.</p>
« no previous file with comments | « no previous file | LayoutTests/http/tests/media/media-source/webkitmediasource-duration-boundaryconditions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698