Skip to content

Commit

Permalink
Add Screen interface integration info (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
VergeA committed Sep 13, 2023
1 parent abdd958 commit bd99c82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions explainer/integration_with_web_platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ For more details, the implementation design doc can be found [here](https://docs

For privacy implications of this API and others, see [the privacy considerations](https://github.com/WICG/fenced-frame/blob/master/explainer/README.md#privacy-considerations) section.

## Screen Interface
The [Screen interface](https://drafts.csswg.org/cssom-view/#the-screen-interface) provides information about the screen of the browser's output device, and as a result that information is visible to both fenced frames and the embedder. Currently there are no plans to fence the Screen interface, meaning that its attributes will retain the same values in both the fenced frames and their embedders. Justification for this decision can be found [here](https://docs.google.com/document/d/1sZOgnAUsIzNHOs_VVWF92er1jXmNCcv6k3vvOvixeFc/edit?usp=sharing).

## Chromium implementation: Top-level browsing context using MPArch
Chromium is implementing [Multiple Page Architecture](https://docs.google.com/document/d/1NginQ8k0w3znuwTiJ5qjYmBKgZDekvEPC22q0I4swxQ/edit?usp=sharing) for various use-cases including [back/forward-cache](https://web.dev/bfcache/), [portals](https://wicg.github.io/portals/), prerendering etc. This architecture aligns with fenced frames requirement to be a top-level browsing context as MPArch enables one WebContents to host multiple pages. Additionally, those pages could be nested, as is the requirement for fenced frames.

Expand Down

0 comments on commit bd99c82

Please sign in to comment.