Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6dfc39d4012575285a135779386b039e8404f91b
https://github.com/WebKit/WebKit/commit/6dfc39d4012575285a135779386b039e8404f91b
Author: Yusuke Suzuki <[email protected]>
Date: 2026-05-12 (Tue, 12 May 2026)
Changed paths:
M Source/WTF/wtf/OrderedHashTable.h
M Tools/TestWebKitAPI/Tests/WTF/OrderedHashMap.cpp
M Tools/TestWebKitAPI/Tests/WTF/OrderedHashSet.cpp
Log Message:
-----------
[WTF] Fix OrderedHashTable's translate call
https://bugs.webkit.org/show_bug.cgi?id=314619
rdar://176859032
Reviewed by Sosuke Suzuki.
Currently no client exists yet, but OrderedHashTable should initialize
entry with empty state before calling translate.
Tests: Tools/TestWebKitAPI/Tests/WTF/OrderedHashMap.cpp
Tools/TestWebKitAPI/Tests/WTF/OrderedHashSet.cpp
* Source/WTF/wtf/OrderedHashTable.h:
* Tools/TestWebKitAPI/Tests/WTF/OrderedHashMap.cpp:
(TestWebKitAPI::TEST(WTF_OrderedHashMap,
HashTranslatorAddConstructsEmptyBeforeAssign)):
* Tools/TestWebKitAPI/Tests/WTF/OrderedHashSet.cpp:
(TestWebKitAPI::TEST(WTF_OrderedHashSet,
HashTranslatorAddConstructsEmptyBeforeAssign)):
(TestWebKitAPI::TEST(WTF_OrderedHashSet, HashTranslatorAddIntoRawStorage)):
(TestWebKitAPI::TEST(WTF_OrderedHashSet,
HashTranslatorAddTriggersRehashAndCompact)):
Canonical link: https://commits.webkit.org/313086@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications