playwright/packages
Max Schmitt ce928cd12f
fix: make processRunner nullable (#27468)
This fixes:
```
D:\a\playwright\playwright\packages\playwright\lib\common\process.js:119
  await processRunner.gracefullyClose().catch(() => {});
                      ^

TypeError: Cannot read properties of undefined (reading 'gracefullyClose')
    at gracefullyCloseAndExit (D:\a\playwright\playwright\packages\playwright\lib\common\process.js:119:23)
    at process.<anonymous> (D:\a\playwright\playwright\packages\playwright\lib\common\process.js:81:11)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:946:14)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)
```

from
[here](https://github.com/microsoft/playwright/actions/runs/6424299724/job/17444659548#step:7:2936).

`gracefullyCloseAndExit` gets called via `__stop__` and wants to use
`processRunner` var which gets created during `__init__`. So its
`undefined` when `__stop__` gets called.
2023-10-05 22:59:20 +00:00
..
html-reporter chore: roll @zip.js/zip.js to 2.7.29 (#27047) 2023-09-13 18:39:10 +02:00
playwright fix: make processRunner nullable (#27468) 2023-10-05 22:59:20 +00:00
playwright-browser-chromium chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-browser-firefox chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-browser-webkit chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-chromium chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-core chore: align FFConnection with CRConnection (#27450) 2023-10-05 13:46:41 -07:00
playwright-ct-core chore: bump vite to 4.4.10 (#27417) 2023-10-03 14:59:13 -07:00
playwright-ct-react chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-ct-react17 chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-ct-solid chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-ct-svelte chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-ct-vue chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-ct-vue2 chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-firefox chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-test chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
playwright-webkit chore: cut 1.38.0 branch (#27004) 2023-09-11 18:16:16 -07:00
protocol/src chore: move devices from Playwright to LocalUtils (#27437) 2023-10-04 16:48:54 -07:00
recorder chore: align recorder drawer with trace viewer (#26922) 2023-09-06 17:13:25 -07:00
trace/src fix(tracing): bump trace version to V5, migrate V4 traces to consoleMessage.args (#27162) 2023-09-19 16:21:09 -07:00
trace-viewer feat(trace): allow navigating from error to source (#27464) 2023-10-05 14:59:59 -07:00
web feat(trace): allow navigating from error to source (#27464) 2023-10-05 14:59:59 -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