← v160/sharedworkerconnecteventemptystringdata · conformance
critique · rev 1
v160/sharedworkerconnecteventemptystringdata
Implementation-sufficient Chrome 160 reference for SharedWorkerConnectEventEmptyStringData (5142074717503488), sourced from HTML Living Standard #run-a-worker and #dom-sharedworker, Blink shared_worker_global_scope.cc, WPT connect-event.html, BCD, webstatus.dev, and the live Chrome Platform Showcase embed.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Normative spec sentence quoted verbatim from HTML Living Standard #run-a-worker (fetched 2026-11-24); Blink SharedWorkerGlobalScope::Connect() implementation read directly from shared_worker_global_scope.cc (initMessageEvent with g_empty_string behind SharedWorkerConnectEventEmptyStringData); WPT connect-event.html and connect-event.js read raw; BCD Firefox 65 note verified from api/SharedWorkerGlobalScope.json. |
| milestone-mapping | 5/5 | info | Feature 5142074717503488 appears under 'Enabled by default' in /api/v0/features?milestone=160 with listing name 'SharedWorkerConnectEventEmptyStringData'; slug sharedworkerconnecteventemptystringdata matches lib/chromestatus.ts slugify(); H1 textContent equals listing name (with <wbr> for mobile wrapping); declared ChromeStatus row links https://chromestatus.com/feature/5142074717503488. |
| completeness | 5/5 | info | reference-contract.json maps 3 source-derived inventory items (MessageEvent.data initialization, connect event dispatch contract, and null-sentinel migration) across all 9 dimensions with explicit outOfScope rationales for context-only IDL members. |
| explanation-quality | 5/5 | info | Documents exact before/after values of every MessageEvent property, explains nullish-coalescing (??) and strict-equality traps, and distinguishes browser-dispatched connect events from synthetic new MessageEvent('connect') calls. |
| examples | 5/5 | info | Includes two complete semantic <pre tabindex='0'><code> examples (spec-compliant onconnect handler and before/after migration) plus an embedded live Chrome Platform Showcase iframe (connect-event-inspector) and links to three sibling concept demos. |
| browser-compat-fallbacks | 5/5 | info | Combines BCD api/SharedWorkerGlobalScope.json (including the Firefox 65 note and Chrome Android 148) with ChromeStatus 160 desktop/Android/WebView, webstatus.dev shared-workers Baseline Newly available (since 2026-05-05), and WPT connect-event.html. |
| links-validity | 5/5 | info | Every visible source and citation label carries a direct <a href> with target='_blank' rel='noopener'; all HTML spec, Blink source/IDL, WPT, BCD, webstatus.dev, ChromeStatus, and 4 CPS concept URLs verified on 2026-11-24. |
| accessibility | 5/5 | info | Single <main>, single <h1>, sequential h2/h3 hierarchy, local <nav aria-label='On this page'>, captioned semantic tables with <th scope>, focusable .table-wrap and <pre tabindex='0'>, descriptive iframe title, and :focus-visible outline. |
| responsive-ux | 5/5 | info | Uses <wbr> inside the long CamelCase H1 so 360px mobile wraps cleanly without horizontal overflow, shared /public/styles.css tokens, horizontal table scrollers, and responsive iframe; verified via npm run responsive at desktop (1280x800) and mobile (360x740). |
| showcase-demo-relationship | 5/5 | info | CPS v160/sharedworkerconnecteventemptystringdata/ and all 4 concept routes HEAD-checked 200 on 2026-11-24. Primary embed connect-event-inspector/ carries sandbox='allow-scripts allow-same-origin' and referrerpolicy='strict-origin-when-cross-origin', with parent conformance suite verified 200. |
modern-web-guidance consulted
- responsive data table on mobile without horizontal overflow — Use logical sizing properties (max-inline-size), display: block on replaced elements like <iframe>, flex-wrap: wrap for wrapping lists, and overflow: auto for scroll containers without overflow: hidden clipping. (Applied: .table-wrap uses max-inline-size: 100%, .example-embed iframe uses display: block and max-width: 100%, and wide tables scroll inside focusable regions.)
- accessible semantic navigation landmarks focus visible — Use semantic landmarks (<header>, <nav>, <main>, <footer>), sequential headings, semantic tables with <caption> and <th scope>, descriptive iframe titles, and visible :focus-visible outlines. (Applied: single <main>, <header class='lede-block'>, <nav class='local-nav' aria-label='On this page'>, captioned tables with <th scope='col|row'>, descriptive iframe title, and 3px :focus-visible outline on .table-wrap.)
- technical documentation typography readability inline code headings — Use text-wrap: balance on headings and prevent long unbreakable tokens from causing narrow-viewport overflow. (Applied: inherited /public/styles.css heading balance without inline h1/pre/code overrides, and inserted <wbr> breakpoints into the 39-character CamelCase H1 so mobile wraps cleanly at word boundaries.)
- accessible semantic navigation landmarks focus visible — Use <blockquote cite='...'> for normative quotations, <pre tabindex='0'><code> for scrollable code blocks, and loading='lazy' on below-the-fold iframes. (Applied: cite attribute on the HTML Living Standard spec quote, <pre tabindex='0'><code> on IDL and example blocks, and loading='lazy' with descriptive title on the CPS iframe.)
open questions
- Update BCD note in the compatibility table once mdn/browser-compat-data adds a Chrome 160 empty-string note to api.SharedWorkerGlobalScope.connect_event.
follow-up goals
- [low · targeted-fix] Refresh the Browser compatibility table once BCD adds a Chrome 160 note to api.SharedWorkerGlobalScope.connect_event.