| 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>
|
|
|