这是indexloc提供的服务,不要输入任何密码
Skip to content

Update QuotaExceededError expectations #53645

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

domenic
Copy link
Member

@domenic domenic commented Jul 8, 2025

@domenic domenic force-pushed the quotaexceedederror-upgrade branch from aa7246b to b50f688 Compare July 8, 2025 04:36
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.

A lot of these things appear like regressions to me. If we don't throw for the method involved the test ends up passing.

Can we instead extend assert_throws_dom and promise_rejects_dom to account for more complex exceptions?

@domenic
Copy link
Member Author

domenic commented Jul 17, 2025

Thanks for the push, I introduced new assert_throws_quotaexceedederror and promise_rejects_quotaexceedederror. I think that's necessary instead of reusing the _dom versions for (a) clarity; (b) to let us test the requested and quota properties.

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.

Looks good to me. And let's copy @jgraham in case he's interested in reviewing the testharness.js changes.

Co-authored-by: Philip Jägenstedt <philip@foolip.org>
Copy link
Member

@twiss twiss left a comment

Choose a reason for hiding this comment

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

LGTM for the WebCrypto part

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

Successfully merging this pull request may close these issues.

6 participants