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