Populated OS key mapping or unsupported browser context
Genuine Windows and macOS Chromium desktops return 50+ printable scancode keys, while Firefox, Safari, and unsupported contexts pass without penalty.
Queries navigator.keyboard.getLayoutMap() in supported top-level desktop Chromium contexts to detect Windows or macOS containers returning a zero-key layout map.
In top-level Chromium contexts where navigator.keyboard.getLayoutMap() is exposed, the probe reads the size of the returned KeyboardLayoutMap dictionary.
When a session claiming Windows or macOS reports an active API returning zero mapped keys (size equals 0), a hardware-consistency notice is raised; browsers or contexts where the API is unavailable are safely ignored.
Consumer Chromium running on physical Windows or macOS hardware queries OS keyboard tables to populate 50 or more scancode entries (KeyA, Digit1, etc.).
Headless Linux Docker containers lacking X11 or Wayland display keyboard mappings—or restricted embedded views—often return an empty zero-key map even when spoofing Windows or macOS user agents.
Genuine Windows and macOS Chromium desktops return 50+ printable scancode keys, while Firefox, Safari, and unsupported contexts pass without penalty.
A containerized headless browser lacking physical OS display keymaps reports zero entries despite claiming a Windows or macOS desktop environment.
Forensic significance: Supporting hardware-environment check for Windows and macOS Chromium claims; safely ignores unsupported browsers and clears upon human interaction.