github web-platform-tests/wpt merge_pr_47968

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
12 months ago

bluetooth: Use WebBluetoothCompanyPtr as HashMap key to avoid hash collisions

This CL switches the key type in a Bluetooth manufacturer data HashMap
from uint16_t to WebBluetoothCompanyPtr. This prevents collisions with
reserved hash values in WTF::HashMap, enabling the use of the full
uint16_t range for manufacturer UUIDs.

Bug: 356891475
Change-Id: I92da63bf834e9d0d5d2bc77d8ddbde2eba067d89
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5775642
Reviewed-by: Alex Gough ajgo@chromium.org
Reviewed-by: Jack Hsieh chengweih@chromium.org
Commit-Queue: Alvin Ji alvinji@chromium.org
Cr-Commit-Position: refs/heads/main@{#1351008}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.