[Feature]: Disable Chromium feature "TcpPortRandomizationWin" by default
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- playwright, typescript
- Área
- testing-qa
Línea de trabajo
Start by locating where Playwright builds Chromium launch options and configures disabled features; the issue does not name the relevant files or tests. Check how launch configuration is exposed and covered by tests, then determine whether the requested behavior belongs in defaults or a configurable option. Done means the feature can be disabled as requested and the behavior is covered by a test, including on Windows.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
🚀 Feature Request
Since a recent Chromium version, this feature is enabled and it causes intermittent test failures when running Playwright. This results in Failed to load resource: net::ERR_NO_BUFFER_SPACE errors that will fail random test cases. In our case, it fails about 50% of our runs on our Windows build servers.
This has been submitted as a bug for Chromium (see https://issues.chromium.org/issues/572515601 for all the details and reproduction). They have had contact with the Windows OS guys as well and they seem to be heading in a direction where they say that this behavior is "as expected" or where they might want to improve something in the future. If that is the case, then the proper workaround is to disable the TcpPortRandomizationWin feature and then I would like this to be disabled (by Playwright) by default.
If not, then I would like a way to append a disabled feature (or update the list of disabled features) based on configuration, without having to copy the list from the Playwright sources and keep it up to date manually.
Example
Either disable it by default, or (for example) add a config parameter like:
launchOptions: {
additionalDisabledFeatures: ['TcpPortRandomizationWin'],
}
or
launchOptions: {
disabledFeaturesFn: disabledByDefault => [...disabledByDefault, 'TcpPortRandomizationWin'],
}
Motivation
Adding this flag by default will decrease the number of intermittent failures when running Playwright on Windows.
- Lenguaje dominante
- TypeScript
- Estrellas
- 98k
- Forks
- 6.6k
- Merge medio
- 15 h 59 min
- PR fusionados (30 d)
- 296
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/playwright
-
[Bug]: `playwright install` hangs silently for ~8 minutes when PLAYWRIGHT_BROWSERS_PATH is not writablePosiblemente ocupada @dcrousso la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
microsoft/playwright#43606 ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Set `this.name` in `TargetClosedError` constructorQuizá libre de nuevo @LeonxLJX la tomó hace 49 días y no hay ningún pull request abierto. AbiertoP3-collecting-feedback
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
microsoft/playwright#42522 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Bug]: addLocatorHandler() appears to intercept its own action during expect().toPass() retriesPosiblemente ocupada @dcrousso la tomó hoy. Abiertoneeds-triage-mac
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
microsoft/playwright#43607 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
microsoft/playwright#43602 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: On Windows, parallel runs that share the transform cache fail to load a test file with EPERMPosiblemente ocupada @microsoft-playwright-automation la tomó hoy. Abiertoneeds-triage-win
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
microsoft/playwright#43601 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/playwright
Issues similares
-
[Feature]: 建议导入源后,自动切换到新导入的源Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
lyswhut/lx-music-desktop#3026 ·
-
area: ci type: test
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
schlessera/brain-kit#2769 ·
Los mantenedores suelen responder en 1 día
-
Read a vector index's quantization back on Neo4j 2026.10, which reports vector.quantization.typeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
liberation-data/drivine#231 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
alveusgg/alveusgg#2502 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día