Bug 1509446 - part5 : enable wpt test 'track-cues-enter-exit.html'. r=jya
authorAlastor Wu <alwu@mozilla.com>
Thu, 07 Mar 2019 19:24:20 +0000
changeset 520966 057318480b0e
parent 520965 ad7bfe5bbc3a
child 520967 a0d8bc1dab63
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1509446
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1509446 - part5 : enable wpt test 'track-cues-enter-exit.html'. r=jya Fix the missing parameter in `cueEntered()` and enable this wpt. Differential Revision: https://phabricator.services.mozilla.com/D22151
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/track-cues-enter-exit.html.ini
testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/track-cues-enter-exit.html
deleted file mode 100644
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/track-cues-enter-exit.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[track-cues-enter-exit.html]
-  [TextTrack's cues are indexed and updated in order during video playback]
-    expected: FAIL
-
--- a/testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/track-cues-enter-exit.html
+++ b/testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/track-cues-enter-exit.html
@@ -20,17 +20,17 @@
             for (var i = 0; i < testTrack.track.cues.length; i++) {
                 testTrack.track.cues[i].onenter = t.step_func(cueEntered);
                 testTrack.track.cues[i].onexit = t.step_func(cueExited);
             }
             video.play();
         }
 
         var cueCount = 0;
-        function cueEntered() {
+        function cueEntered(event) {
             var currentCue = event.target;
 
             // This cue is the currently active cue.
             assert_equals(currentCue, testTrack.track.activeCues[0]);
             assert_equals(currentCue.id, (cueCount + 1).toString());
         }
 
         function cueExited() {