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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/pauseOnExit.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/pauseOnExit.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/pauseOnExit.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/pauseOnExit.html
deleted file mode 100644
index 15e0e57433942a97d583b2413aabfbdd49c5dfb2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/pauseOnExit.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!doctype html>
-<title>TextTrackCue.pauseOnExit</title>
-<script src=../../../../../../../../resources/testharness.js></script>
-<script src=../../../../../../../../resources/testharnessreport.js></script>
-<div id=log></div>
-<script>
-setup(function(){
- window.video = document.createElement('video');
- window.t1 = video.addTextTrack('subtitles');
- document.body.appendChild(video);
-});
-test(function(){
- var c1 = new VTTCue(0, 1, 'text1');
- assert_equals(c1.pauseOnExit, false);
- c1.pauseOnExit = null;
- assert_equals(c1.pauseOnExit, false);
- c1.pauseOnExit = 'foo';
- assert_equals(c1.pauseOnExit, true);
-}, document.title+', script-created cue');
-
-var t_parsed = async_test(document.title+', parsed cue');
-t_parsed.step(function(){
- var t = document.createElement('track');
- t.onload = this.step_func(function(){
- var c1 = t.track.cues[0];
- assert_equals(c1.pauseOnExit, false);
- c1.pauseOnExit = null;
- assert_equals(c1.pauseOnExit, false);
- c1.pauseOnExit = 'foo';
- assert_equals(c1.pauseOnExit, true);
- this.done();
- });
- t.onerror = this.step_func(function() {
- assert_unreached('got error event');
- });
- t.src = 'data:text/vtt,'+encodeURIComponent('WEBVTT\n\n00:00:00.000 --> 00:00:00.001\ntest');
- t.track.mode = 'showing';
- video.appendChild(t);
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698