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> |