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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-language-preference-expected.txt

Issue 1938533002: Convert track-language* and track-large* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/track/track-language-preference-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/track-language-preference-expected.txt b/third_party/WebKit/LayoutTests/media/track/track-language-preference-expected.txt
deleted file mode 100644
index 1a41e7806479e37fb1cd98d223a15a8918f4880b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/track-language-preference-expected.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Tests that the user's preferred languages are honored.
-
-**Set user preferred languages
-RUN(internals.setUserPreferredLanguages(['jp', 'es-ES', 'en', 'fr']))
-
-Test: a track language matches one of the user's preferred languages exactly.
-- creating tracks for: [fr,en,jp].
-EVENT(load)
-EXPECTED (track.readyState == '2') OK
-EXPECTED (track.srclang == 'jp') OK
-
-Test: a track language without locale exactly matches one of the user's preferred languages.
-- creating tracks for: [fr-CH,da].
-EVENT(load)
-EXPECTED (track.readyState == '2') OK
-EXPECTED (track.srclang == 'fr-CH') OK
-
-Test: a track language without locale matches one of the user's preferred languages without locale.
-- creating tracks for: [fr,es-MX].
-EVENT(load)
-EXPECTED (track.readyState == '2') OK
-EXPECTED (track.srclang == 'es-MX') OK
-
-Test: no track language matches any of the user's preferred languages.
-- creating tracks for: [fa,ru,no].
-EVENT(load)
-EXPECTED (track.readyState == '2') OK
-EXPECTED (track.srclang == 'fa') OK
-
-EXPECTED (video.textTracks.length == '3') OK
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698