8
0
Просмотр исходного кода

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

Marek Lewandowski 6 лет назад
Родитель
Сommit
712b8f12c2
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      tests/manual/wproofreader.html

+ 1 - 2
tests/manual/wproofreader.html

@@ -1,9 +1,8 @@
 <head>
 <head>
 	<!--
 	<!--
 		Required to fetch runtime data from https://svc.webspellchecker.net.
 		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>
 </head>
 
 
 <script
 <script