Files
Peter Steinberger 74052575fb fix(browser): close the created tab when opened-tab discovery is aborted (#131125)
* fix(browser): close the created tab when opened-tab discovery is aborted

* fix(browser): complete cancelled tab creation cleanup

Close newly created CDP targets on their creating socket when cancellation prevents returning the target ID. Preserve the original error even when close fails.

Capture cleanup policy and timeout before asynchronous work so runtime shutdown cannot fence compensation or mask the open error. Extend the existing cancellation tests through the real profile lifecycle.
2026-08-27 11:57:36 -07:00
..