Skip to content

Commit 160c206

Browse files
web integration: Add note about cross-origin same-agent functions
1 parent 6d56fde commit 160c206

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WEB-INTEGRATION.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,10 @@ will be reset such that document load and tasks that directly flow from it
753753
empty AsyncContext snapshot, which will be an empty mapping (i.e. every
754754
`AsyncContext.Variable` will be set to its initial value).
755755

756+
## Cross-origin iframes
757+
758+
Cross-origin API calls do not propagate the context from one origin to the other, as if they were happening in different agents/threads. This is also true for APIs that are observably in the same agent, such as calling `.focus()` on a cross-origin iframe's window.
759+
756760
## Module evaluation
757761

758762
When you import a JS module multiple times, it will only be fetched and

0 commit comments

Comments
 (0)