chromium/content/test/data/dom_storage/store_data_task.html

<!DOCTYPE html>
<meta charset=utf-8>
<script src="common.js"></script>
<script>
function test() {
  window.localStorage.clear();
  window.localStorage.setItem("foo", "bar");
  window.localStorage.setItem("baz", "bag");
  window.setTimeout(done, 0);
}
</script>
<body onload="setTimeout(test, 0)">
<div id="status">Starting...<br/></div>