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

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

Issue 1927223002: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 the TextTrack "id" attribute is appropriately set.
2
3
4 ++ Test default attribute value
5 EXPECTED (textTrack.id == 'LoremIpsum') OK
6 EXPECTED (video.textTracks[0].id == 'LoremIpsum') OK
7
8 ++ Make sure we can look tracks up by id
9 EXPECTED (video.textTracks.getTrackById('LoremIpsum') == '[object TextTrack]') O K
10
11 ++ Test that it's readonly
12 RUN(textTrack.id = 'newvalue';)
13 EXPECTED (textTrack.id == 'LoremIpsum') OK
14 END OF TEST
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698