Skip to content

Commit 016be9a

Browse files
authored
Update src/content/en/2025/security.md
1 parent ba80411 commit 016be9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/en/2025/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ A boolean is <a hreflang="en" href="https://httpwg.org/specs/rfc8941.html#boolea
887887

888888
#### Use of `document.domain`
889889

890-
By using [`document.domain`](https://developer.mozilla.org/docs/Web/API/Document/domain), a developer is able to read the domain portion of the current document, as well as set a new domain (only subdomains of the current domain are allowed), after which the browser will use the new domain as origin for the same-origin policy checks. However, the use of this property is now deprecated and browsers may stop supporting the property soon.
890+
By using [`document.domain`](https://developer.mozilla.org/docs/Web/API/Document/domain), a developer is able to read the domain portion of the current document, as well as set a new domain (only superdomains of the current domain are allowed), after which the browser will use the new domain as origin for the same-origin policy checks. However, the use of this property is now deprecated and browsers may stop supporting the property soon.
891891

892892
<figure>
893893
<table>

0 commit comments

Comments
 (0)