Skip to content

Commit c5c49da

Browse files
committed
fixup! Fix PDF viewer failing on Edge (not based on Chromium)
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 parent 36c6a67 commit c5c49da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/Controller/DisplayControllerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function testShowPdfViewer(): void {
6262
$policy->addAllowedChildSrcDomain('\'self\'');
6363
$policy->addAllowedFontDomain('data:');
6464
$policy->addAllowedImageDomain('*');
65-
$policy->allowEvalScript(false);
65+
$policy->allowEvalScript(true);
6666
$expectedResponse->setContentSecurityPolicy($policy);
6767

6868
$this->assertEquals($expectedResponse, $this->controller->showPdfViewer());

0 commit comments

Comments
 (0)