[Webkit-unassigned] [Bug 105536] New: <track> element's mode set to "disabled" after load although it was explicitly set to "hidden"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 20 07:35:19 PST 2012


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

           Summary: <track> element's mode set to "disabled" after load
                    although it was explicitly set to "hidden"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: graouts at apple.com
                CC: eric.carlson at apple.com,
                    webkit-bug-importer at group.apple.com


A lot of the Opera-submitted <track> tests added to regression test suite being skipped due to a failure related to the track's mode being set to "disabled" even though it was originally set to "hidden" in script. After debugging, it appears the change of mode is performed in HTMLMediaElement::configureTextTrackGroup() which is called when the <video> element to which the <track> element is attached is loaded. It appears the code in question relates to the concept of a "showing by default" mode which was present in an older spec draft (http://www.w3.org/TR/2011/WD-html5-20110405/video.html#text-track-showing-by-default) but is no longer available. It sounds to me that all concept of "showing by default" should be removed from the codebase, and hopefully remove this issue.

These are the affected tests that pass if the call to textTrack->setMode(TextTrack::disabledKeyword()) in HTMLMediaElement::configureTextTrackGroup() is commented out:

LayoutTests/media/track/opera/interfaces/TextTrack/addCue.html
LayoutTests/media/track/opera/interfaces/TextTrack/removeCue.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/endTime.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/startTime.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/align.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/id.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/pauseOnExit.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/track.html

These tests are also affected but have other failures beyond this specific issue with "showing by default":

LayoutTests/media/track/opera/interfaces/TextTrackCue/snapToLines.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/text.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/vertical.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list