blob: c7a08b86c2b2b0789eb0a532fbd587cf1f266caa [file] [log] [blame]
<html>
<body>
<script>
var key = 'EmptyString';
var value = '';
var testKey = 'TestString';
if (!localStorage.getItem(testKey)) {
localStorage.setItem(key, value);
localStorage.setItem(testKey, 'test');
window.webkit.messageHandlers.testHandler.postMessage("setItem " + key);
} else {
window.webkit.messageHandlers.testHandler.postMessage("" + localStorage.getItem(key));
}
</script>
</body>
</html>