Skip to content

Commit 00dd871

Browse files
Add note on CSP sandbox causing to iframe sandbox section (#40468)
* Add note on CSP sandbox causing to iframe sandbox section * Update files/en-us/web/http/reference/headers/origin/index.md --------- Co-authored-by: Hamish Willee <[email protected]>
1 parent 7141d3f commit 00dd871

File tree

1 file changed

+2
-1
lines changed
  • files/en-us/web/http/reference/headers/origin

1 file changed

+2
-1
lines changed

files/en-us/web/http/reference/headers/origin/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ The `Origin` header value may be `null` in a number of cases, including (non-exh
6262
- Cross-origin images and media data, including that in {{HTMLElement("img")}}, {{HTMLElement("video")}} and {{HTMLElement("audio")}} elements.
6363
- Documents created programmatically using {{domxref("DOMImplementation.createDocument", "createDocument()")}}, generated from a `data:` URL, or that do not have a creator browsing context.
6464
- Redirects across origins.
65-
- {{HTMLElement("iframe", "iframes")}} with a sandbox attribute that doesn't contain the value `allow-same-origin`.
65+
- Documents served with the {{HTTPHeader("Content-Security-Policy")}} `sandbox` directive that don't include `allow-same-origin`.
66+
- {{HTMLElement("iframe", "iframes")}} with a sandbox attribute that don't contain the value `allow-same-origin`.
6667
- Responses that are network errors.
6768
- {{HTTPHeader("Referrer-Policy")}} set to `no-referrer` for non-`cors` request modes (e.g., basic form posts).
6869

0 commit comments

Comments
 (0)