Преглед изворни кода

Tests: Removed "unsafe-eval" directive from Wproofreader manual test. Closes #5885.

Marek Lewandowski пре 6 година
родитељ
комит
712b8f12c2
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      tests/manual/wproofreader.html

+ 1 - 2
tests/manual/wproofreader.html

@@ -1,9 +1,8 @@
 <head>
 	<!--
 		Required to fetch runtime data from https://svc.webspellchecker.net.
-		Also both unsafe inline and eval are required for it to work (https://github.com/WebSpellChecker/wproofreader/issues/19).
 	-->
-	<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-eval' https://cksource.com https://svc.webspellchecker.net;">
+	<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://cksource.com https://svc.webspellchecker.net;">
 </head>
 
 <script