Skip to content

Add quota/requested info to the QuotaExceededError#1904

Merged
annevk merged 2 commits intowhatwg:mainfrom
noamr:quotas
Jan 13, 2026
Merged

Add quota/requested info to the QuotaExceededError#1904
annevk merged 2 commits intowhatwg:mainfrom
noamr:quotas

Conversation

@noamr
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@noamr
Copy link
Copy Markdown
Contributor Author

noamr commented Jan 8, 2026

@annevk I assume webkit are ok with this change?

Copy link
Copy Markdown
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.

@annevk annevk merged commit 3d04edb into whatwg:main Jan 13, 2026
2 checks passed
@noamr noamr deleted the quotas branch January 13, 2026 08:52
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