blob: 8ee9adb1c0d30a89cc3d4830ad9d7a73ca85bcd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<html>
<head>
<title>TextTrackCue constructor</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script>
test(function()
{
assert_not_equals(TextTrackCue, VTTCue);
}, "TextTrackCue and VTTCue are separate interfaces");
test(function()
{
assert_throws_js(TypeError, function()
{
new TextTrackCue(0, 0, "");
});
}, "TextTrackCue constructor should not be supported");
</script>
</body>
</html>
|