Skip to content

Upgrade to upstream WebKit d81bcc3d833c - #263

Merged
Jarred-Sumner merged 85 commits into
mainfrom
bun/upgrade-to-d81bcc3d833c
Jun 30, 2026
Merged

Upgrade to upstream WebKit d81bcc3d833c#263
Jarred-Sumner merged 85 commits into
mainfrom
bun/upgrade-to-d81bcc3d833c

Merge remote-tracking branch 'upstream/main' into bun/upgrade-to-d81b…

f652829
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Jun 30, 2026 in 15m 14s

Code review found 1 potential issue

Found 5 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 0
🟡 Nit 1
🟣 Pre-existing 0
Severity File:Line Issue
🟡 Nit Source/WTF/wtf/TinyLRUCache.h:55-72 TinyLRUCache copy ctor/assignment call non-const invalidateIterators() on const reference

Annotations

Check warning on line 72 in Source/WTF/wtf/TinyLRUCache.h

See this annotation in the file changed.

@claude claude / Claude Code Review

TinyLRUCache copy ctor/assignment call non-const invalidateIterators() on const reference

The new copy constructor and copy-assignment operator call `other.invalidateIterators()` on a `const TinyLRUCache&`, but `invalidateIterators()` (line 192) is non-const and writes `m_findResult` (line 236, not `mutable`). Because the class is a template these members are only instantiated on use, so this is a latent compile error: the first caller to copy a `TinyLRUCache` will fail to build with "discards qualifiers". This is upstream code so it should not block this merge, but worth reporting u