Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4d79cb17ccd3cf72215b33bdccf186af491affce
https://github.com/WebKit/WebKit/commit/4d79cb17ccd3cf72215b33bdccf186af491affce
Author: Keith Miller <[email protected]>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
A LayoutTests/fast/dom/DOMException/stack-trace-survives-gc-expected.txt
A LayoutTests/fast/dom/DOMException/stack-trace-survives-gc.html
M Source/JavaScriptCore/heap/Heap.cpp
M Source/JavaScriptCore/runtime/ErrorInstance.h
M Source/JavaScriptCore/runtime/VM.h
M Source/WebCore/bindings/js/WebCoreJSClientData.cpp
M Source/WebCore/bindings/js/WebCoreJSClientData.h
Log Message:
-----------
JSDOMException is not reconciling it's weak stack trace
rdar://185934634
Reviewed by Yusuke Suzuki.
319782@main added .stack (and similar) properties to DOMException
objects. However, it failed to add a weak reference reconciliation
mechanism so the stack traces collected could be collected under the
instance. This patch adds a reconcileWeakReferencesAtGCEnd hook to
JSClientData, which forwards to the various ErrorInstance subclasses'
ISOSubspaces.
Test: fast/dom/DOMException/stack-trace-survives-gc.html
Canonical link: https://commits.webkit.org/319952@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications