OLD | NEW |
1 Tests boundary values for duration attribute on MediaSource object. | 1 Tests boundary values for duration attribute on MediaSource object. |
2 | 2 |
3 | 3 |
4 running testSetMaxInt | 4 running testSetMaxInt |
5 EVENT(webkitsourceopen) | 5 EVENT(webkitsourceopen) |
6 onDurationChange : video.duration is 6.042 | 6 onDurationChange : video.duration is 6.042 |
7 EXPECTED (mediaSource.duration == 'video.duration') OK | 7 EXPECTED (mediaSource.duration == 'video.duration') OK |
8 EVENT(loadedmetadata) | 8 EVENT(loadedmetadata) |
9 EXPECTED (mediaSource.duration == 'testDurationValue') OK | 9 EXPECTED (mediaSource.duration == 'testDurationValue') OK |
10 onDurationChange : video.duration is 2147483647.000 | 10 onDurationChange : video.duration is 2147483647.000 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 EXPECTED (mediaSource.duration == 'testDurationValue') OK | 49 EXPECTED (mediaSource.duration == 'testDurationValue') OK |
50 onDurationChange : video.duration is 0.000 | 50 onDurationChange : video.duration is 0.000 |
51 EXPECTED (mediaSource.duration == 'video.duration') OK | 51 EXPECTED (mediaSource.duration == 'video.duration') OK |
52 EVENT(durationchange) | 52 EVENT(durationchange) |
53 | 53 |
54 running testSetMinValueMinusOne | 54 running testSetMinValueMinusOne |
55 EVENT(webkitsourceopen) | 55 EVENT(webkitsourceopen) |
56 onDurationChange : video.duration is 6.042 | 56 onDurationChange : video.duration is 6.042 |
57 EXPECTED (mediaSource.duration == 'video.duration') OK | 57 EXPECTED (mediaSource.duration == 'video.duration') OK |
58 EVENT(loadedmetadata) | 58 EVENT(loadedmetadata) |
59 PASS: Media Source set duration. Got expected exception Error: InvalidAccessErro
r: DOM Exception 15 | 59 PASS: Media Source set duration. Got expected exception InvalidAccessError: A pa
rameter or an operation was not supported by the underlying object. |
60 | 60 |
61 running testSetPositiveInfinity | 61 running testSetPositiveInfinity |
62 EVENT(webkitsourceopen) | 62 EVENT(webkitsourceopen) |
63 onDurationChange : video.duration is 6.042 | 63 onDurationChange : video.duration is 6.042 |
64 EXPECTED (mediaSource.duration == 'video.duration') OK | 64 EXPECTED (mediaSource.duration == 'video.duration') OK |
65 EVENT(loadedmetadata) | 65 EVENT(loadedmetadata) |
66 EXPECTED (mediaSource.duration == 'testDurationValue') OK | 66 EXPECTED (mediaSource.duration == 'testDurationValue') OK |
67 onDurationChange : video.duration is Infinity | 67 onDurationChange : video.duration is Infinity |
68 EXPECTED (mediaSource.duration == 'video.duration') OK | 68 EXPECTED (mediaSource.duration == 'video.duration') OK |
69 EVENT(durationchange) | 69 EVENT(durationchange) |
70 | 70 |
71 running testSetNegativeInfinity | 71 running testSetNegativeInfinity |
72 EVENT(webkitsourceopen) | 72 EVENT(webkitsourceopen) |
73 onDurationChange : video.duration is 6.042 | 73 onDurationChange : video.duration is 6.042 |
74 EXPECTED (mediaSource.duration == 'video.duration') OK | 74 EXPECTED (mediaSource.duration == 'video.duration') OK |
75 EVENT(loadedmetadata) | 75 EVENT(loadedmetadata) |
76 PASS: Media Source set duration. Got expected exception Error: InvalidAccessErro
r: DOM Exception 15 | 76 PASS: Media Source set duration. Got expected exception InvalidAccessError: A pa
rameter or an operation was not supported by the underlying object. |
77 | 77 |
78 running testSetLowestValue | 78 running testSetLowestValue |
79 EVENT(webkitsourceopen) | 79 EVENT(webkitsourceopen) |
80 onDurationChange : video.duration is 6.042 | 80 onDurationChange : video.duration is 6.042 |
81 EXPECTED (mediaSource.duration == 'video.duration') OK | 81 EXPECTED (mediaSource.duration == 'video.duration') OK |
82 EVENT(loadedmetadata) | 82 EVENT(loadedmetadata) |
83 PASS: Media Source set duration. Got expected exception Error: InvalidAccessErro
r: DOM Exception 15 | 83 PASS: Media Source set duration. Got expected exception InvalidAccessError: A pa
rameter or an operation was not supported by the underlying object. |
84 | 84 |
85 running testSetNegativeDouble | 85 running testSetNegativeDouble |
86 EVENT(webkitsourceopen) | 86 EVENT(webkitsourceopen) |
87 onDurationChange : video.duration is 6.042 | 87 onDurationChange : video.duration is 6.042 |
88 EXPECTED (mediaSource.duration == 'video.duration') OK | 88 EXPECTED (mediaSource.duration == 'video.duration') OK |
89 EVENT(loadedmetadata) | 89 EVENT(loadedmetadata) |
90 PASS: Media Source set duration. Got expected exception Error: InvalidAccessErro
r: DOM Exception 15 | 90 PASS: Media Source set duration. Got expected exception InvalidAccessError: A pa
rameter or an operation was not supported by the underlying object. |
91 | 91 |
92 running testSetPositiveDouble | 92 running testSetPositiveDouble |
93 EVENT(webkitsourceopen) | 93 EVENT(webkitsourceopen) |
94 onDurationChange : video.duration is 6.042 | 94 onDurationChange : video.duration is 6.042 |
95 EXPECTED (mediaSource.duration == 'video.duration') OK | 95 EXPECTED (mediaSource.duration == 'video.duration') OK |
96 EVENT(loadedmetadata) | 96 EVENT(loadedmetadata) |
97 EXPECTED (mediaSource.duration == 'testDurationValue') OK | 97 EXPECTED (mediaSource.duration == 'testDurationValue') OK |
98 onDurationChange : video.duration is 101.900 | 98 onDurationChange : video.duration is 101.900 |
99 EXPECTED (mediaSource.duration == 'video.duration') OK | 99 EXPECTED (mediaSource.duration == 'video.duration') OK |
100 EVENT(durationchange) | 100 EVENT(durationchange) |
101 | 101 |
102 running testSetZero | 102 running testSetZero |
103 EVENT(webkitsourceopen) | 103 EVENT(webkitsourceopen) |
104 onDurationChange : video.duration is 6.042 | 104 onDurationChange : video.duration is 6.042 |
105 EXPECTED (mediaSource.duration == 'video.duration') OK | 105 EXPECTED (mediaSource.duration == 'video.duration') OK |
106 EVENT(loadedmetadata) | 106 EVENT(loadedmetadata) |
107 EXPECTED (mediaSource.duration == 'testDurationValue') OK | 107 EXPECTED (mediaSource.duration == 'testDurationValue') OK |
108 onDurationChange : video.duration is 0.000 | 108 onDurationChange : video.duration is 0.000 |
109 EXPECTED (mediaSource.duration == 'video.duration') OK | 109 EXPECTED (mediaSource.duration == 'video.duration') OK |
110 EVENT(durationchange) | 110 EVENT(durationchange) |
111 END OF TEST | 111 END OF TEST |
112 | 112 |
OLD | NEW |