blob: 47fafb1c5e819492cd246abb7dba082dd4dfa08d [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>video.error - null if no source</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_equals(
document.getElementById("v").error,
null,
"videoElement.error property is null if no source");
});
</script>
</body>
</html>