You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QuotaExceededError is graduating from being a DOMException name into a new error class, in whatwg/webidl#1465. Update creation sites to reflect this.
For now, the quota and requested properties are left at their default (null). Future work could include setting them in an informative fashion.
1. Resolve |promise| with a new {{Cache}} object that represents |value|.
2311
2311
1. Abort these steps.
2312
2312
1. Let |cache| be a new [=request response list=].
2313
-
1. [=map/Set=] the [=relevant name to cache map=][|cacheName|] to |cache|. If this cache write operation failed due to exceeding the granted quota limit, reject |promise| with a "{{QuotaExceededError}}" {{DOMException}} and abort these steps.
2313
+
1. [=map/Set=] the [=relevant name to cache map=][|cacheName|] to |cache|. If this cache write operation failed due to exceeding the granted quota limit, reject |promise| with a {{QuotaExceededError}} and abort these steps.
2314
2314
1. Resolve |promise| with a new {{Cache}} object that represents |cache|.
1. If the cache write operation in the previous two steps failed due to exceeding the granted quota limit, <a>throw</a> a "{{QuotaExceededError}}" {{DOMException}}.
4074
+
1. If the cache write operation in the previous two steps failed due to exceeding the granted quota limit, <a>throw</a> a {{QuotaExceededError}}.
0 commit comments