Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / media / track / vtt-cue-exceptions-expected.txt
1 Verify that VTTCue exceptions are properly messaged to developers.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS cue.line = -1; threw exception IndexSizeError: Failed to set the 'line' property on 'VTTCue': The snap-to-lines flag is not set, and the value provided (-1) is not between 0 and 100..
7 PASS cue.line = 101; threw exception IndexSizeError: Failed to set the 'line' property on 'VTTCue': The snap-to-lines flag is not set, and the value provided (101) is not between 0 and 100..
8 PASS cue.position = -1; threw exception IndexSizeError: Failed to set the 'position' property on 'VTTCue': The value provided (-1) is outside the range [0, 100]..
9 PASS cue.position = 101; threw exception IndexSizeError: Failed to set the 'position' property on 'VTTCue': The value provided (101) is outside the range [0, 100]..
10 PASS cue.size = -1; threw exception IndexSizeError: Failed to set the 'size' property on 'VTTCue': The value provided (-1) is outside the range [0, 100]..
11 PASS cue.size = 101; threw exception IndexSizeError: Failed to set the 'size' property on 'VTTCue': The value provided (101) is outside the range [0, 100]..
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15