apple: TestWebMuteSuspendsMedia aborts the test process removing observers it never added
Los mantenedores suelen responder en 1 día
Evaluación
Este issue todavía no se ha evaluado.
Descripción
What happens
TestWebMuteSuspendsMedia (internal/platform/apple/webmute_test.go) aborts the whole apple test process on macOS:
*** Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <(null) 0x0> for the key path "URL" from <WKWebView ...> because it is not registered as an observer.'
The test makes its own WKWebView, to allow autoplay, and marks the Web as made, so Web.make never runs: no handler exists and no key-value observer is added. Its cleanup then calls web.Close(), whose close removes the observers make adds, for a nil handler, which WebKit raises on.
Web views the backends make always add those observers, so apps are not affected; but the crash fails the Apple CI job of unrelated pull requests whenever the test runs, and stops every test after it in the package.
Expected
The test lets go of the view it made itself without Web.close, and passes.
- Lenguaje dominante
- Go
- Estrellas
- 684
- Forks
- 41
- Merge medio
- 8 h 8 min
- PR fusionados (30 d)
- 911
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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 nsgo-dev/nsgo
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
macos: TestInputMethodCommitAndSinkCandidates times out waiting for focus after other window testsPosiblemente ocupada @houko la tomó hoy. Abierto
nsgo-dev/nsgo#2157 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
linux: a fitted panel realized before its first fit keeps its options sizePosiblemente ocupada @houko la tomó hoy. Abierto
nsgo-dev/nsgo#2096 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
base: Radio has no LabelFunc or HintFunc, unlike Checkbox and ButtonPosiblemente ocupada @houko la tomó hoy. Abierto
nsgo-dev/nsgo#2059 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
nsgotest: no step clicks a tray icon, so a tray's menu and panel cannot be testedPosiblemente ocupada @houko la tomó hoy. Abierto
nsgo-dev/nsgo#2051 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de nsgo-dev/nsgo
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
peterstace/simplefeatures#726 ·
-
area: import bug go good first issue priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fukubie/StockLlama#69 ·
-
Add `rumpty firewall create|rm`Abiertoenhancement help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
cloverworks-hq/rumpty-cli#95 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
pulseaiclub/phi#615 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día