gecko-dev/dom/browser-element/mochitest/file_browserElement_Private...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 строки
279 B
HTML
Исходник Обычный вид История

<html>
<body>
<script>
if (location.href.includes("clear=true")) {
localStorage.removeItem("foo");
alert("CLEAR");
} else {
var initialValue = localStorage.getItem("foo") || "EMPTY";
localStorage.setItem("foo", "bar");
alert(initialValue);
}
</script>
</body>
</html>