aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/windoworworkerglobalscope
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-04-10 14:03:18 +0300
committerGitHub <noreply@github.com>2021-04-10 14:03:18 +0300
commit0d2f5f0e69eda5697000ca8bff402cf92725f432 (patch)
tree2bc2f70d14ad430feb5a298dd4d95ffae021444e /files/ru/web/api/windoworworkerglobalscope
parentae1faf3f33379f8b748b968d477a6831afc0aa67 (diff)
downloadtranslated-content-0d2f5f0e69eda5697000ca8bff402cf92725f432.tar.gz
translated-content-0d2f5f0e69eda5697000ca8bff402cf92725f432.tar.bz2
translated-content-0d2f5f0e69eda5697000ca8bff402cf92725f432.zip
Unify Russian translation of "promise" (#319)
* Unify Russian translation of "promise" * Apply suggestions from code review Co-authored-by: Artem Shibakov <shibakow@gmail.com> Co-authored-by: Alexander Myshov <myshov@users.noreply.github.com> Co-authored-by: Artem Shibakov <shibakow@gmail.com> Co-authored-by: Alexander Myshov <myshov@users.noreply.github.com>
Diffstat (limited to 'files/ru/web/api/windoworworkerglobalscope')
-rw-r--r--files/ru/web/api/windoworworkerglobalscope/fetch/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/web/api/windoworworkerglobalscope/fetch/index.html b/files/ru/web/api/windoworworkerglobalscope/fetch/index.html
index dc4a7e7f7e..37be5853ae 100644
--- a/files/ru/web/api/windoworworkerglobalscope/fetch/index.html
+++ b/files/ru/web/api/windoworworkerglobalscope/fetch/index.html
@@ -13,7 +13,7 @@ translation_of: Web/API/WindowOrWorkerGlobalScope/fetch
<p><code>WorkerOrGlobalScope</code> относится к {{domxref("Window")}} и {{domxref("WorkerGlobalScope")}} сразу. Это означает, что метод <code>fetch()</code> доступен практически в любом контексте, в котором бы вы не захотели получить ресурсы.</p>
-<p>{{domxref("WindowOrWorkerGlobalScope.fetch","Fetch()")}} promise (обещание) завершается {{jsxref("TypeError")}}, если возникает сетевая ошибка, хотя обычно это означает проблему с доступами или аналогичную ей. Для успешного завершения <code>fetch()</code> достаточно удостовериться в том, что обещание выполнено и что свойство {{domxref("Response.ok")}} имеет значение <code>true</code>. HTTP статус 404 не является сетевой ошибкой.</p>
+<p>Промис {{domxref("WindowOrWorkerGlobalScope.fetch","Fetch()")}} завершается {{jsxref("TypeError")}}, если возникает сетевая ошибка, хотя обычно это означает проблему с доступами или аналогичную ей. Для успешного завершения <code>fetch()</code> достаточно удостовериться в том, что промис выполнен и что свойство {{domxref("Response.ok")}} имеет значение <code>true</code>. HTTP статус 404 не является сетевой ошибкой.</p>
<p>Метод <code>fetch()</code> контролируется директивой <code>connect-src</code> directive of <a href="/en-US/docs/Security/CSP/CSP_policy_directives">Content Security Policy</a> (политика безопасности контента), а не директивой ресурсов, которые извлекает.</p>