Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: content/test/data/android/quota_permissions.html

Issue 2703253005: Support PermissionRequestManager for quota permissions on Android. (Closed)
Patch Set: add a test Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/chrome_quota_permission_context.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Quota</title>
3 <script>
4 successCount = 0;
5 function successCallback(grantedBytes) {
6 successCount++;
7 window.document.title = 'Count: ' + successCount;
8 }
9 function errorCallback(error){
10 window.document.title = 'deny';
11 console.log('navigator.webkitPersistentStorage.requestQuota error: ', error) ;
12 }
13 function initiate_requestQuota(requestedBytes) {
14 navigator.webkitPersistentStorage.requestQuota(
15 requestedBytes, successCallback, errorCallback);
16 }
17 </script>
OLDNEW
« no previous file with comments | « chrome/browser/chrome_quota_permission_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698