| Index: content/test/data/android/quota_permissions.html
|
| diff --git a/content/test/data/android/quota_permissions.html b/content/test/data/android/quota_permissions.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..032cf79456581834d59d58700c1141bbec9b4d3e
|
| --- /dev/null
|
| +++ b/content/test/data/android/quota_permissions.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<title>Quota</title>
|
| +<script>
|
| +successCount = 0;
|
| +function successCallback(grantedBytes) {
|
| + successCount++;
|
| + window.document.title = 'Count: ' + successCount;
|
| +}
|
| +function errorCallback(error){
|
| + window.document.title = 'deny';
|
| + console.log('navigator.webkitPersistentStorage.requestQuota error: ', error);
|
| +}
|
| +function initiate_requestQuota(requestedBytes) {
|
| + navigator.webkitPersistentStorage.requestQuota(
|
| + requestedBytes, successCallback, errorCallback);
|
| +}
|
| +</script>
|
|
|