Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: LayoutTests/platform/android/media/media-captions-no-controls-expected.txt

Issue 561273005: Auto-rebaseline for r182077 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests that adding a text track does not make controls visible. 1 Tests that adding a text track does not make controls visible.
2 2
3 EVENT(canplaythrough) 3 EVENT(canplaythrough)
4 4
5 ** Initial state: no text tracks, controls should not be visible ** 5 ** Initial state: no text tracks, controls should not be visible **
6 EXPECTED (video.textTracks.length == '0') OK 6 EXPECTED (video.textTracks.length == '0') OK
7 EXPECTED (video.controls == 'false') OK 7 EXPECTED (video.controls == 'false') OK
8 EXPECTED (internals.shadowRoot(video).firstChild == 'null') OK 8 EXPECTED (internals.shadowRoot(video).firstChild == 'null') OK
9 9
10 ** Add a text track, controls should not become visible ** 10 ** Add a text track, controls should not become visible **
11 RUN(video.addTextTrack('captions')) 11 RUN(video.addTextTrack('captions'))
12 EXPECTED (video.textTracks.length == '1') OK 12 EXPECTED (video.textTracks.length == '1') OK
13 EXPECTED (video.controls == 'false') OK 13 EXPECTED (video.controls == 'false') OK
14 EXPECTED (internals.shadowRoot(video).firstChild == 'null') OK 14 EXPECTED (internals.shadowRoot(video).firstChild == 'null') OK
15 15
16 ** Enable controls ** 16 ** Enable controls **
17 RUN(video.setAttribute('controls','controls')) 17 RUN(video.setAttribute('controls','controls'))
18 EXPECTED (video.textTracks.length == '1') OK 18 EXPECTED (video.textTracks.length == '1') OK
19 EXPECTED (video.controls == 'true') OK 19 EXPECTED (video.controls == 'true') OK
20 EXPECTED (internals.shadowRoot(video).firstChild != 'null') OK 20 EXPECTED (internals.shadowRoot(video).firstChild != 'null') OK
21 EXPECTED (panel.style['display'] != 'none') OK 21 EXPECTED (panel.style['display'] != 'none') OK
22 22
23 END OF TEST 23 END OF TEST
24 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698