Enable allow.cross-origin-isolated for iframes

オープン
#1,470 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
html, javascript
領域
security, web-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
JavaScript
スター
591
フォーク
39
平均マージ
3時間 8分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

web-platform-tests/interop のほかの issue

web-platform-tests/interop の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。