Commit b76547e
committed
fix(extension): include targetId in detach event and forward close to extension
- Add targetId to synthetic Target.detachedFromTarget so Playwright's
CRBrowser._onDetachedFromTarget can look up the page correctly
- Forward Target.closeTarget to the extension so the actual browser
tab is removed, keeping browser UI in sync with Playwright state1 parent 421d507 commit b76547e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
347 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
348 | 352 | | |
349 | 353 | | |
350 | | - | |
| 354 | + | |
351 | 355 | | |
352 | 356 | | |
353 | 357 | | |
| |||
0 commit comments