Skip to content

Reset keyToScope and lastScope in ScopeInfoBuilder.build() so a reused builder does not leak state#7

Merged
szuend merged 2 commits into
ChromeDevTools:mainfrom
gunjanjaswal:fix/builder-reset-keyToScope-lastScope
Jul 8, 2026
Merged

Reset keyToScope and lastScope in ScopeInfoBuilder.build() so a reused builder does not leak state#7
szuend merged 2 commits into
ChromeDevTools:mainfrom
gunjanjaswal:fix/builder-reset-keyToScope-lastScope

Add test for builder state reset across build() calls

a7118be
Select commit
Loading
Failed to load commit list.
Google CLA / cla/google succeeded Jul 4, 2026 in 14s

✅ All contributors are covered under a CLA with Google

See https://cla.developers.google.com/ for more info about Google's Contributor License Agreement (CLA).

ℹ️ Googlers: Go here to view more details and manage scans for this pull request.

Details

The following contributors were found for this pull request:

a7118be Author: @gunjanjaswal <h***o​@gunjanjaswal.me>, <gun******wal​@gmail.com>

(Only the first commit for a unique contributor is listed.)