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

<!DOCTYPE html>
<script>
function setSessionStorageValue(key, value) {
  window.sessionStorage[key] = value;
}

function getSessionStorageValue(key) {
  return window.sessionStorage[key] || "";
}

function setLocalStorageValue(key, value) {
  window.localStorage[key] = value;
}

function getLocalStorageValue(key) {
  return window.localStorage[key] || "";
}
</script>