[webkit-changes] [WebKit/WebKit] 44bd2b: Add JSLockHolder in callers of createOutOfMemoryError
Alex Christensen
noreply at github.com
Thu Sep 19 14:05:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 44bd2b25e9d3cb7bccfb06a4a222fd1e5f516725
https://github.com/WebKit/WebKit/commit/44bd2b25e9d3cb7bccfb06a4a222fd1e5f516725
Author: Alex Christensen <achristensen at apple.com>
Date: 2024-09-19 (Thu, 19 Sep 2024)
Changed paths:
M Source/WebCore/bindings/js/JSDOMPromiseDeferred.cpp
Log Message:
-----------
Add JSLockHolder in callers of createOutOfMemoryError
https://bugs.webkit.org/show_bug.cgi?id=279999
Reviewed by Yusuke Suzuki.
createOutOfMemoryError is called from 2 places where we don't already have the lock.
This fixes an assertion hit by the API test WebKit.LoadMoreThan4GB in debug builds.
* Source/JavaScriptCore/runtime/Error.cpp:
(JSC::createOutOfMemoryError):
Canonical link: https://commits.webkit.org/283945@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list