
Ten tabs, one WebSocket: electing a leader tab with Web Locks
How a browser app with a shared IndexedDB replica picks one tab to hold the socket, how the other tabs follow over BroadcastChannel, and two bugs that left users stuck behind a useless leader.


