Skip to content

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 <[email protected]>
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

@domenic domenic merged commit 1d2c5fb into master Jul 28, 2025
38 of 44 checks passed
@domenic domenic deleted the quotaexceedederror-upgrade branch July 28, 2025 07:02
aarongable pushed a commit to chromium/chromium that referenced this pull request Aug 5, 2025
Reverts just the code value change from crrev.com/c/6516473
Matches resolution in whatwg/webidl#1465
Tests updated in web-platform-tests/wpt#53645

Bug: 406162261
Fixed: 434432288
Change-Id: I2fe06c29c1773fdbec5765a18d5c59a0aa2235f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6814000
Commit-Queue: Daniel Cheng <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Auto-Submit: Mike Wasserman <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1496718}
aarongable pushed a commit to chromium/chromium that referenced this pull request Aug 6, 2025
…spec

Original change's description:
> QuotaExceededError: Restore legacy exception code 22 to match spec
> 
> Reverts just the code value change from crrev.com/c/6516473
> Matches resolution in whatwg/webidl#1465
> Tests updated in web-platform-tests/wpt#53645
> 
> Bug: 406162261
> Fixed: 434432288
> Change-Id: I2fe06c29c1773fdbec5765a18d5c59a0aa2235f8
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6814000
> Commit-Queue: Daniel Cheng <[email protected]>
> Reviewed-by: Daniel Cheng <[email protected]>
> Auto-Submit: Mike Wasserman <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1496718}

Bug: 436562744,406162261,434432288
Change-Id: I2fe06c29c1773fdbec5765a18d5c59a0aa2235f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6818806
Commit-Queue: Rubber Stamper <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/7339@{#22}
Cr-Branched-From: 27be8b7-refs/heads/main@{#1496484}
@Ms2ger Ms2ger mentioned this pull request Aug 11, 2025
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.

7 participants