<!doctype html> | |
<html> | |
<head> | |
<title>audio.readyState - existence test</title> | |
<script src="../../w3cwrapper.js"></script> | |
</head> | |
<body> | |
<p><a href="http://dev.w3.org/html5/spec/Overview.html#dom-media-networkstate">spec reference</a></p> | |
<audio id="a"> | |
</audio> | |
<div id="log"></div> | |
<script> | |
test(function() { | |
assert_true( | |
"readyState" in document.getElementById("a"), | |
"audioElement.readyState property exists"); | |
}); | |
</script> | |
</body> | |
</html> |