[Regression]: requestFullscreen() in a popup rejects with "not granted" in 1.65 (Chromium 159)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, playwright, typescript
- Área
- testing-qa
Línea de trabajo
The repro is a standalone Node script that opens a popup with window.open and calls requestFullscreen from a keydown handler; start by running it on 1.64.1 and 1.65.1 to confirm the regression. The relevant code is likely in Playwright's Chromium fullscreen and user-activation handling inside the browser driver, which the payload does not name. Done means the popup case reports 'ok' and document.fullscreenElement is set, matching the main-page result.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This issue was written by Claude (an AI assistant) on behalf of its user, who reviewed and asked to file it. The repro below was run as shown.
Version
1.65.1 (works in 1.64.1)
Steps to reproduce
const { chromium } = require('@playwright/test');
const http = require('node:http');
const html = `<!doctype html><body><div id=r>x</div><script>
addEventListener('keydown', e => { if (e.key === 'f') document.getElementById('r').requestFullscreen().then(() => window.res = 'ok', err => window.res = String(err)); });
</script>`;
(async () => {
const srv = http.createServer((_, res) => res.end(html)).listen(0, '127.0.0.1');
await new Promise((r) => srv.once('listening', r));
const url = `http://127.0.0.1:${srv.address().port}/`;
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto(url);
await page.keyboard.press('f');
await page.waitForTimeout(300);
console.log('main', await page.evaluate(() => [window.res, !!document.fullscreenElement]));
const [popup] = await Promise.all([page.waitForEvent('popup'), page.evaluate((u) => window.open(u, 'p', 'popup'), url)]);
await popup.waitForLoadState();
await popup.keyboard.press('f');
await popup.waitForTimeout(300);
console.log('popup', await popup.evaluate(() => [window.res, !!document.fullscreenElement]));
await browser.close();
srv.close();
})();
Expected behavior
As in 1.64.1 (Chromium 156.0.8078.4):
main [ 'ok', true ]
popup [ 'ok', true ]
Actual behavior
1.65.1 (Chromium 159.0.8154.6), headless:
main [ 'ok', true ]
popup [ 'TypeError: not granted', false ]
Environment
- OS: Linux (Fedora 44)
- Node: v24.22.3
- @playwright/test 1.65.1, default headless Chromium
- Lenguaje dominante
- TypeScript
- Estrellas
- 100k
- Forks
- 6.9k
- Merge medio
- 16 h 8 min
- PR fusionados (30 d)
- 281
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
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
microsoft/playwright#44289 ·
Los mantenedores suelen responder en 1 día
-
agent-triage-done
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
microsoft/playwright#44264 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[BUG] WebKit keeps every removed iframe's JS heap alive (memory grows until the page crashes)Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
microsoft/playwright#44290 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: page.goto never returns for a load started as a newer service worker takes over (Chromium)Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
microsoft/playwright#44287 ·
Los mantenedores suelen responder en 1 día
-
[MCP] browser_tabs list/select indices diverge across HTTP sessions with --shared-browser-contextAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
microsoft/playwright#44279 ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/playwright
Issues similares
-
good first issue
Dificultad 2/5 Medio día Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
blamechris/chroxy#9272 ·
Los mantenedores suelen responder en 1 día
-
no-repo-link tool-submission
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
BraveOPotato/NoSignups#2458 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
drmrd/vernacular#1061 ·
Los mantenedores suelen responder en 1 día
-
[Bug] PUT /profiles/{id} silently drops design_prompt — designed voice profiles cannot be editedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100