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

Update [=opaque origin=] refs #524

Merged
merged 2 commits into from
Jun 30, 2023
Merged
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ spec: CSP; urlPrefix: https://www.w3.org/TR/CSP3/#
1. If the <a>allowlist</a> contains an [=origin=] representing `src`,
and it is [=same origin-domain=] with <var>origin</var>, then return true.

1. If <var>origin</var> is opaque, return false.
1. If <var>origin</var> is an [=opaque origin=], return false.

1. Otherwise, [=set/for each=] <a>permissions-source-expression</a> |item| in the <a>allowlist</a>:

Expand Down Expand Up @@ -717,10 +717,10 @@ partial interface HTMLIFrameElement {
<p>To get the <dfn>declared origin</dfn> for an Element |node|, run the
following steps:
1. If |node|'s <a>node document</a>'s <a>sandboxed origin browsing
context flag</a> is set, then return a unique opaque origin.
context flag</a> is set, then return a unique [=opaque origin=].
arichiv marked this conversation as resolved.
Show resolved Hide resolved
2. If |node|'s <{iframe/sandbox}> attribute is set, and does not contain
the <code>allow-same-origin</code> keyword, then return a unique
opaque origin.
[=opaque origin=].
3. If |node|'s <{iframe/srcdoc}> attribute is set, then return |node|'s
<a>node document</a>'s origin.
4. If |node|'s <{iframe/src}> attribute is set:
Expand Down