blob: 98c1a2be50ed512ea288038af22fe633c40eb62c [file] [log] [blame]
<html>
<head>
<script>
try {
var c = window.localStorage;
var value = c['test'];
if (value) {
c.clear();
document.write('Got value: ' + value);
} else {
document.write('No value');
}
} catch (exception) {
document.write(exception.name);
}
if (window.testRunner) {
internals.settings.setStorageBlockingPolicy('AllowAll');
testRunner.overridePreference('WebKitStorageBlockingPolicy', 0);
testRunner.notifyDone();
}
</script>
</head>
<body>
</body>
</head>