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

Unified Diff: third_party/WebKit/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute.html

Issue 2682333002: Implement VTTCue.region and sync the VTTRegion interface (Closed)
Patch Set: Add DCHECK Created 3 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
Index: third_party/WebKit/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute.html
diff --git a/third_party/WebKit/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute.html b/third_party/WebKit/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute.html
deleted file mode 100644
index 42b9556e9c37a8e2956c56a38091c9183bf800ee..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<title>Tests the regionId attribute of a cue.</title>
-<script src="../../../resources/testharness.js"></script>
-<script src="../../../resources/testharnessreport.js"></script>
-<script>
-async_test(function(t) {
- var cue = new VTTCue(0, 1, 'sample');
-
- assert_equals(cue.regionId, '');
- cue.regionId = 'someId';
- assert_equals(cue.regionId, 'someId');
-
- var video = document.createElement('video');
- var track = document.createElement('track');
- track.onload = t.step_func_done(function() {
- cue = track.track.cues[0];
- assert_equals(cue.regionId, 'someregionattributeid');
-
- for (i = 1; i < 4; ++i) {
- cue = track.track.cues[i];
- assert_equals(cue.regionId, '');
- }
- });
- track.src = '../captions-webvtt/header-regions.vtt';
- track.kind = 'captions';
- track.default = true;
- video.appendChild(track);
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698