Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: db5056a17c6ac47b20933b8da9f50c43ccb1846f
https://github.com/WebKit/WebKit/commit/db5056a17c6ac47b20933b8da9f50c43ccb1846f
Author: Fujii Hironori <[email protected]>
Date: 2026-01-05 (Mon, 05 Jan 2026)
Changed paths:
M Source/WebCore/dom/TrustedType.cpp
Log Message:
-----------
Get a JSLock in WebCore::processValueWithDefaultPolicy
https://bugs.webkit.org/show_bug.cgi?id=304922
Reviewed by Darin Adler.
An assertion heap.vm().currentThreadIsHoldingAPILock() in
JSC::LocalAllocator::allocateSlowCase randomly failed for
imported/w3c/web-platform-tests/trusted-types/navigate-to-javascript-url-002.html
test.
WebCore::processValueWithDefaultPolicy() should take a JSLockHolder before
using JSC.
* Source/WebCore/dom/TrustedType.cpp:
(WebCore::processValueWithDefaultPolicy):
Canonical link: https://commits.webkit.org/305119@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications