Revision fb690bc22dd76408313b02fc08b55cbdf3350c22 authored by jgraham on 03 January 2014, 16:04:38 UTC, committed by jgraham on 03 January 2014, 16:04:38 UTC
Add tool for generating test list in JSON format
storage_local_length.html
<!DOCTYPE HTML>
<html>
<head>
<title>Web Storage</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<h1>storage_local_length</h1>
<div id="log"></div>
<script>
test(function() {
localStorage.clear();
assert_equals(localStorage.length, 0, "localStorage.length")
localStorage.setItem("name", "user1");
localStorage.setItem("age", "20");
assert_equals(localStorage.length, 2, "localStorage.length")
});
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...