Focus and style reads still run in the page's own world
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #341 de @eparenti — fusionado
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- playwright, typescript
- Área
- accessibility, testing
Línea de trabajo
Start with focusBody, activeElementIs, activeElementWithin, and the getComputedStyle reads in src/deps/real.ts, then trace how element paths and announcement capture run in isolated worlds. Add tests where page scripts redefine each function used by these reads. Done means the reads run in an isolated world and the tests show page redefinitions cannot falsify focus or style checks.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
Some page reads still run in the page's own JavaScript world: focusBody, activeElementIs, activeElementWithin, and the getComputedStyle reads in src/deps/real.ts. Page script can redefine document.querySelector or getComputedStyle, and then a focus check reports whatever the page wants.
Why it matters
Page text and page script are untrusted. Element paths and the announcement capture now run in isolated worlds. These reads should too, or a hostile page can pass a keyboard or focus check it fails.
Expected
Run these reads in the same kind of isolated world, and add a test for a page that redefines each function it uses.
Status
Found while moving element paths and the announcement capture into isolated worlds. The threat model lists it as not handled yet.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 6 h 42 min
- PR fusionados (30 d)
- 44
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 usabl-dev/usabl
-
area: engine enhancement performance
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Scan browser runs without Chromium's sandboxPosiblemente ocupada @eparenti la tomó hoy. Abiertoarea: engine security
Dificultad 4/5 3-5 días Aptitud para principiantes 46/100
Los mantenedores suelen responder en 1 día
-
area: engine enhancement performance
Dificultad 4/5 1-2 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
area: engine enhancement performance
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de usabl-dev/usabl
Issues similares
-
fix(worker): keep normal prepare waiting states failure-freePosiblemente ocupada @LichKing-2234 la tomó hoy. Abiertoagent:codex priority:P1
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AgoraIO-Extensions/agent-infra#3745 ·
Los mantenedores suelen responder en 1 día
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framingPosiblemente ocupada @Eapp1e la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
makecindy/cindy#7973 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
lingdojo/kana-dojo#33337 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
coder/xum#7733 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
code-yeongyu/senpi#4917 · 1 comentario ·
Los mantenedores suelen responder en 1 día