Skip to content

Commit 3d4fb3e

Browse files
committed
move disabling document.domain disclaimer up to discussion of injection
1 parent cea2285 commit 3d4fb3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/guides/guides/cross-origin-testing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ property into the visited `text/html` pages. This is why navigations without the
2626
use of the [`cy.origin()`](/api/commands/origin) command are solely scope to the
2727
same superdomain.
2828

29+
::include{file=partials/document-domain-workaround.md}
30+
2931
We understand this is a bit complicated to understand, so we have built a nifty
3032
chart to help clarify the differences!
3133

@@ -129,8 +131,6 @@ specific test when it runs. For more information on this, please see our Web
129131
Security page regarding
130132
[Different superdomain per test requires cy.origin command](/guides/guides/web-security#Different-superdomain-per-test-requires-cy-origin-command).
131133

132-
::include{file=partials/document-domain-workaround.md}
133-
134134
#### Other workarounds
135135

136136
There are other ways of testing the interaction between two superdomains. The

0 commit comments

Comments
 (0)