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

Unified 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: New approach - with #includes that violate checkdeps rules 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/media/mediastream-srcobject-expected.txt
diff --git a/LayoutTests/media/mediastream-srcobject-expected.txt b/LayoutTests/media/mediastream-srcobject-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81c97916b0f6f0859bb185f9a068c5f7a61b9bb2
--- /dev/null
+++ b/LayoutTests/media/mediastream-srcobject-expected.txt
@@ -0,0 +1,28 @@
+Test that setting the HTMLMediaElement.srcObject overrides setting the src attribute and if the srcObect is set to null, media is reloaded from the src attribute.
+
+Set src to local file.
+EVENT(loadstart)
+EVENT(durationchange)
+EVENT(loadeddata)
+EVENT(play)
+EVENT(playingFromFile)
+
+Request access to local media.
+EVENT(canplaythrough)
+Got a MediaStream. Start playing it.
+EVENT(loadstart)
+EVENT(durationchange)
+EVENT(loadeddata)
+EVENT(play)
+EVENT(playingVideo)
+
+MediaStream is playing. Set srcObject = null.
+EVENT(canplaythrough)
+EVENT(loadstart)
+EVENT(durationchange)
+EVENT(loadeddata)
+EVENT(play)
+EVENT(playingFromFile)
+
+END OF TEST
+

Powered by Google App Engine
This is Rietveld 408576698