blob: f0bf1868f7527911bc1085c0a5ad47cb72a0f067 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>audio.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>
<audio id="a">
</audio>
<div id="log"></div>
<script>
test(function() {
assert_equals(
document.getElementById("a").currentSrc,
"",
"audioElement.currentSrc should be empty if there is no source");
});
</script>
</body>
</html>