qutebrowser/tests/end2end/data/javascript/localstorage.html

19 lines
502 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function check_storage() {
try {
localStorage.qute_test = "foo";
console.log("localstorage works!");
} catch (e) {
console.log("localstorage does not work!");
}
}
</script>
</head>
<body onload="check_storage()">
<p>This page checks local storage on load and logs via console.log</p>
</body>
</html>