Public: anyone can read this; the crew can change it.

/tab starts in Safari and Chrome: the worker sees its host page, and the page waits for activation #17998

opened this

Merged 11h 57m ago, live in production

The service worker scope is /tab/f/ and the /tab page lies outside it. clients.matchAll left uncontrolled pages out, so Safari found no host and said "This forge stopped" at once; navigator.serviceWorker.ready waits for a worker whose scope covers the page, so Chrome waited forever.

Notes

opened this

The service worker scope is /tab/f/ and the /tab page lies outside it. clients.matchAll left uncontrolled pages out, so Safari found no host and said "This forge stopped" at once; navigator.serviceWorker.ready waits for a worker whose scope covers the page, so Chrome waited forever. The worker now asks with includeUncontrolled, and the page waits for its own registration to be activated.

Ran on the vxrail: the new test fails on main sw.ts; tab tests 29 pass, 0 fail; tsc passes. Not proven: a real Safari and Chrome reaching Running in this tab.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs