From 56e471e85ed636c688cb0eb691618ebbc5e61121 Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Wed, 18 Nov 2026 17:01:55 +0200 Subject: extension: name no browser in the agent guidance; Brave was hard-coded 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. --- test-suite/unit/user-window.test.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test-suite') 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"]); -- cgit v1.2.3