Changeset 220912 in webkit
- Timestamp:
- Aug 18, 2017 2:24:35 AM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r220911 r220912 1 2017-08-18 Ms2ger <Ms2ger@igalia.com> 2 3 Update track-datacue.html test to the current code. 4 https://bugs.webkit.org/show_bug.cgi?id=175624 5 6 Reviewed by Eric Carlson. 7 8 * media/track/track-datacue-expected.txt: rebaselined. 9 * media/track/track-datacue.html: updated for IDL, exception changes, addition of a new constructor. 10 * platform/gtk/TestExpectations: removed failure expectation. 11 * platform/ios/TestExpectations: enable. 12 * platform/mac/TestExpectations: enable. 13 * platform/win/TestExpectations: enable. 14 1 15 2017-08-18 Ms2ger <Ms2ger@gmail.com> 2 16 -
trunk/LayoutTests/media/track/track-datacue-expected.txt
r177190 r220912 3 3 4 4 *** Test DataCue's TextTrackCue interface. 5 EXPECTED (cue instanceof ' [object TextTrackCueConstructor]') OK5 EXPECTED (cue instanceof 'function TextTrackCue() { [native code] }') OK 6 6 EXPECTED (cue.track == 'null') OK 7 7 EXPECTED (cue.id == '') OK … … 11 11 12 12 *** Test DataCue interface. 13 EXPECTED (cue instanceof ' [object DataCueConstructor]') OK13 EXPECTED (cue instanceof 'function DataCue() { [native code] }') OK 14 14 EXPECTED (new Uint8Array(cue.data).length == '5') OK 15 15 EXPECTED (new Uint8Array(cue.data)[0] == '4') OK … … 30 30 31 31 *** Throw exception if data is not an ArrayBuffer. 32 TEST(cue.data = null) THROWS('TypeError: Type error') OK 33 TEST(cue.data = 'test') THROWS('TypeError: Type error') OK 34 TEST(cue.data = [5]) THROWS('TypeError: Type error') OK 35 TEST(badCue = new DataCue(1, 2, null)) THROWS('TypeError: Type error') OK 36 TEST(badCue = new DataCue(1, 2, 'test')) THROWS('TypeError: Type error') OK 37 TEST(badCue = new DataCue(1, 2, [5])) THROWS('TypeError: Type error') OK 32 TEST(cue.data = null) THROWS('TypeError: The DataCue.data attribute must be an instance of ArrayBuffer') OK 33 TEST(cue.data = 'test') THROWS('TypeError: The DataCue.data attribute must be an instance of ArrayBuffer') OK 34 TEST(cue.data = [5]) THROWS('TypeError: The DataCue.data attribute must be an instance of ArrayBuffer') OK 35 36 *** Constructor with value argument. 37 EXPECTED (new DataCue(1, 2, null).value === 'null') OK 38 EXPECTED (new DataCue(1, 2, 'test').value === 'test') OK 39 EXPECTED (new DataCue(1, 2, [5]).value.length == '1') OK 40 EXPECTED (new DataCue(1, 2, [5]).value[0] == '5') OK 38 41 39 42 *** Test adding DataCue to track with kind = 'metadata'. -
trunk/LayoutTests/media/track/track-datacue.html
r177190 r220912 42 42 43 43 consoleWrite("<br>*** Throw exception if data is not an ArrayBuffer."); 44 var error = "'TypeError: T ype error'";44 var error = "'TypeError: The DataCue.data attribute must be an instance of ArrayBuffer'"; 45 45 testException("cue.data = null", error); 46 46 testException("cue.data = 'test'", error); 47 47 testException("cue.data = [5]", error); 48 testException("badCue = new DataCue(1, 2, null)", error); 49 testException("badCue = new DataCue(1, 2, 'test')", error); 50 testException("badCue = new DataCue(1, 2, [5])", error); 48 49 consoleWrite("<br>*** Constructor with value argument."); 50 testExpected("new DataCue(1, 2, null).value", null, "==="); 51 testExpected("new DataCue(1, 2, 'test').value", 'test', "==="); 52 testArraysEqual("new DataCue(1, 2, [5]).value", [5]); 51 53 52 54 consoleWrite("<br>*** Test adding DataCue to track with kind = 'metadata'."); -
trunk/LayoutTests/platform/gtk/TestExpectations
r220911 r220912 3246 3246 webkit.org/b/168373 media/video-background-playback.html [ Failure Timeout ] 3247 3247 webkit.org/b/168373 media/video-concurrent-playback.html [ Failure Timeout ] 3248 webkit.org/b/132055 media/track/track-datacue.html [ Failure ]3249 3248 3250 3249 # [GTK] Some reftest fail with only one or two pixel differences in diff image -
trunk/LayoutTests/platform/ios/TestExpectations
r220782 r220912 159 159 platform/ios/ios/fast/text/data-detectors/phone.html [ Skip ] 160 160 platform/ios/ios/touch [ Skip ] 161 162 # WebKitDataCue is supported, not DataCue163 media/track/track-datacue.html164 161 165 162 # Codecs not supported -
trunk/LayoutTests/platform/mac/TestExpectations
r220892 r220912 800 800 ## --- Start unimplemented media tests --- 801 801 webkit.org/b/91611 media/media-higher-prio-audio-stream.html [ Skip ] 802 803 # WebKitDataCue is supported, not DataCue804 media/track/track-datacue.html [ Skip ]805 802 806 803 webkit.org/b/158836 imported/w3c/web-platform-tests/encrypted-media [ Skip ] -
trunk/LayoutTests/platform/win/TestExpectations
r220782 r220912 1050 1050 media/track/track-cues-seeking.html [ Skip ] # Timeout 1051 1051 media/track/track-cues-sorted-before-dispatch.html [ Skip ] # Timeout 1052 media/track/track-datacue.html [ Skip ] # Timeout1053 1052 media/track/track-forced-subtitles-in-band.html [ Skip ] # Timeout 1054 1053 media/track/track-in-band-style.html [ Skip ] # Timeout
Note: See TracChangeset
for help on using the changeset viewer.