Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 81bef3abc27884e7094548550187082fc6eacfd4
https://github.com/WebKit/WebKit/commit/81bef3abc27884e7094548550187082fc6eacfd4
Author: Anne van Kesteren <[email protected]>
Date: 2026-01-06 (Tue, 06 Jan 2026)
Changed paths:
M Source/WebCore/bridge/objc/objc_runtime.mm
M Source/WebCore/bridge/runtime_array.cpp
M Source/WebCore/bridge/runtime_object.cpp
Log Message:
-----------
REGRESSION(305023@main): cannot jsCast during destroy
https://bugs.webkit.org/show_bug.cgi?id=304954
rdar://167574965
Reviewed by Chris Dumez.
Destruction of a JS object invalidates its classInfo and jsCast builds
on that. So during destruction we have no choice but to use
static_cast.
I've verified locally that this progresses the test. It first failed
2/4 and with this change passed 1000/1000 iterations.
Canonical link: https://commits.webkit.org/305154@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications