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

Side by Side Diff: LayoutTests/media/mediastream-srcobject-expected.txt

Issue 545933002: Implement HTMLMediaElement::srcObject. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed sofs easy comments. 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
OLDNEW
(Empty)
1 Test that setting the HTMLMediaElement.srcObject overrides setting the src attri bute and if the srcObect is set to null, media is reloaded from the src attribut e.
2
3 Set src to local file.
4 EVENT(loadstart)
5 EVENT(durationchange)
6 EVENT(loadeddata)
7 EVENT(play)
8 EXPECTED (true == '1') OK
9 EVENT(playingFromFile)
10
11 Request access to local media.
12 EVENT(canplaythrough)
13 Got a MediaStream. Start playing it.
14 EXPECTED (1 == '1') OK
15 EXPECTED (0 == '0') OK
16 EVENT(ratechange)
17 EVENT(loadstart)
18 EVENT(durationchange)
19 EVENT(loadeddata)
20 EVENT(play)
21 EVENT(playingVideo)
22
23 MediaStream is playing. Set srcObject = null.
24 EVENT(canplaythrough)
25 EVENT(loadstart)
26 EVENT(durationchange)
27 EVENT(loadeddata)
28 EVENT(play)
29 EVENT(playingFromFile)
30
31 END OF TEST
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698