playwright/packages
Dmitry Gozman ed99ac7395
fix(sigint): make sure we do not add handler twice (#24413)
In the following scenario, we were adding SIGINT handler twice, but
removing it just once:
- Task runner starts testing, creates SigIntWatcher, installs SIGINT
handler.
- Press Ctrl+C, task runner interrupts, disarms SigIntWatcher, SIGINT
handler is not removed due to 1000ms cooldown.
- Task runner starts cleanup, creates SigIntWatcher, installs another
SIGINT handler.
- Cleanup finishes, SigIntWatcher disarms, could remove or not remove
SIGINT handler based on timing (same 1000ms cooldown). In any case, we
have one or two SIGINT handlers still on.
- HTML reporter hangs in onExit, while we still have SIGINT handler up,
so Ctrl+C does not exit.

Regressed in #24265.
2023-07-25 18:35:38 -07:00
..
html-reporter chore: ensure module deps in ct-core (#24056) 2023-07-06 12:01:45 -07:00
playwright chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-chromium chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-core chore: skip tests that fail in cross-machine service mode (#24412) 2023-07-25 16:47:04 -07:00
playwright-ct-core fix(ct): remove json typechecking (#24114) 2023-07-24 15:22:20 -07:00
playwright-ct-react chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-ct-react17 chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-ct-solid chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-ct-svelte chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-ct-vue chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-ct-vue2 chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-firefox chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
playwright-test fix(sigint): make sure we do not add handler twice (#24413) 2023-07-25 18:35:38 -07:00
playwright-webkit chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
protocol/src feat(electron): support tracesDir option (#23947) 2023-06-28 16:32:16 -07:00
recorder feat(ui): render all console / network messages in trace (#24115) 2023-07-10 12:56:56 -07:00
trace/src feat(trace): render Node console messages in trace (#24139) 2023-07-10 18:36:28 -07:00
trace-viewer fix(tracing): do not throw on missing attachments (#24409) 2023-07-25 14:32:56 -07:00
web fix(ui): bump min sidebar size (#24193) 2023-07-13 15:14:49 -07:00
.eslintrc-with-ts-config.js lint: prevent object string concatenation (#23172) 2023-05-19 15:17:43 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00