Enable allow.cross-origin-isolated for iframes

Abierto
#1,470 1 comentario 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
html, javascript
Área
security, web-dev

Línea de trabajo

The issue is about enabling the 'cross-origin-isolated' permission for iframes. Start by reading the linked spec section on policy-controlled features and the web-feature page. Examine the existing WPT test at the provided link to understand the current behavior. Look for where iframe 'allow' attributes are handled in the codebase and add support for the new feature. Verify changes by running the relevant WPT tests.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

focus-area-proposal
Description

Web applications relying on SharedArrayBuffers or high resolution timers have been possible for top-level sites since the introduction and adoption of COOP / COEP across browsers since late 2021. From my understanding it is not sufficient for resources in iframes and the parent contexts to all be served with COOP / COEP headers but the iframe must also be configured with allow="cross-origin-isolated".

There is a separate interop for the full Permissions Policy implementation. This proposal is narrowly for enabling allow.cross-origin-isolated on iframes which has limited cross-browser support based on MDN browser compatibility tables for iframe.allow.

This interop is submitted under the (possibly incorrect) assumption this feature could be implemented independently of the full Permissions Policy feature similar to other existing iframe allow configurations. Relevant wpt.fyi results.

Specification

https://html.spec.whatwg.org/multipage/infrastructure.html#policy-controlled-features

web-feature

https://web-platform-dx.github.io/web-features-explorer/features/permissions-policy/

Test Links

https://wpt.fyi/results/html/cross-origin-embedder-policy/cross-origin-isolated-permission-iframe.https.window.html

Additional Signals

No response

Lenguaje dominante
JavaScript
Estrellas
591
Forks
39
Merge medio
3 h 8 min
PR fusionados (30 d)
2

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de web-platform-tests/interop

Todos los issues de web-platform-tests/interop

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.