Commit 1b391d9
committed
fix(tests): dispatch logout deep-link and fix browser lifecycle
Windows:
- Extract returnTo deep-link from logout URL
- Write deep-link to Windows Registry for Unity to process
- Fixes app crash by ensuring logout callback is received
macOS:
- Kill existing Brave processes before launching with debugging port
- Prevents 'cannot connect to chrome at localhost:9222' error
- Ensures controlled logout can connect to browser
Both platforms now properly dispatch immutablerunner://logout deep-link
back to Unity after browser logout completes.1 parent dc755d5 commit 1b391d9
3 files changed
Lines changed: 25 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | 175 | | |
178 | 176 | | |
179 | | - | |
180 | | - | |
| 177 | + | |
| 178 | + | |
181 | 179 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | 180 | | |
186 | | - | |
187 | | - | |
188 | 181 | | |
189 | 182 | | |
190 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | 311 | | |
315 | 312 | | |
| 313 | + | |
316 | 314 | | |
317 | 315 | | |
318 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
381 | 402 | | |
382 | 403 | | |
383 | 404 | | |
| |||
0 commit comments