Chromium Code Reviews| Index: LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html |
| diff --git a/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html b/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html |
| index e78e0fece61767e608f826995bd696d2df636d80..2ba416461d4002f4e9e0dfcd8b4127389799c174 100644 |
| --- a/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html |
| +++ b/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html |
| @@ -53,10 +53,18 @@ |
| "set appendWindowStart throws an exception when equal to appendWindowEnd."); |
|
wolenetz
2014/07/26 00:07:15
I see in our tracking spreadsheet that "set append
prabhur1
2014/07/28 21:36:48
Done.
prabhur1
2014/07/28 21:36:49
ah..got it!
On 2014/07/26 00:07:15, wolenetz wrote
|
| assert_throws("InvalidAccessError", |
| + function() { sourceBuffer.appendWindowEnd = sourceBuffer.appendWindowStart - 1; }, |
| + "set appendWindowEnd throws an exception if less than appendWindowStart."); |
| + |
| + assert_throws("InvalidAccessError", |
| function() { sourceBuffer.appendWindowStart = -100.0; }, |
| "set appendWindowStart throws an exception when less than 0."); |
| assert_throws("InvalidAccessError", |
| + function() { sourceBuffer.appendWindowEnd = -100.0; }, |
| + "set appendWindowEnd throws an exception when less than 0."); |
| + |
| + assert_throws("InvalidAccessError", |
| function() { sourceBuffer.appendWindowEnd = Number.NaN; }, |
| "set appendWindowEnd throws an exception if NaN."); |