21 lines
448 B
HTML
21 lines
448 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>video.error - existence test</title>
|
|
<script src="../../w3cwrapper.js"></script>
|
|
</head>
|
|
<body>
|
|
<p><a href="http://dev.w3.org/html5/spec/Overview.html#dom-media-error">spec reference</a></p>
|
|
<video id="v">
|
|
</video>
|
|
<div id="log"></div>
|
|
<script>
|
|
test(function() {
|
|
assert_true(
|
|
"error" in document.getElementById("v"),
|
|
"videoElement.error property exists");
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|