Bug 95415

Summary: LayoutTest: media/video-controls-captions.html fails on Windows
Product: WebKit Reporter: Roger Fong <roger_fong>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: annacc
Priority: P2 Keywords: LayoutTestFailure, MakingBotsRed
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   

Description Roger Fong 2012-08-29 18:32:55 PDT
This test fails on Apple-Windows port. Any idea why?
Comment 1 Roger Fong 2012-08-29 18:36:58 PDT
diff:

--- /home/buildbot/slave/win-release-tests/build/layout-test-results/media/video-controls-captions-expected.txt	2012-08-29 13:58:29.521250600 -0700
+++ /home/buildbot/slave/win-release-tests/build/layout-test-results/media/video-controls-captions-actual.txt	2012-08-29 13:58:29.520250600 -0700
@@ -3,23 +3,7 @@
 Set the user language preference so that the track will be chosen when the CC button is clicked.
 RUN(internals.setUserPreferredLanguages(['en']))
 EVENT(canplaythrough)
-
-** Caption button should be visible and enabled because we have a captions track.
-EXPECTED (captionsButtonCoordinates[0] > '0') OK
-EXPECTED (captionsButtonCoordinates[1] > '0') OK
-EXPECTED (captionsButtonElement.disabled == 'false') OK
-
-** The captions track should be listed in textTracks, but not yet loaded. **
-EXPECTED (video.textTracks.length == '1') OK
-EXPECTED (video.textTracks[0].mode == 'disabled') OK
-Failed to find text track container element
-
-** Captions track should load and captions should become visible after button is clicked **
-*** Click the CC button.
-EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem') OK
-
-** Captions should not be visible after button is clicked again **
-*** Click the CC button.
-No text track cue with display id '-webkit-media-text-track-display' is currently visible
+Failed to find a closed captions button or its coordinates: Failed to find media control element ID 'toggle-closed-captions-button'
+undefined FAIL
 END OF TEST
Comment 2 Roger Fong 2012-08-30 12:48:31 PDT

*** This bug has been marked as a duplicate of bug 95428 ***