← v157/web-bluetooth-make-bluetoothremotegattserver-an-eventtarget · conformance

critique · rev 1

v157/web-bluetooth-make-bluetoothremotegattserver-an-eventtarget

reviewed 2026-11-15 by gendn leaf-reference writer self-critique (2026-11-15); independent review of inventory vs sources still pending

rubric

dimensionscoreseverityevidence
factual-source-fidelity4/5infoIDL quoted verbatim from the PR #672 head 0d80357 (cloned and diffed against main 2e451c1, 2026-11-15); EventTarget IDL verbatim from dom.spec.whatwg.org; Chromium IDL on main read (': EventTarget' unconditional, maxWriteWithoutResponseSize members gated by RuntimeEnabled=WebBluetoothMaxWriteWithoutResponseSize); CL 8363084 commit message and patch read (InterfaceName, GetExecutionContext via device_, global-interface-listing + idlharness expectation updates). Bluetooth-tree non-membership read from the spec. Score 4, not 5: no Chrome build containing the change was available to execute the examples.
milestone-mapping3/5minorFeature 5138797158334464 appears in the milestone=157 listing under 'Enabled by default' with the listing name used as H1, so the route is correct per the listing rule. However CL 8363084 merged at main@{#1743596} (2026-11-13), after the M157 (#1717349), M158 (#1727472) and M159 (#1739869) branch points per chromiumdash fetch_milestones; recorded on-page in the #shipping-note warn-block. Merge-back to a release branch was not checked.
completeness4/5infoInventory = inheritance contract + 3 inherited methods, each with a stable child route covering all nine dimensions (reference-contract.json, validate-artifacts PASS). Pre-existing members and the separately shipped maxWriteWithoutResponseSize/onmaxwritewithoutresponsesizechanged are listed in outOfScope with rationale.
explanation-quality4/5infoLifecycle section explains the non-obvious consequences: device.gatt is the same object so listeners survive reconnects; the server is not in the Bluetooth tree so nothing propagates; gattserverdisconnected stays on BluetoothDevice; until the maxwrite feature ships nothing UA-fired targets the server.
examples4/5minorOverview: feature detection, connect-and-listen, synthetic CustomEvent bus with AbortSignal; each child page has a complete example. Examples are written against IDL and not executed against a containing Chrome build or real BLE hardware (stated on-page). Local Chrome for Testing 153 probe (with --enable-experimental-web-platform-features) showed the pre-change chain: parent Object, Illegal constructor.
browser-compat-fallbacks4/5infoCompat tables from BCD api/BluetoothRemoteGATTServer.json and api/EventTarget.json fetched raw 2026-11-15; no BCD key for the inheritance itself, so that column is labelled interim ChromeStatus data with the branch-point caveat. Baseline banner = 'Limited availability' matching api.webstatus.dev/v1/features/web-bluetooth (baseline.status limited). WebView/iOS discrepancy with ChromeStatus platforms noted.
links-validity4/5minorAll source labels link directly. HEAD-checked 200 on 2026-11-15: chromestatus, bluetooth.spec.whatwg.org (+anchors verified), PR preview (+anchors), dom.spec anchors, webidl anchor, CL 8363084, issues.chromium.org/40265040, blink-dev intent, webstatus.dev, MDN, bugzil.la, webkit.org/b. github.com URLs (PR #672, standards-positions, BCD blob, WPT) return 403 through the session proxy and were not re-verified as pages; PR content was verified via git fetch of refs/pull/672/head.
accessibility4/5infoSingle h1 per page; h2/h3 outline with ids; baseline banner role=note + aria-label; tables use thead/tbody, scope=col/row headers, caption on the compat table; scrollable .table-wrap regions have tabindex=0, role=region and an accessible name plus a visible focus outline; iframe has title + figcaption; external links target=_blank rel=noopener.
responsive-ux4/5infoPlaywright 1280x800 and 360x740 DPR 2-3 on all four routes: documentElement overflow 0, no console errors. First pass showed browser names breaking mid-word in the mobile compat table; fixed with a 34rem scroll minimum inside the focusable region and normal wrapping for row headers. Screenshots read: scratchpad/shots/mobile-compatibility.png, mobile-members.png, mobile-shipping-note.png, mobile-figureexample-embed.png, desktop-figureexample-embed.png.
showcase-demo-relationship5/5infoCPS feature route and all four concepts (prototype-chain-probe, live-server-events, migration-listener-map, reconnect-lifecycle) HEAD 200 on 2026-11-15. Embedded prototype-chain-probe (hardware-free, demonstrates exactly this contract); screenshot shows it rendering inside the iframe at both widths. conformance.json cpsFeature references the CPS conformance route.

modern-web-guidance consulted

open questions

follow-up goals