Skip to content

HTML5 persistent storage - quota requests are denied #107

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
GoogleCodeExporter opened this issue Aug 28, 2015 · 2 comments
Open

HTML5 persistent storage - quota requests are denied #107

GoogleCodeExporter opened this issue Aug 28, 2015 · 2 comments
Labels

Comments

@GoogleCodeExporter
Copy link

Need to implement CefRequestHandler::OnQuotaRequest:

  ///
  // Called on the IO thread when JavaScript requests a specific storage quota
  // size via the webkitStorageInfo.requestQuota function. |origin_url| is the
  // origin of the page making the request. |new_size| is the requested quota
  // size in bytes. Return true and call CefQuotaCallback::Continue() either in
  // this method or at a later time to grant or deny the request. Return false
  // to cancel the request.
  ///
  /*--cef(optional_param=realm)--*/
  virtual bool OnQuotaRequest(CefRefPtr<CefBrowser> browser,
                              const CefString& origin_url,
                              int64 new_size,
                              CefRefPtr<CefQuotaCallback> callback) {
    return false;
  } 

Original issue reported on code.google.com by czarek.t...@gmail.com on 2 May 2014 at 6:26

Repository owner deleted a comment from GoogleCodeExporter Feb 3, 2019
Repository owner deleted a comment from GoogleCodeExporter Feb 3, 2019
Repository owner deleted a comment from GoogleCodeExporter Feb 3, 2019
Repository owner deleted a comment from GoogleCodeExporter Feb 3, 2019
Repository owner deleted a comment from GoogleCodeExporter Feb 3, 2019
@cztomczak
Copy link
Owner

Fixed on Linux in commit 170d7c3.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants