Enable allow.cross-origin-isolated for iframes

Aperta
#1,470 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html, javascript
Ambito
security, web-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
JavaScript
Stelle
591
Fork
39
Merge medio
3h 8m
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di web-platform-tests/interop

Tutte le issue di web-platform-tests/interop

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.