Bug 1368010 - Enable all webvtt related tests on Android (but skip API version 22) draft
authorAlastor Wu <alwu@mozilla.com>
Wed, 31 May 2017 10:41:13 +0800
changeset 586780 e6d8d9372d3b83d2901f3088691b6ad208509286
parent 583638 291a11111bdd05c5cd55dd552da4b1285ceba9b2
child 631094 fb60b61bcaf0e7052676febfef87df76268fdc67
push id61519
push useralwu@mozilla.com
push dateWed, 31 May 2017 02:41:28 +0000
bugs1368010
milestone55.0a1
Bug 1368010 - Enable all webvtt related tests on Android (but skip API version 22) I found that these webvtt related tests might fail on API 22 (Android 5.1). https://treeherder.mozilla.org/#/jobs?repo=try&revision=6787f64f55ee39113dd3b45efce74d6d446098d1&selectedJob=101892440 But they can success on other API versions. https://treeherder.mozilla.org/#/jobs?repo=try&revision=494f653446cc90d0ce1852667caa908a357e27c9&selectedJob=102246583 --- From my observation, it seems these mochitest might get fail easier on API 22 than other versions. Therefore, I would like to enable them on other API versions to increase test coverage, and then we could investigate what's the problem in API 22 later. MozReview-Commit-ID: CoGyxj8iazp
dom/media/test/mochitest.ini
--- a/dom/media/test/mochitest.ini
+++ b/dom/media/test/mochitest.ini
@@ -1066,71 +1066,71 @@ skip-if = android_version == '15' || and
 tags=msg
 [test_streams_srcObject.html]
 skip-if = toolkit == 'android' # bug 1300443, android(bug 1232305)
 tags=msg capturestream
 [test_streams_tracks.html]
 skip-if = toolkit == 'android' # android(bug 1232305)
 tags=msg capturestream
 [test_texttrack.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_texttrackcue.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_texttrackcue_moz.html]
-skip-if = toolkit == 'android' # bug 1294111, android(bug 1232305)
+skip-if = android_version == '22' # bug 1294111, android(bug 1368010)
 tags = webvtt
 [test_texttrackevents_video.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_texttracklist.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_texttracklist_moz.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_texttrackregion.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_texttrack_moz.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_timeupdate_small_files.html]
 skip-if = toolkit == 'android' # bug 1195570, android(bug 1232305)
 [test_trackelementevent.html]
-skip-if = toolkit == 'android' # bug 1294833, android(bug 1232305)
+skip-if = android_version == '22' # bug 1294833, android(bug 1368010)
 tags = webvtt
 [test_trackelementsrc.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_trackevent.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_unseekable.html]
 [test_video_to_canvas.html]
 skip-if = toolkit == 'android' # android(bug 1232305), bugs 1320418,1347953,1347954,1348140,1348386
 [test_video_in_audio_element.html]
 skip-if = android_version == '15' || android_version == '17' # bug 1320417, 1326326, android(bug 1232323, bug 1232305)
 [test_videoDocumentTitle.html]
 skip-if = toolkit == 'android' # android(bug 1232305)
 [test_VideoPlaybackQuality.html]
 skip-if = toolkit == 'android' # android(bug 1232305)
 [test_VideoPlaybackQuality_disabled.html]
 skip-if = android_version == '15' || android_version == '17' # android(bug 1232305)
 [test_volume.html]
 skip-if = toolkit == 'android' # android(bug 1232305)
 [test_vttparser.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_webvtt_empty_displaystate.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 [test_webvtt_positionalign.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
+skip-if = android_version == '22' # android(bug 1368010)
 tags = webvtt
 
 # The tests below contain backend-specific tests. Write backend independent
 # tests rather than adding to this list.
 [test_can_play_type_webm.html]
 skip-if = toolkit == 'android' # android(bug 1232305)
 [test_can_play_type_wave.html]
 skip-if = android_version == '15' || android_version == '17' # android(bug 1232305)