Source/modules/bluetooth implements Web Bluetooth.
Bluetooth layout tests in LayoutTests/bluetooth/ rely on fake Bluetooth implementation classes constructed in content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider. These tests span JavaScript binding to the device/bluetooth API layer.
See: Class Diagram of Web Bluetooth through Bluetooth Android