Commit a544f89
Round 2 prod-readiness (widget): fix openTab false-blocked + probe timeout
- openTab: window.open with 'noopener' always returns null, so the old
Boolean(win) reported every successful open as blocked (misleading the two
unattended agent tools 100% of the time). Open without noopener, sever opener
manually, so only a real popup block is false.
- getSessionToken: add an AbortController client timeout (8s) so a hung
/kapa/session connection degrades to the anonymous tier instead of leaving the
drawer stuck on the loading spinner forever.
Co-Authored-By: Claude Opus 4.8 <[email protected]>1 parent e46003d commit a544f89
2 files changed
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
39 | 50 | | |
40 | 51 | | |
41 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
44 | 55 | | |
45 | 56 | | |
46 | 57 | | |
| |||
0 commit comments