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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-captions-no-controls-expected.txt

Issue 2031503002: Convert media-captions-* and media-constants-* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
(Empty)
1 Tests that adding a text track does not make controls visible.
2
3 EVENT(canplaythrough)
4
5 ** Initial state: no text tracks, controls should not be visible **
6 EXPECTED (video.textTracks.length == '0') OK
7 EXPECTED (video.controls == 'false') OK
8
9 ** Add a text track, controls should not become visible **
10 RUN(video.addTextTrack('captions'))
11 EXPECTED (video.textTracks.length == '1') OK
12 EXPECTED (video.controls == 'false') OK
13
14 ** Enable controls **
15 RUN(video.setAttribute('controls','controls'))
16 EXPECTED (video.textTracks.length == '1') OK
17 EXPECTED (video.controls == 'true') OK
18 EXPECTED (internals.shadowRoot(video).firstChild != 'null') OK
19 EXPECTED (panel.style['display'] != 'none') OK
20
21 END OF TEST
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698