nextcloud/tests
Daniel Calviño Sánchez 41f2d912d2 Allow "wasm-unsafe-eval" in CSP
If a page has a Content Security Policy header and the `script-src` (or
`default-src`) directive does not contain neither `wasm-unsafe-eval` nor
`unsafe-eval` loading and executing WebAssembly is blocked in the page
(although it is still possible to load and execute WebAssembly in a
worker thread).

Although the Nextcloud classes to manage the CSP already supported
allowing `unsafe-eval` this affects not only WebAssembly, but also the
`eval` operation in JavaScript.

To make possible to allow WebAssembly execution without allowing
JavaScript `eval` this commit adds support for allowing
`wasm-unsafe-eval`.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-08-10 02:38:41 +02:00
..
acceptance fix: Acceptance tests adjusted to find new style sidebar tabs 2023-08-02 15:21:34 +02:00
apps Validate the info.xml against the appstore schema file 2018-02-16 10:23:51 +01:00
blueprints use blueprint from repo 2022-06-30 15:52:33 +02:00
Core core: Add OpenAPI spec 2023-07-13 07:24:15 +02:00
data fix: adjust test for font icon 2023-08-04 00:01:25 +02:00
docker Use strict 2021-04-26 12:45:12 +02:00
lib Allow "wasm-unsafe-eval" in CSP 2023-08-10 02:38:41 +02:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
Test/Repair/Owncloud Adapt tests to config value typing 2023-04-05 17:42:14 +02:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
apps.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
bootstrap.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00
drone-run-integration-tests.sh Run integration tests on 3rdparty bump 2022-11-11 07:54:26 +01:00
drone-run-php-tests.sh fix: also run phpunit on apps/theming/css modified files 2023-07-12 09:25:39 +02:00
drone-wait-objectstore.sh Use minio for s3 tests 2021-07-01 08:22:24 +02:00
enable_all.php Add tests 2018-01-25 13:44:47 +01:00
karma.config.js feat(files_external): migrate to vue 2023-08-01 16:38:06 +02:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml Migrate phpunit configuration to new format 2022-05-09 11:51:14 +02:00
preseed-config.php Use minio for s3 tests 2021-07-01 08:22:24 +02:00
redis-cluster.config.php Fix drone 2017-07-14 15:04:18 +02:00
redis.config.php Fix drone 2017-07-14 15:04:18 +02:00
startsessionlistener.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00