Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec "disable embedder-initiated nested fenced frame navigations after disabling untrusted network" #148

Merged
merged 5 commits into from
Jan 27, 2025
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,12 @@ The <dfn attribute for=HTMLFencedFrameElement>config</dfn> IDL attribute getter
Note: This holds because when the element has been removed from the DOM, its removal steps
immediately destroy the [=fenced navigable container/fenced navigable=].

1. Let |instance| be [=this=]'s [=relevant global object=]'s [=Window/browsing context=]'s
[=browsing context/fenced frame config instance=].

1. If |instance| is not null, then if |instance|'s [=fenced frame config instance/untrusted
VergeA marked this conversation as resolved.
Show resolved Hide resolved
network status=] is not [=untrusted network status/enabled=], then return.

1. Let |navigation url or urn| be the given {{FencedFrameConfig}}'s [=fencedframeconfig/url=] if
the given {{FencedFrameConfig}}'s [=fencedframeconfig/url=] is not null, and the given
{{FencedFrameConfig}}'s [=fencedframeconfig/urn=] otherwise.
Expand Down Expand Up @@ -2114,6 +2120,9 @@ exempt specific URLs from network revocation.

Issue: This will require a RFC to add a test-only function to the WPT web driver.
(<a href="https://github.com/WICG/fenced-frame/issues/192">WICG/fenced-frame#192</a>)
Once that web driver changes is made, existing Chromium-internal web platform tests for
{{Fence/disableUntrustedNetwork()}} need to be upstreamed and linked here.
(<a href="https://github.com/WICG/fenced-frame/issues/207">WICG/fenced-frame#207</a>)

<div algorithm>
To <dfn>revoke network for a partition nonce</dfn> using a [=fenced frame config
Expand Down
Loading