Skip to content

Conversation

@noamr
Copy link
Contributor

@noamr noamr commented Jan 6, 2026

QuotaExceededError now supplies the requested/quota info when caught.
This change supplies this information when this error is thrown due to an exceeded quota for deferred fetching (fetchLater).

Closes #1903

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

@TimvdLippe
Copy link
Contributor

Test updates are here: web-platform-tests/wpt#57078

@noamr
Copy link
Contributor Author

noamr commented Jan 8, 2026

@annevk I assume webkit are ok with this change?

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this seems fine, modulo wrapping.

<a for=request>client</a> and <var>request</var>'s <a for=request>URL</a>'s
<a for=url>origin</a> is less than <var>request</var>'s <a>total request length</a>, then throw a
"{{QuotaExceededError}}" {{DOMException}}.
<a for=url>origin</a>.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't fit on the previous line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

QuotaExceedederror is now a derived interface

3 participants