New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 753419 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Reset API Quotas when developers "Clear storage"

Project Member Reported by mattgaunt@chromium.org, Aug 8 2017

Issue description

PaymentRequest has an API `canMakePayment()` which has a quota to limit the number of times developers call it and the BudgetAPI has a quota which the user can "reserve()" to consume.

Neither of these quotas can be reset, blocking developers from being able to develop with them.

Can we add a "reset" of sorts to these Quotas under the "Application > Clear storage" panel?

Sidenote: Should "Clear storage" change to "Reset state" or "Clear state"?
 
Owner: eostroukhov@chromium.org
Status: Assigned (was: Untriaged)
Matt, the quota for canMakePayment() can be reset by browser restart. localhost and file:// scheme also don't enforce the quota. Is that insufficient?
This may still be useful on prod sites if a developer is trying to test the final behavior, browser restart feels like a hammer to crack a nut solution.
OK, let's do it.
Owner: hhli@chromium.org

Sign in to add a comment