gstack/browse/test
Garry Tan 9265d27fa1
fix(browse): sidebar Terminal — drop the duplicate WS subprotocol header, stop doubling CJK IME input
The terminal client passed the auth token as the WS subprotocol AND echoed
it in a second header, which some Chromium builds reject; and composition
events double-sent CJK input (each IME commit arrived once from the
composition handler and once from the data handler). One auth path, one
input path; also fixes the terminal-agent test that failed on clean main.

Contributed by @mindsurf0176 (PR #2515).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 20:20:55 -07:00
..
fixtures
…
activity.test.ts
…
adversarial-security.test.ts
…
batch.test.ts fix(test): remove all 8 delayed process.exit teardown bombs — the tier-1 gate can finally fail 2026-08-14 20:20:51 -07:00
bridge-chromium-e2e.test.ts
…
browse-client.test.ts
…
browser-manager-custom-chromium.test.ts
…
browser-manager-unit.test.ts
…
browser-skill-commands.test.ts
…
browser-skill-write.test.ts
…
browser-skills-e2e.test.ts
…
browser-skills-storage.test.ts
…
build-command-response.test.ts
…
build.test.ts
…
bun-polyfill.test.ts fix(windows): give the bun-polyfill spawn shim a real `exited` promise 2026-08-14 20:20:53 -07:00
cdp-allowlist.test.ts
…
cdp-e2e.test.ts
…
cdp-inspector-history-cap.test.ts
…
cdp-mutex.test.ts
…
cdp-session-cleanup.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
claude-bin.test.ts
…
cli-setsid-daemonize.test.ts
…
cli-supervisor.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
commands.test.ts fix(test): remove all 8 delayed process.exit teardown bombs — the tier-1 gate can finally fail 2026-08-14 20:20:51 -07:00
compare-board.test.ts fix(test): remove all 8 delayed process.exit teardown bombs — the tier-1 gate can finally fail 2026-08-14 20:20:51 -07:00
config.test.ts
…
content-security.test.ts fix(test): remove all 8 delayed process.exit teardown bombs — the tier-1 gate can finally fail 2026-08-14 20:20:51 -07:00
cookie-import-browser.test.ts
…
cookie-picker-routes.test.ts
…
daemon-mismatch-refuse.test.ts
…
data-platform.test.ts
…
domain-skills-e2e.test.ts
…
domain-skills-storage.test.ts
…
dual-listener.test.ts test(browse): align dual-listener and terminal-agent static guards with the current source 2026-08-14 20:20:50 -07:00
dx-polish.test.ts
…
error-handling.test.ts
…
extension-sender-auth.test.ts fix(extension): deny token/port reads to content-script and foreign senders 2026-08-14 20:20:50 -07:00
extension-token.test.ts v1.63.0.0 feat: GStack 2 fork port wave — egress receipts, context-bill, sharded gate, /health fix (#2541) 2026-08-14 09:28:56 -07:00
file-drop.test.ts
…
file-permissions.test.ts fix(windows): grant icacls ACEs by *SID, not unqualified username 2026-08-14 20:20:53 -07:00
find-browse.test.ts
…
findport.test.ts
…
from-file-path-validation.test.ts
…
gstack-config.test.ts fix(gstack-config): accept @local endpoint ids for brain_trust_policy 2026-07-10 11:21:19 -07:00
gstack-update-check.test.ts test(update-check): fixture links gstack-egress-lib.sh — all 38 tests failed on main 2026-08-14 20:20:50 -07:00
handoff.test.ts fix(test): remove all 8 delayed process.exit teardown bombs — the tier-1 gate can finally fail 2026-08-14 20:20:51 -07:00
learnings-injection.test.ts
…
memory-command.test.ts
…
memory-leak-reproducer.test.ts
…
pair-agent-e2e.test.ts v1.63.0.0 feat: GStack 2 fork port wave — egress receipts, context-bill, sharded gate, /health fix (#2541) 2026-08-14 09:28:56 -07:00
pair-agent-tunnel-eval.test.ts
…
path-validation.test.ts
…
pdf-flags.test.ts
…
platform.test.ts
…
process-liveness-windows.test.ts fix(terminal-agent): tie agent lifetime to its owning browse server PID 2026-08-14 20:20:53 -07:00
proxy-config.test.ts
…
proxy-redact.test.ts
…
pty-inject-scan.test.ts
…
pty-session-lease.test.ts
…
regression-pr1169-pdf-from-file-invalid-json.test.ts
…
restart-env.test.ts
…
sanitize.test.ts
…
screenshot-size-guard.test.ts
…
security-adversarial-fixes.test.ts
…
security-adversarial.test.ts
…
security-audit-r2.test.ts
…
security-bench-ensemble-live.test.ts
…
security-bench-ensemble.test.ts
…
security-bench.test.ts
…
security-bunnative.test.ts
…
security-classifier-download-cleanup.test.ts
…
security-classifier-tdz.test.ts
…
security-classifier.test.ts
…
security-integration.test.ts
…
security-live-playwright.test.ts fix(test): remove all 8 delayed process.exit teardown bombs — the tier-1 gate can finally fail 2026-08-14 20:20:51 -07:00
security-review-flow.test.ts
…
security-sidecar-client.test.ts
…
security-sidepanel-dom.test.ts
…
security-source-contracts.test.ts
…
security.test.ts
…
server-auth.test.ts v1.63.0.0 feat: GStack 2 fork port wave — egress receipts, context-bill, sharded gate, /health fix (#2541) 2026-08-14 09:28:56 -07:00
server-embedder-terminal-port.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
server-factory.test.ts
…
server-flush-trackers.test.ts
…
server-no-import-side-effects.test.ts
…
server-proxy-fail-fast.test.ts
…
server-pty-lease-routes.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
server-sanitize-surrogates.test.ts
…
server-tmp-state-path.test.ts
…
sidebar-security.test.ts
…
sidebar-tabs.test.ts test(browse): delete the orphaned sidebar chat-queue suite; align sidebar-ux/tabs with the PTY-only sidebar 2026-08-14 20:20:50 -07:00
sidebar-unit.test.ts
…
sidebar-ux.test.ts test(browse): delete the orphaned sidebar chat-queue suite; align sidebar-ux/tabs with the PTY-only sidebar 2026-08-14 20:20:50 -07:00
sidepanel-patient-autoconnect.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
sidepanel-reattach.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
sidepanel-restart-dispose.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
skill-token.test.ts
…
snapshot.test.ts fix(test): remove all 8 delayed process.exit teardown bombs — the tier-1 gate can finally fail 2026-08-14 20:20:51 -07:00
socks-bridge.test.ts
…
sse-helpers.test.ts
…
sse-session-cookie.test.ts
…
state-ttl.test.ts
…
stealth-extended.test.ts
…
stealth-layer-c.test.ts
…
stealth-webdriver.test.ts
…
tab-each.test.ts
…
tab-guardrail.test.ts
…
tab-isolation.test.ts
…
tab-session-frame-detach.test.ts
…
telemetry.test.ts
…
terminal-agent-detach-reattach.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
terminal-agent-integration.test.ts fix(browse): sidebar Terminal — drop the duplicate WS subprotocol header, stop doubling CJK IME input 2026-08-14 20:20:55 -07:00
terminal-agent-internal-handler.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
terminal-agent-keepalive.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
terminal-agent-owner-watchdog.test.ts ci(windows): curate the fix-wave regression tests into the windows-latest run 2026-08-14 20:20:54 -07:00
terminal-agent-pid-identity.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
terminal-agent-ring-buffer-runtime.test.ts
…
terminal-agent-session-routing.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
terminal-agent-watchdog.test.ts fix(watchdog): signal-0 liveness, tick-scaled respawn guard, windowsHide 2026-08-14 20:20:53 -07:00
terminal-agent.test.ts fix(browse): sidebar Terminal — drop the duplicate WS subprotocol header, stop doubling CJK IME input 2026-08-14 20:20:55 -07:00
test-server.ts
…
token-registry.test.ts
…
tunnel-gate-unit.test.ts
…
url-validation.test.ts fix(browse): allow about:blank so a restarted daemon can initialise 2026-08-14 20:20:51 -07:00
watch.test.ts
…
watchdog.test.ts
…
welcome-page.test.ts
…
xvfb.test.ts
…