Skip to content

Commit 5be9e62

Browse files
Make about:srcdoc traversals use policy container from history
This is the current behavior of Chrome, and is that of Firefox for CSP. Part of #6809.
1 parent ffd666a commit 5be9e62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86508,8 +86508,8 @@ interface <dfn interface>BarProp</dfn> {
8650886508
must have been deleted, too. We might want to store the policy container alongside the blob URL
8650986509
entry directly (https://github.com/w3c/FileAPI/issues/142), and then reconsider this. -->
8651086510

86511-
<li><p>If <var>url</var> is <code>about:srcdoc</code>, then return false.</p></li>
86512-
86511+
<!-- See about:srcdoc discussion:
86512+
https://github.com/whatwg/html/issues/6809#issuecomment-1170924595 -->
8651386513
<li><p>If <var>url</var> <span data-x="is-local">is local</span>, then return true.</p></li>
8651486514

8651586515
<li><p>Return false.</p></li>

0 commit comments

Comments
 (0)