Upstream version 6.35.121.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / media / media-source / webkitmediasource-duration-changed-expected.txt
1 CONSOLE WARNING: 'WebKitMediaSource' is deprecated. Please use 'MediaSource' instead.
2 Tests duration attribute on MediaSource object
3
4 Test setting the duration when closed.
5 Got expected exception InvalidStateError: Failed to set the 'duration' property on 'WebKitMediaSource': The MediaSource's readyState is not 'open'.
6 Test getting the duration when closed.
7
8 running testExpectExceptionOnNegativeDuration
9 EVENT(webkitsourceopen)
10 Got expected exception InvalidAccessError: Failed to set the 'duration' property on 'WebKitMediaSource': The duration provided (-1) is less than the minimum bound (0).
11
12 running testExpectExceptionOnNaNDuration
13 EVENT(webkitsourceopen)
14 Got expected exception InvalidAccessError: Failed to set the 'duration' property on 'WebKitMediaSource': The duration is not a number.
15
16 running testDurationChange
17 EVENT(webkitsourceopen)
18 EVENT(loadedmetadata)
19 EVENT(durationchange)
20
21 running testDurationChangeThenOverwriteDuration
22 EVENT(webkitsourceopen)
23 EVENT(loadedmetadata)
24 EVENT(durationchange)
25 EVENT(durationchange)
26
27 running testDurationChangeTruncates
28 EVENT(webkitsourceopen)
29 EVENT(loadedmetadata)
30 EVENT(durationchange)
31 END OF TEST
32