Skip to content

QuotaExceededError: Update to a DOMException derived interface #52556

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

Merged
merged 1 commit into from
May 15, 2025

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

This change introduces a new QuotaExceededError class to
update the existing QuotaExceededError so services can return
quota and requested properties as needed. Implemented behind
RuntimeEnabledFlag QuotaExceededErrorUpdate. Changes to
update services throwing QuotaExceededError to use the new class
will be made in following changes (except for IDB which triggered
failures with this change).

Proposal: whatwg/webidl#1465
Chromestatus: https://chromestatus.com/feature/6194847180128256
Bug: 406162261
Change-Id: I68e91e15724e64c0995365ee63d4abe627fe06d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6516473
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joe Mason <joenotcharles@google.com>
Cr-Commit-Position: refs/heads/main@{#1460403}

This change introduces a new QuotaExceededError class to
update the existing QuotaExceededError so services can return
`quota` and `requested` properties as needed. Implemented behind
RuntimeEnabledFlag `QuotaExceededErrorUpdate`. Changes to
update services throwing QuotaExceededError to use the new class
will be made in following changes (except for IDB which triggered
failures with this change).

Proposal: whatwg/webidl#1465
Chromestatus: https://chromestatus.com/feature/6194847180128256
Bug: 406162261
Change-Id: I68e91e15724e64c0995365ee63d4abe627fe06d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6516473
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joe Mason <joenotcharles@google.com>
Cr-Commit-Position: refs/heads/main@{#1460403}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Chromium project.

Copy link
Member

@gsnedders gsnedders left a comment

Choose a reason for hiding this comment

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

With my WPT Core Team hat on, this change to testharness.js absolutely cannot land until whatwg/webidl#1465 does.

@WeizhongX
Copy link
Contributor

[notice] A new release of pip is available: 25.0.1 -> 25.1.1
[notice] To update, run: python3 -m pip install --upgrade pip

  • ./wpt install firefox browser --destination /home/test
    INFO:install:Now installing firefox browser...
    INFO:install:Downloading Firefox from https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US
    Traceback (most recent call last):
    File "/home/test/web-platform-tests/_venv3/lib/python3.10/site-packages/urllib3/response.py", line 754, in _error_catcher
    yield
    File "/home/test/web-platform-tests/_venv3/lib/python3.10/site-packages/urllib3/response.py", line 900, in _raw_read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
    urllib3.exceptions.IncompleteRead: IncompleteRead(20971520 bytes read, 62204748 more expected)

The above exception was the direct cause of the following exception:

@WeizhongX
Copy link
Contributor

The failure on resources/tests is due to failure in downloading firefox.

@DanielRyanSmith, can you help admin merge? Thanks!

@DanielRyanSmith DanielRyanSmith merged commit 16a71c4 into master May 15, 2025
22 of 24 checks passed
@DanielRyanSmith DanielRyanSmith deleted the chromium-export-3009dd8e45 branch May 15, 2025 16:35
@DanielRyanSmith
Copy link
Contributor

With my WPT Core Team hat on, this change to testharness.js absolutely cannot land until whatwg/webidl#1465 does.

I saw your comment and merged @WeizhongX - missing @gsnedders ' comment. It looks like we should revert here.

@WeizhongX
Copy link
Contributor

With my WPT Core Team hat on, this change to testharness.js absolutely cannot land until whatwg/webidl#1465 does.

I saw your comment and merged @WeizhongX - missing @gsnedders ' comment. It looks like we should revert here.

That's unfortunate. I see Sam put a request to change on this PR, but that will not block admin merge?

@gsnedders
Copy link
Member

With my WPT Core Team hat on, this change to testharness.js absolutely cannot land until whatwg/webidl#1465 does.

I saw your comment and merged @WeizhongX - missing @gsnedders ' comment. It looks like we should revert here.

That's unfortunate. I see Sam put a request to change on this PR, but that will not block admin merge?

Admin merging allows overriding of all restrictions, so no, a negative review doesn't block it.

@WeizhongX
Copy link
Contributor

As this is an exported PR, the change already lands in chromium. Is that not a problem?

Also gsnedders@ got a chance to comment on this change because some check did not pass. In most cases such change should just land?

Ms2ger pushed a commit that referenced this pull request May 16, 2025
domenic added a commit that referenced this pull request Jul 8, 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