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

Unified Diff: LayoutTests/media/track/regions-webvtt/vtt-region-constructor.html

Issue 55653003: Rename TextTrackRegion/TextTrackRegionList to VTTRegion/VTTRegionList (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectations Created 7 years, 1 month 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/track/regions-webvtt/vtt-region-constructor.html
diff --git a/LayoutTests/media/track/regions-webvtt/text-track-region-constructor.html b/LayoutTests/media/track/regions-webvtt/vtt-region-constructor.html
similarity index 91%
rename from LayoutTests/media/track/regions-webvtt/text-track-region-constructor.html
rename to LayoutTests/media/track/regions-webvtt/vtt-region-constructor.html
index fae379bc4eb875cf49aff49e664b52a12c9fe9a8..719797d41ed1a122371e42a727b86c27514e529e 100644
--- a/LayoutTests/media/track/regions-webvtt/text-track-region-constructor.html
+++ b/LayoutTests/media/track/regions-webvtt/vtt-region-constructor.html
@@ -11,12 +11,15 @@
function startTest()
{
- if (!window.TextTrackRegion) {
+ if (!window.VTTRegion) {
failTest();
return;
}
- region = new TextTrackRegion();
+ region = new VTTRegion();
+
+ consoleWrite("** Test instanceof VTTRegion. **");
+ testExpected("region instanceof VTTRegion", true);
consoleWrite("** Test the default indexs of a region. **");
testExpected("region.track", null);
@@ -72,6 +75,6 @@
</script>
</head>
<body onload="startTest()">
- <p>Tests the constructor and mutation of TextTrackRegion.</p>
+ <p>Tests the constructor and mutation of VTTRegion.</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698