[Webkit-unassigned] [Bug 163523] New: [GTK] Layout test media/track/track-manual-mode.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 16 19:48:46 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=163523

            Bug ID: 163523
           Summary: [GTK] Layout test media/track/track-manual-mode.html
                    is failing
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: bugs-noreply at webkitgtk.org, eric.carlson at apple.com

Layout test media/track/track-manual-mode.html has been failing since it was added in r196010 "Allow ports to disable automatic text track selection". Updating expectations accordingly.

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/track/track-manual-mode-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/track/track-manual-mode-actual.txt
@@ -7,59 +7,56 @@
 EVENT(canplaythrough)

 ** Forced tracks should be in .textTracks as well as in the menu
-EXPECTED (video.textTracks.length == '9') OK
-EXPECTED (trackMenuItems.length == '11') OK
+EXPECTED (video.textTracks.length == '9'), OBSERVED '6' FAIL
+EXPECTED (trackMenuItems.length == '11'), OBSERVED '8' FAIL

 ** 'forced' should be in the title of a forced track menu item
 Track menu:
-0: "Off", checked
-1: "Auto (Recommended)"
-2: "English Closed Captions CC"
-3: "English Subtitles"
-4: "English Subtitles Forced"
-5: "French Subtitles"
-6: "French Subtitles Forced"
-7: "German Subtitles"
-8: "German Subtitles Forced"
-9: "Spanish Subtitles"
-10: "Spanish Subtitles Forced"
+0: "Off"
+1: "Auto"
+2: "No label"
+3: "No label"
+4: "No label"
+5: "No label"
+6: "No label"
+7: "en"

 ** No track should be enabled by default
 EXPECTED (video.textTracks[0].language == 'en') OK
 EXPECTED (video.textTracks[0].kind == 'subtitles') OK
 EXPECTED (video.textTracks[0].mode == 'disabled') OK

-EXPECTED (video.textTracks[1].language == 'en') OK
-EXPECTED (video.textTracks[1].kind == 'forced') OK
+EXPECTED (video.textTracks[1].language == 'en'), OBSERVED '' FAIL
+EXPECTED (video.textTracks[1].kind == 'forced'), OBSERVED 'subtitles' FAIL
 EXPECTED (video.textTracks[1].mode == 'disabled') OK

-EXPECTED (video.textTracks[2].language == 'fr') OK
+EXPECTED (video.textTracks[2].language == 'fr'), OBSERVED '' FAIL
 EXPECTED (video.textTracks[2].kind == 'subtitles') OK
 EXPECTED (video.textTracks[2].mode == 'disabled') OK

-EXPECTED (video.textTracks[3].language == 'fr') OK
-EXPECTED (video.textTracks[3].kind == 'forced') OK
+EXPECTED (video.textTracks[3].language == 'fr'), OBSERVED '' FAIL
+EXPECTED (video.textTracks[3].kind == 'forced'), OBSERVED 'subtitles' FAIL
 EXPECTED (video.textTracks[3].mode == 'disabled') OK

-EXPECTED (video.textTracks[4].language == 'es') OK
+EXPECTED (video.textTracks[4].language == 'es'), OBSERVED '' FAIL
 EXPECTED (video.textTracks[4].kind == 'subtitles') OK
 EXPECTED (video.textTracks[4].mode == 'disabled') OK

-EXPECTED (video.textTracks[5].language == 'es') OK
-EXPECTED (video.textTracks[5].kind == 'forced') OK
+EXPECTED (video.textTracks[5].language == 'es'), OBSERVED '' FAIL
+EXPECTED (video.textTracks[5].kind == 'forced'), OBSERVED 'subtitles' FAIL
 EXPECTED (video.textTracks[5].mode == 'disabled') OK

-EXPECTED (video.textTracks[6].language == 'de') OK
-EXPECTED (video.textTracks[6].kind == 'subtitles') OK
-EXPECTED (video.textTracks[6].mode == 'disabled') OK
+TypeError: undefined is not an object (evaluating 'video.textTracks[6].language')
+TypeError: undefined is not an object (evaluating 'video.textTracks[6].kind')
+TypeError: undefined is not an object (evaluating 'video.textTracks[6].mode')

-EXPECTED (video.textTracks[7].language == 'de') OK
-EXPECTED (video.textTracks[7].kind == 'forced') OK
-EXPECTED (video.textTracks[7].mode == 'disabled') OK
+TypeError: undefined is not an object (evaluating 'video.textTracks[7].language')
+TypeError: undefined is not an object (evaluating 'video.textTracks[7].kind')
+TypeError: undefined is not an object (evaluating 'video.textTracks[7].mode')

-EXPECTED (video.textTracks[8].language == 'en') OK
-EXPECTED (video.textTracks[8].kind == 'captions') OK
-EXPECTED (video.textTracks[8].mode == 'disabled') OK
+TypeError: undefined is not an object (evaluating 'video.textTracks[8].language')
+TypeError: undefined is not an object (evaluating 'video.textTracks[8].kind')
+TypeError: undefined is not an object (evaluating 'video.textTracks[8].mode')

 END OF TEST

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161017/5790b1a8/attachment.html>


More information about the webkit-unassigned mailing list