| Index: chrome/test/data/android/storage_persistance.html
|
| diff --git a/chrome/test/data/android/storage_persistance.html b/chrome/test/data/android/storage_persistance.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..63ff0ef7da63bbad01084eb0b341e38f93fd7d3a
|
| --- /dev/null
|
| +++ b/chrome/test/data/android/storage_persistance.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <script>
|
| + if (window.location.hash.indexOf('clear') != -1) {
|
| + localStorage.removeItem('Foo');
|
| + document.cookie = '';
|
| + }
|
| +
|
| + function setStorage() {
|
| + localStorage.setItem('Foo', 'Bar');
|
| + document.cookie = 'Foo=Bar';
|
| + }
|
| +
|
| + function hasAllStorage() {
|
| + return localStorage.getItem('Foo') == 'Bar'
|
| + && document.cookie == 'Foo=Bar';
|
| + }
|
| + </script>
|
| + <body>Test for setting and getting local storage.</body>
|
| +</html>
|
|
|