aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/http/headers/content-security-policy/worker-src/index.html
diff options
context:
space:
mode:
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.html6
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 &lt;source&gt;;
+<pre class="syntaxbox">Content-Security-Policy: worker-src &lt;source&gt;;
Content-Security-Policy: worker-src &lt;source&gt; &lt;source&gt;;
</pre>
@@ -56,11 +56,11 @@ Content-Security-Policy: worker-src &lt;source&gt; &lt;source&gt;;
<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">&lt;script&gt;
+<pre class="brush: html">&lt;script&gt;
var blockedWorker = new Worker("data:application/javascript,...");
blockedWorker = new SharedWorker("https://not-example.com/");
navigator.serviceWorker.register('https://not-example.com/sw.js');