Files
gstack/patches/playwright-core@1.65.0.patch
T
Garry Tanandcapy-ai[bot] 02d3d965a6 Playwright 1.65.0: bundled Chromium 158 drops the distrusted eMudhra root (#3338) (#4087)
* Playwright 1.65.0: bundled Chromium 158 drops the distrusted eMudhra root (#3338)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* docs: PROJECT_STRUCTURE patches note drops the TcpPortRandomizationWin backport

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* changelog.d: mark the eMudhra fix important: security (#3338)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-06 17:33:41 +00:00

18 lines
821 B
Diff

diff --git a/lib/coreBundle.js b/lib/coreBundle.js
index 559de664371f8abe23e261b4a1063e97727d9097..0714a29f8a82d6f085b3c3d18453bb6b7b46e5b2 100644
--- a/lib/coreBundle.js
+++ b/lib/coreBundle.js
@@ -10332,7 +10332,11 @@ async function launchProcess(options) {
env: options.env,
cwd: options.cwd,
shell: options.shell,
- windowsHide: options.windowsHide,
+ // gstack patch (#2160/#1989): Node defaults windowsHide to false for
+ // child_process.spawn, so browser children could flash a console window
+ // on Windows. Playwright never needs the child's window shown. Upstream
+ // 1.65 forwards options.windowsHide, which only the ffmpeg recorder sets.
+ windowsHide: true,
stdio
};
const spawnedProcess = childProcess.spawn(options.command, options.args || [], spawnOptions);