From 81f4beda43da5fedeaadad4607a981d485d8fb94 Mon Sep 17 00:00:00 2001
From: Kpa-clawbot <259247574+Kpa-clawbot@users.noreply.github.com>
Date: Mon, 30 Mar 2026 18:55:26 -0700
Subject: [PATCH] Fix BYOP keydown handler cleanup and add regressions
- bind packet Escape key listener via bindDocumentHandler and clean it in destroy
- add VM-based regression tests for BYOP overlay singleton/cleanup and handler dedupe across re-init
- bump public cache-buster versions in index.html
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
public/index.html | 56 ++++++-------
public/packets.js | 11 ++-
test-frontend-helpers.js | 172 +++++++++++++++++++++++++++++++++++++++
3 files changed, 208 insertions(+), 31 deletions(-)
diff --git a/public/index.html b/public/index.html
index fb43f146..46d5052e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -22,9 +22,9 @@
-
-
-
+
+
+
@@ -81,30 +81,30 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+