app: api to clear data from different storage types

This commit is contained in:
Robo 2015-07-02 19:42:18 +05:30
parent d661099322
commit 628fb5f5e9
5 changed files with 150 additions and 6 deletions

11
spec/fixtures/api/localstorage.html vendored Normal file
View file

@ -0,0 +1,11 @@
<html>
<body>
<script type="text/javascript" charset="utf-8">
window.localStorage.setItem('test', 'test');
var ipc = require('ipc');
ipc.on('getcount', function() {
ipc.send('count', window.localStorage.length);
})
</script>
</body>
</html>