Skip to content

Добавить предупреждение об устаревании document.domain#2177

Open
1t1sCooL wants to merge 1 commit into
javascript-tutorial:masterfrom
1t1sCooL:fix-2015-document-domain-deprecated
Open

Добавить предупреждение об устаревании document.domain#2177
1t1sCooL wants to merge 1 commit into
javascript-tutorial:masterfrom
1t1sCooL:fix-2015-document-domain-deprecated

Conversation

@1t1sCooL

@1t1sCooL 1t1sCooL commented Jul 2, 2026

Copy link
Copy Markdown

Fixes #2015

В разделе «Окна на поддоменах: document.domain» не было сказано, что свойство устарело. В английской версии уже есть warn-блок «Deprecated, but still working» — переношу его с актуализацией: в современных браузерах механизм уже не просто deprecated, а реально отключается — в Chrome 115+ присваивание document.domain по умолчанию не имеет эффекта (origin-keyed agent clusters по умолчанию).

Источники: спецификация HTML, MDN, Chrome blog.

@javascript-translate-bot javascript-translate-bot added the review needed Review needed, please approve or request changes label Jul 2, 2026
@javascript-translate-bot javascript-translate-bot requested review from a team July 2, 2026 18:02
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review needed Review needed, please approve or request changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Предложение: учебник]: document.domain больше нельзя изменить

3 participants