diff options
| author | Igor Soarez <igor@soarez.org> | 2026-11-18 17:01:55 +0200 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-11-18 17:01:55 +0200 |
| commit | 56e471e85ed636c688cb0eb691618ebbc5e61121 (patch) | |
| tree | abeb4677b651ce764613fb6a68648b3d81703583 /test-suite | |
| parent | a76fbc3b9b82038ab44c04d6379cc2d45e5cecd8 (diff) | |
Rule 10 told agents their tabs open in the user's Brave window, wrong for
anyone on Chrome or another Chromium browser. Say the user's browser window,
and the same in the worker comments and the user-window test. Record that
the inactive-tab measurement also holds in Chrome 157.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/unit/user-window.test.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-suite/unit/user-window.test.mjs b/test-suite/unit/user-window.test.mjs index af4e939..c976f28 100644 --- a/test-suite/unit/user-window.test.mjs +++ b/test-suite/unit/user-window.test.mjs @@ -1,6 +1,6 @@ // Agents' tabs go in the user's window, inactive, in per-session tab groups that start collapsed. // An inactive tab takes trusted input and renders screenshots (measured 2026-11-14), so there is no -// need for a window per session. A window is created only when Brave has none. +// need for a window per session. A window is created only when the browser has none. import assert from "node:assert/strict"; import fs from "node:fs"; import vm from "node:vm"; @@ -53,7 +53,7 @@ test("a new session's tab goes in the user's window, inactive", async () => { assert.equal(props.active, false); }); -test("a window is created only when Brave has none", async () => { +test("a window is created only when the browser has none", async () => { const { w, calls } = worker(noWindows); await w.createAutomationTarget("claude-code 2 mine", "Pi Session: claude-code 2 mine"); assert.deepEqual(ops(calls), ["windows.create"]); |
