<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>163523</bug_id>
          
          <creation_ts>2016-10-16 19:48:46 -0700</creation_ts>
          <short_desc>[GStreamer] Layout test media/track/track-manual-mode.html is failing</short_desc>
          <delta_ts>2018-02-09 09:34:10 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cturner</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>fujii</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1240854</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-10-16 19:48:46 -0700</bug_when>
    <thetext>Layout test media/track/track-manual-mode.html has been failing since it was added in r196010 &quot;Allow ports to disable automatic text track selection&quot;. 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 == &apos;9&apos;) OK
-EXPECTED (trackMenuItems.length == &apos;11&apos;) OK
+EXPECTED (video.textTracks.length == &apos;9&apos;), OBSERVED &apos;6&apos; FAIL
+EXPECTED (trackMenuItems.length == &apos;11&apos;), OBSERVED &apos;8&apos; FAIL
 
 ** &apos;forced&apos; should be in the title of a forced track menu item
 Track menu:
-0: &quot;Off&quot;, checked
-1: &quot;Auto (Recommended)&quot;
-2: &quot;English Closed Captions CC&quot;
-3: &quot;English Subtitles&quot;
-4: &quot;English Subtitles Forced&quot;
-5: &quot;French Subtitles&quot;
-6: &quot;French Subtitles Forced&quot;
-7: &quot;German Subtitles&quot;
-8: &quot;German Subtitles Forced&quot;
-9: &quot;Spanish Subtitles&quot;
-10: &quot;Spanish Subtitles Forced&quot;
+0: &quot;Off&quot;
+1: &quot;Auto&quot;
+2: &quot;No label&quot;
+3: &quot;No label&quot;
+4: &quot;No label&quot;
+5: &quot;No label&quot;
+6: &quot;No label&quot;
+7: &quot;en&quot;
 
 ** No track should be enabled by default
 EXPECTED (video.textTracks[0].language == &apos;en&apos;) OK
 EXPECTED (video.textTracks[0].kind == &apos;subtitles&apos;) OK
 EXPECTED (video.textTracks[0].mode == &apos;disabled&apos;) OK
 
-EXPECTED (video.textTracks[1].language == &apos;en&apos;) OK
-EXPECTED (video.textTracks[1].kind == &apos;forced&apos;) OK
+EXPECTED (video.textTracks[1].language == &apos;en&apos;), OBSERVED &apos;&apos; FAIL
+EXPECTED (video.textTracks[1].kind == &apos;forced&apos;), OBSERVED &apos;subtitles&apos; FAIL
 EXPECTED (video.textTracks[1].mode == &apos;disabled&apos;) OK
 
-EXPECTED (video.textTracks[2].language == &apos;fr&apos;) OK
+EXPECTED (video.textTracks[2].language == &apos;fr&apos;), OBSERVED &apos;&apos; FAIL
 EXPECTED (video.textTracks[2].kind == &apos;subtitles&apos;) OK
 EXPECTED (video.textTracks[2].mode == &apos;disabled&apos;) OK
 
-EXPECTED (video.textTracks[3].language == &apos;fr&apos;) OK
-EXPECTED (video.textTracks[3].kind == &apos;forced&apos;) OK
+EXPECTED (video.textTracks[3].language == &apos;fr&apos;), OBSERVED &apos;&apos; FAIL
+EXPECTED (video.textTracks[3].kind == &apos;forced&apos;), OBSERVED &apos;subtitles&apos; FAIL
 EXPECTED (video.textTracks[3].mode == &apos;disabled&apos;) OK
 
-EXPECTED (video.textTracks[4].language == &apos;es&apos;) OK
+EXPECTED (video.textTracks[4].language == &apos;es&apos;), OBSERVED &apos;&apos; FAIL
 EXPECTED (video.textTracks[4].kind == &apos;subtitles&apos;) OK
 EXPECTED (video.textTracks[4].mode == &apos;disabled&apos;) OK
 
-EXPECTED (video.textTracks[5].language == &apos;es&apos;) OK
-EXPECTED (video.textTracks[5].kind == &apos;forced&apos;) OK
+EXPECTED (video.textTracks[5].language == &apos;es&apos;), OBSERVED &apos;&apos; FAIL
+EXPECTED (video.textTracks[5].kind == &apos;forced&apos;), OBSERVED &apos;subtitles&apos; FAIL
 EXPECTED (video.textTracks[5].mode == &apos;disabled&apos;) OK
 
-EXPECTED (video.textTracks[6].language == &apos;de&apos;) OK
-EXPECTED (video.textTracks[6].kind == &apos;subtitles&apos;) OK
-EXPECTED (video.textTracks[6].mode == &apos;disabled&apos;) OK
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[6].language&apos;)
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[6].kind&apos;)
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[6].mode&apos;)
 
-EXPECTED (video.textTracks[7].language == &apos;de&apos;) OK
-EXPECTED (video.textTracks[7].kind == &apos;forced&apos;) OK
-EXPECTED (video.textTracks[7].mode == &apos;disabled&apos;) OK
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[7].language&apos;)
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[7].kind&apos;)
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[7].mode&apos;)
 
-EXPECTED (video.textTracks[8].language == &apos;en&apos;) OK
-EXPECTED (video.textTracks[8].kind == &apos;captions&apos;) OK
-EXPECTED (video.textTracks[8].mode == &apos;disabled&apos;) OK
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[8].language&apos;)
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[8].kind&apos;)
+TypeError: undefined is not an object (evaluating &apos;video.textTracks[8].mode&apos;)
 
 END OF TEST</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356406</commentid>
    <comment_count>1</comment_count>
    <who name="Charlie Turner">cturner</who>
    <bug_when>2017-10-04 07:39:55 -0700</bug_when>
    <thetext>This test is also crashing (expectations updated accordingly). The issue is in TrackPrivateBaseGStreamer::notifyTrackOfTagsChanged(). It&apos;s calling VideoTrack::setLanguage when it&apos;s not in a correct state. setLanguage then asks for the HTMLMediaElement&apos;s videoTracks when the media element member is null, but the spec suggests a VideoTrack&apos;s HTMLMediaElement is always available... Because this call stack is invoked from a GStreamer signal, it&apos;s very likely there&apos;s bugs in the TrackPrivateBaseGStreamer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1378083</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-12-04 21:29:40 -0800</bug_when>
    <thetext>(In reply to Charlie Turner from comment #1)

Sounds like a same issue with Bug 160131 Comment 6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1385413</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-01-03 03:59:47 -0800</bug_when>
    <thetext>The crash is gone but the test still fails badly. This points to a FIXME for multiple CHAP tracks support in qtdemux.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>