fix: a page whose origin has no host is never told an address by accountsChanged (closes #564) #570

Merged
clawbot merged 1 commits from issue-564-opaque-origin-accounts-changed into next 2026-10-19 00:59:40 +02:00
1 Commits
Author SHA1 Message Date
sneak d79d48f6ec fix: a page whose origin has no host is never told an address by accountsChanged (closes #564)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
On an address switch the background judges each tab by the origin of its URL. A page its server sandboxes has the origin "null" at a connected site's URL, and was sent the new active address. The background now names the origin it judged by on each accountsChanged event, and the content script passes the address on only when the page's own origin (window.origin) is that one; otherwise the page gets an empty list.

Model: opus-5-5
2026-10-18 22:10:25 +00:00