diff options
Diffstat (limited to 'files/fr/web/http/headers/content-security-policy/worker-src/index.html')
| -rw-r--r-- | files/fr/web/http/headers/content-security-policy/worker-src/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/fr/web/http/headers/content-security-policy/worker-src/index.html b/files/fr/web/http/headers/content-security-policy/worker-src/index.html index 5854d16fc7..fd9ee4f21f 100644 --- a/files/fr/web/http/headers/content-security-policy/worker-src/index.html +++ b/files/fr/web/http/headers/content-security-policy/worker-src/index.html @@ -42,7 +42,7 @@ translation_of: Web/HTTP/Headers/Content-Security-Policy/worker-src <p>Une ou plusieurs sources peuvent être autorisées pour cette directive :</p> -<pre class="syntaxbox notranslate">Content-Security-Policy: worker-src <source>; +<pre class="syntaxbox">Content-Security-Policy: worker-src <source>; Content-Security-Policy: worker-src <source> <source>; </pre> @@ -56,11 +56,11 @@ Content-Security-Policy: worker-src <source> <source>; <p>Soit cet en-tête CSP :</p> -<pre class="brush: bash notranslate">Content-Security-Policy: worker-src https://example.com/</pre> +<pre class="brush: bash">Content-Security-Policy: worker-src https://example.com/</pre> <p>{{domxref("Worker")}}, {{domxref("SharedWorker")}} et {{domxref("ServiceWorker")}} seront bloqués et ne se chargeront pas :</p> -<pre class="brush: html notranslate"><script> +<pre class="brush: html"><script> var blockedWorker = new Worker("data:application/javascript,..."); blockedWorker = new SharedWorker("https://not-example.com/"); navigator.serviceWorker.register('https://not-example.com/sw.js'); |
