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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-change-event-expected.txt

Issue 1873093003: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-change-event.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests that the 'change' event is fired when a TextTrack's mode changes.
2
3 ** Test a TextTrack created with addTextTrack().
4 RUN(track = video.addTextTrack('subtitles', 'test', 'en'))
5 RUN(track.mode = 'showing')
6 EXPECTED (video.textTracks.length == '1') OK
7 EVENT(change)
8 EXPECTED (event.target == '[object TextTrackList]') OK
9 EXPECTED (event instanceof window.Event == 'true') OK
10 EXPECTED (event.track == 'undefined') OK
11
12 END OF TEST
13
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-change-event.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698