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

Unified Diff: LayoutTests/media/track/track-remove-track-expected.txt

Issue 177243018: Prevent 'removetrack' events from firing when all inband text tracks are removed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove console messages Created 6 years, 10 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
« no previous file with comments | « LayoutTests/media/track/track-remove-track.html ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/track/track-remove-track-expected.txt
diff --git a/LayoutTests/media/track/track-remove-track-expected.txt b/LayoutTests/media/track/track-remove-track-expected.txt
deleted file mode 100644
index c8e4fcd89ed5c073215ef6e84a980aa4c736acf4..0000000000000000000000000000000000000000
--- a/LayoutTests/media/track/track-remove-track-expected.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Tests that the 'removetrack' event is fired when a TextTrack is removed.
-
-** Test a TextTrack created for a <track> element.
-RUN(trackElement = document.createElement('track'))
-RUN(video.appendChild(trackElement))
-RUN(trackElement.src = 'captions-webvtt/tc004-webvtt-file.vtt')
-RUN(trackElement.track.mode = 'hidden')
-EXPECTED (video.textTracks.length == '1') OK
-EVENT(removetrack)
-EXPECTED (event.target == '[object TextTrackList]') OK
-EXPECTED (event instanceof window.TrackEvent == 'true') OK
-EXPECTED (event.track == '[object TextTrack]') OK
-
-END OF TEST
-
« no previous file with comments | « LayoutTests/media/track/track-remove-track.html ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698