Skip to content

Commit ebf6d40

Browse files
authored
Clone <iframe srcdoc>'s node document's CSP list
See w3c/webappsec-csp#207 for context. Tests: web-platform-tests/wpt#8520. Fixes #2594.
1 parent b4edc09 commit ebf6d40

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

source

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,8 +2549,9 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
25492549
<dfn data-x="list empty" data-x-href="https://infra.spec.whatwg.org/#list-empty">empty</dfn>,
25502550
<dfn data-x="list contains" data-x-href="https://infra.spec.whatwg.org/#list-contain">contains</dfn>,
25512551
<dfn data-x="list size" data-x-href="https://infra.spec.whatwg.org/#list-size">size</dfn>,
2552-
<dfn data-x="list is empty" data-x-href="https://infra.spec.whatwg.org/#list-is-empty">is empty</dfn>, and
2553-
<dfn data-x="list iterate" data-x-href="https://infra.spec.whatwg.org/#list-iterate">iterate</dfn></li>
2552+
<dfn data-x="list is empty" data-x-href="https://infra.spec.whatwg.org/#list-is-empty">is empty</dfn>,
2553+
<dfn data-x="list iterate" data-x-href="https://infra.spec.whatwg.org/#list-iterate">iterate</dfn>, and
2554+
<dfn data-x="list clone" data-x-href="https://infra.spec.whatwg.org/#list-clone">clone</dfn></li>
25542555
<li>The <dfn data-x-href="https://infra.spec.whatwg.org/#stack">stack</dfn> data structure and the associated definitions for
25552556
<dfn data-x="stack push" data-x-href="https://infra.spec.whatwg.org/#stack-push">push</dfn> and
25562557
<dfn data-x="stack pop" data-x-href="https://infra.spec.whatwg.org/#stack-pop">pop</dfn></li>
@@ -29697,9 +29698,10 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
2969729698
data-x="concept-response-header-list">header list</span> consists of `<code
2969829699
data-x="">Content-Type</code>`/`<code>text/html</code>, <span
2969929700
data-x="concept-response-body">body</span> is the value of the attribute, <span
29700-
data-x="concept-response-csp-list">CSP list</span> is the <span
29701-
data-x="concept-document-csp-list">CSP list</span> of the <code>iframe</code> element's <span>node
29702-
document</span>, <span data-x="concept-response-https-state">HTTPS state</span> is the <span
29701+
data-x="concept-response-csp-list">CSP list</span> is a <span data-x="list clone">clone</span>
29702+
of the <code>iframe</code> element's <span>node document</span>'s <span
29703+
data-x="concept-document-csp-list">CSP list</span>, <span
29704+
data-x="concept-response-https-state">HTTPS state</span> is the <span
2970329705
data-x="concept-document-https-state">HTTPS state</span> of the <code>iframe</code> element's
2970429706
<span>node document</span>.
2970529707

0 commit comments

Comments
 (0)