playwright 1.58.0-alpha-2025-11-21 → 1.58.0-alpha-2025-11-22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,6 +51,9 @@ class ProcessHost extends import_events.EventEmitter {
51
51
  async startRunner(runnerParams, options = {}) {
52
52
  (0, import_utils.assert)(!this.process, "Internal error: starting the same process twice");
53
53
  this.process = import_child_process.default.fork(require.resolve("../common/process"), {
54
+ // Note: we pass detached:false, so that workers are in the same process group.
55
+ // This way Ctrl+C or a kill command can shutdown all workers in case they misbehave.
56
+ // Otherwise user can end up with a bunch of workers stuck in a busy loop without self-destructing.
54
57
  detached: false,
55
58
  env: {
56
59
  ...process.env,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright",
3
- "version": "1.58.0-alpha-2025-11-21",
3
+ "version": "1.58.0-alpha-2025-11-22",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "license": "Apache-2.0",
66
66
  "dependencies": {
67
- "playwright-core": "1.58.0-alpha-2025-11-21"
67
+ "playwright-core": "1.58.0-alpha-2025-11-22"
68
68
  },
69
69
  "optionalDependencies": {
70
70
  "fsevents": "2.3.2"