Does your browser support enhanced forms?

If you're curious about whether your browser supports some of the current data objects, this table reports the results of testing them. It's a companion to my article at InfoWorld about the new standards.
<div id="displayMe"></div>
<div id="displayAttributes"></div>
<script type="text/javascript">
function testWindow(element){
if (element in window){
return "This browser implements the "+element+" function in a basic <code> window </code> object."
} else {
return "This browser does not recognize the "+element+" function in a basic <code> window </code> object."
}
}
function testWindowFull(element){
return "<tr><td><code>"+element+"</code></td><td>"+testWindow(element)+"</td></tr>";
}
function test(where){
var ans="<table><tr><td> <code> Tag </code></td><td> Tests </td></tr>";
ans+=testWindowFull("localStorage");
ans+=testWindowFull("sessionStorage");
ans+=testWindowFull("indexedDB");
ans+=testWindowFull("FileReader");
ans+=testWindowFull("FileWriter");
ans+=testWindowFull("applicationCache");
ans+="</table>";
document.getElementById(where).innerHTML=ans;
}
test("displayMe");
</script>
<!--break-->