Fix Intl.DateTimeFormat cross-compartment crash and Connection API robustness

OrigDateTimeFormat constructor called inside exportFunction callback failed
in Firefox compartment boundary. Moved construction to content-script-scope
helper. Also added addEventListener/removeEventListener to Connection override
to prevent crashes in real-time apps like Discord.
This commit is contained in:
sal
2026-03-04 22:03:12 -06:00
parent ac76f93fcb
commit 464a570201
3 changed files with 21 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "ContainSite",
"version": "0.5.1",
"version": "0.5.2",
"description": "Per-container fingerprint isolation — each container gets its own device identity",
"permissions": [
"contextualIdentities",