content: Make QuotaExceededError serializable (#38720)

Implements (de)serialization behavior for QuotaExceededError and enables
the annotation on the WebIDL spec.

Testing: Adds its own WPT tests
Fixes: https://github.com/servo/servo/issues/38685

---------

Signed-off-by: Rahul Menon <menonrahul02@gmail.com>
This commit is contained in:
Rahul Menon 2025-08-16 15:33:37 -05:00 committed by GitHub
parent e80d36783a
commit 389277fa72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 149 additions and 7 deletions

View file

@ -6,7 +6,7 @@
[
Exposed=(Window,Worker,Worklet,DissimilarOriginWindow),
// Serializable
Serializable
]
interface QuotaExceededError : DOMException {
[Throws] constructor(optional DOMString message = "", optional QuotaExceededErrorOptions options = {});