Sign-in: recovery screenshot context misses macOS signals #1250

Closed
opened 2026-10-06 23:30:22 +00:00 by kayg · 0 comments
Owner

Steps:

  1. Run bun e2e/auth.mjs --screenshots on Linux.
  2. Inspect the guest context used for the recovery screenshots in apps/web/e2e/auth.mjs.

Expected: every sign-in screenshot reports navigator.platform === "MacIntel" and navigator.userAgentData.platform === "macOS" before the app renders.

Actual: the first-owner context emulates macOS, but the later guest context does not. Its recovery screenshots inherit default Chromium platform signals. On this host, default Chromium reports {"platform":"Linux x86_64","userAgentDataPlatform":null}. This can render platform-specific shortcut glyphs incorrectly and leaves the recovery screenshots without the required macOS rendering.

Evidence: /home/kayg/Developer/calternal-wt/bash-core/target/tmp/platform-before.txt; guest context and shoot calls in apps/web/e2e/auth.mjs.
Severity: minor.

Steps: 1. Run `bun e2e/auth.mjs --screenshots` on Linux. 2. Inspect the `guest` context used for the recovery screenshots in `apps/web/e2e/auth.mjs`. Expected: every sign-in screenshot reports `navigator.platform === "MacIntel"` and `navigator.userAgentData.platform === "macOS"` before the app renders. Actual: the first-owner context emulates macOS, but the later `guest` context does not. Its recovery screenshots inherit default Chromium platform signals. On this host, default Chromium reports `{"platform":"Linux x86_64","userAgentDataPlatform":null}`. This can render platform-specific shortcut glyphs incorrectly and leaves the recovery screenshots without the required macOS rendering. Evidence: `/home/kayg/Developer/calternal-wt/bash-core/target/tmp/platform-before.txt`; `guest` context and `shoot` calls in `apps/web/e2e/auth.mjs`. Severity: minor.
kayg closed this issue 2026-10-07 20:52:27 +00:00
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1250
No description provided.