[Feature]: Disable Chromium feature "TcpPortRandomizationWin" by default
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- playwright, typescript
- Ambito
- testing-qa
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
🚀 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.
- Lingua principale
- TypeScript
- Stelle
- 98k
- Fork
- 6.6k
- Merge medio
- 16h 20m
- PR unite (30g)
- 301
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/playwright
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
microsoft/playwright#43581 · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Set `this.name` in `TargetClosedError` constructorForse di nuovo libera @LeonxLJX l’ha presa 48 giorni fa e non c’è nessuna pull request aperta. ApertaP3-collecting-feedback
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
microsoft/playwright#42522 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
microsoft/playwright#43586 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/playwright#43587 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 55/100
microsoft/playwright#43588 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/playwright
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Automattic/data-liberation-agent#953 ·
I maintainer di solito rispondono entro 1 giorno
-
README に GitHub の組織のバッジを足すApertadocumentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
funmary-app/funmary#399 ·
I maintainer di solito rispondono entro 1 giorno
-
area:curator enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
CassioDalla/Scrinalia#150 ·
I maintainer di solito rispondono entro 1 giorno
-
status: needs-triage v1-bug-bash
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
a2ui-project/a2ui#3533 ·
I maintainer di solito rispondono entro 1 giorno
-
backend enhancement priority:P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
geolens-io/geolens#3310 ·
I maintainer di solito rispondono entro 1 giorno