blob: 5186d9df0970e18a6288d7b70844c023fa13c1b8 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>video.currentSrc - empty if no source</title>
<script src="../../w3cwrapper.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#dom-media-currentsrc">spec reference</a></p>
<video id="v">
</video>
<div id="log"></div>
<script>
test(function() {
assert_equals(
document.getElementById("v").currentSrc,
"",
"videoElement.currentSrc should be empty if there is no source");
});
</script>
</body>
</html>