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

Side by Side Diff: third_party/WebKit/LayoutTests/media/audio-constructor-preload-expected.txt

Issue 1997263002: Convert audio-constructor* tests to testharness.js (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 Test that Audio() sets 'preload' attribute.
2
3 RUN(mediaElement = new Audio())
4
5 ++ Test initial attribute value
6 EXPECTED (mediaElement.getAttribute('preload') == 'auto') OK
7 EXPECTED (mediaElement.preload == 'auto') OK
8
9 RUN(mediaElement.src = 'content/test.wav')
10 RUN(mediaElement.load())
11
12 ++ Test after 'canplaythrough' event
13 EXPECTED (mediaElement.getAttribute('preload') == 'auto') OK
14 EXPECTED (mediaElement.preload == 'auto') OK
15 END OF TEST
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698