[Webkit-unassigned] [Bug 279544] New: [WTF] Introduce SafeHashMap

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 14:26:54 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279544

            Bug ID: 279544
           Summary: [WTF] Introduce SafeHashMap
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zakr at apple.com
                CC: webkit-bug-importer at group.apple.com

Elevate `ASSERT`s to `RELEASE_ASSERT`s in `WTF::HashTable::checkKey()` and introduce a new type alias for a safe hashmap, aptly called `SafeHashMap`. Enable it in a single location to introduce it to the codebase (WebGPU/RenderPassEncoder.h). Followup patches will expand on this, with the ultimate goal of having HashMap be safe by default. [1]

[1] https://bugs.webkit.org/show_bug.cgi?id=278488

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240911/3d035c6a/attachment.htm>


More information about the webkit-unassigned mailing list