← v160/spec-compliant-xml-mime-type-detection · conformance
critique · rev 1
v160/spec-compliant-xml-mime-type-detection
Implementation-sufficient Chrome 160 reference for Spec-compliant XML MIME type detection (5092584283308032), sourced from WHATWG MIME Sniffing, Fetch, Resource Timing, RFC 7303, Blink mime_util.cc, WPT PR #62420, BCD, webstatus.dev, and ChromeStatus.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Normative XML MIME type definition quoted verbatim from WHATWG MIME Sniffing #xml-mime-type (fetched 2026-11-24); blink::IsXMLMimeType implementation verified directly in third_party/blink/common/mime_util/mime_util.cc (lines 161-175); all five added WPT cases verified in mimesniff/mime-types/resources/mime-types-minimized.json and resource-timing/content-type-minimization.html; unchanged MIMETypeRegistry::IsXMLMIMEType and Chrome Actor details verified from ChromeStatus 5092584283308032. |
| milestone-mapping | 5/5 | info | Feature 5092584283308032 appears under 'Enabled by default' in /api/v0/features?milestone=160 with listing name 'Spec-compliant XML MIME type detection'; slug spec-compliant-xml-mime-type-detection matches lib/chromestatus.ts slugify(); H1 equals listing name; declared ChromeStatus row links https://chromestatus.com/feature/5092584283308032. |
| completeness | 5/5 | info | reference-contract.json maps 3 source-derived inventory items (WHATWG XML MIME matching in blink::IsXMLMimeType, PerformanceResourceTiming.contentType minimization, and scope/Chrome Actor/migration behavior) across all 9 dimensions with zero uninventoried WebIDL members. |
| explanation-quality | 5/5 | info | Clearly separates minimized PerformanceResourceTiming.contentType from untouched raw HTTP Content-Type headers, documents exact before/after outputs for all WPT cases, preserves the image/svg+xml exception, and explains the MIMETypeRegistry::IsXMLMIMEType and Chrome Actor scope boundaries. |
| examples | 4/5 | minor | Includes two complete semantic <pre tabindex='0'><code> examples (PerformanceObserver inspection comparing minimized contentType vs raw Content-Type header, and cross-browser RUM classification helper). No chrome-platform-showcase demo exists yet (HEAD returned 404 on 2026-11-24). |
| browser-compat-fallbacks | 5/5 | info | Combines BCD api/PerformanceResourceTiming.json (Chrome 148, Firefox 129, Safari false) with ChromeStatus 160 desktop/Android/WebView, Firefox 157.0.1 testing notes and standards-positions#705, WebKit standards-positions#88 comment 6032223882, and webstatus.dev resource-timing Baseline nuance. |
| links-validity | 5/5 | info | Every visible source and citation label carries a direct <a href> with target='_blank' rel='noopener'; all WHATWG MIME Sniffing, Fetch, Resource Timing, RFC 7303, Blink mime_util.cc, performance_resource_timing.idl, WPT, BCD, webstatus.dev, and ChromeStatus 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'>, and visible :focus-visible outline. |
| responsive-ux | 5/5 | info | Uses shared /public/styles.css semantic tokens with minimal local .table-wrap and .compat-table/.scroll-table widths, logical max-inline-size: 100%, and horizontal table scrollers; verified via npm run responsive at desktop (1280x800) and mobile (360x740). |
| showcase-demo-relationship | 4/5 | info | HEAD check on https://chrome-platform-showcase.paulkinlan-ea.deno.net/v160/spec-compliant-xml-mime-type-detection/ returned 404 on 2026-11-24; no broken iframe or speculative showcase link emitted so manifest demo remains honestly null. |
modern-web-guidance consulted
- responsive data table on mobile without horizontal overflow — Use logical sizing properties (max-inline-size), flex-wrap: wrap for wrapping lists, and overflow: auto for wide tables without overflow: hidden clipping. (Applied: .table-wrap uses max-inline-size: 100% with horizontal scrolling on the 4-column minimization and compatibility tables, and .baseline-browsers inherits flex-wrap: wrap from /public/styles.css.)
- accessible semantic navigation landmarks focus visible — Use semantic landmarks (<header>, <nav>, <main>, <footer>), sequential headings, semantic tables with <caption> and <th scope>, and explicit :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'>, and 3px :focus-visible outline on .table-wrap.)
- technical documentation typography readability inline code headings — Apply text-wrap: balance to short headings (h1-h3) and keep code/body typography consistent with shared design tokens. (Applied: inherited /public/styles.css heading balance and semantic typography without inline overrides on h1, pre, code, or blockquote.)
- accessible semantic navigation landmarks focus visible — Use <blockquote cite='...'> for normative quotations and <pre tabindex='0'><code> for scrollable code blocks. (Applied: cite attribute on the WHATWG MIME Sniffing quote and <pre tabindex='0'><code> on syntax and example blocks.)
open questions
- Update browser compatibility table once Firefox confirms standards-positions#705 or minimizes non-application +xml MIME types in PerformanceResourceTiming.contentType, and once Safari implements PerformanceResourceTiming.contentType.
- Add an embedded showcase iframe if chrome-platform-showcase publishes a v160/spec-compliant-xml-mime-type-detection concept demo.
follow-up goals
- [low · targeted-fix] Embed a live Chrome Platform Showcase iframe once a v160/spec-compliant-xml-mime-type-detection concept demo is published.
- [low · targeted-fix] Refresh the Browser compatibility table when BCD adds a subfeature for non-application +xml minimization or when Firefox/Safari update Resource Timing contentType behavior.