Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9645ffd1788c112743c7033e68fdd514836d6e91
https://github.com/WebKit/WebKit/commit/9645ffd1788c112743c7033e68fdd514836d6e91
Author: Yijia Huang <[email protected]>
Date: 2024-11-12 (Tue, 12 Nov 2024)
Changed paths:
M Source/JavaScriptCore/CMakeLists.txt
M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
M Source/JavaScriptCore/runtime/DeferredWorkTimer.cpp
M Source/JavaScriptCore/runtime/DeferredWorkTimer.h
A Source/JavaScriptCore/runtime/DeferredWorkTimerInlines.h
M Source/JavaScriptCore/runtime/WaiterListManager.cpp
M Source/JavaScriptCore/wasm/WasmStreamingCompiler.cpp
Log Message:
-----------
[JSC] Use JSType for Validating JSObject Cast in
DeferredWorkTimer::TicketData::target()
https://bugs.webkit.org/show_bug.cgi?id=282956
rdar://139678566
Reviewed by Yusuke Suzuki.
JSCell::classInfo() is strongly discouraged on the main thread
with a sweeping state. Since DeferredWorkTimer::TicketData::target()
can be triggered in this case, we use JSType for validation in debug mode.
* Source/JavaScriptCore/runtime/DeferredWorkTimer.cpp:
(JSC::DeferredWorkTimer::TicketData::TicketData):
(JSC::DeferredWorkTimer::TicketData::target):
* Source/JavaScriptCore/runtime/DeferredWorkTimer.h:
(JSC::DeferredWorkTimer::TicketData::target): Deleted.
Canonical link: https://commits.webkit.org/286513@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes