Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 98e4a47776c3e68c654ba9290599a49f63cacdd0
https://github.com/WebKit/WebKit/commit/98e4a47776c3e68c654ba9290599a49f63cacdd0
Author: Helmut Januschka <[email protected]>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/structuredclone_0-expected.txt
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
M Source/WebCore/Headers.cmake
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/bindings/js/WebCoreJSClientData.cpp
M Source/WebCore/bindings/js/WebCoreJSClientData.h
M Source/WebCore/dom/DOMException.h
M Source/WebCore/dom/DOMException.idl
A Source/WebCore/dom/QuotaExceededError.cpp
A Source/WebCore/dom/QuotaExceededError.h
A Source/WebCore/dom/QuotaExceededError.idl
A Source/WebCore/dom/QuotaExceededErrorOptions.h
A Source/WebCore/dom/QuotaExceededErrorOptions.idl
Log Message:
-----------
Implement QuotaExceededError
https://bugs.webkit.org/show_bug.cgi?id=284347
Reviewed by Alex Christensen.
Implement QuotaExceededError as a DOMException subclass with quota and
requested attributes. Expose it in window and worker globals and register its
generated ErrorInstance wrapper with the custom heap cell type required by DOM
exception wrappers.
Tests:
imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/structuredclone_0.html
*
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/structuredclone_0-expected.txt:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/WebCoreJSClientData.cpp:
(WebCore::JSHeapData::JSHeapData):
* Source/WebCore/bindings/js/WebCoreJSClientData.h:
* Source/WebCore/dom/DOMException.h:
* Source/WebCore/dom/DOMException.idl:
* Source/WebCore/dom/QuotaExceededError.cpp: Added.
(WebCore::QuotaExceededError::create):
(WebCore::QuotaExceededError::QuotaExceededError):
* Source/WebCore/dom/QuotaExceededError.h: Added.
(isType):
* Source/WebCore/dom/QuotaExceededError.idl: Added.
* Source/WebCore/dom/QuotaExceededErrorOptions.h: Added.
* Source/WebCore/dom/QuotaExceededErrorOptions.idl: Added.
Co-authored-by: Yoav Weiss <[email protected]>
Canonical link: https://commits.webkit.org/320856@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications