We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 495a39f commit 856eda1Copy full SHA for 856eda1
src/main/java/org/htmlunit/csp/directive/SourceExpressionDirective.java
@@ -38,6 +38,7 @@ public class SourceExpressionDirective extends HostSourceDirective {
38
* Unsafe WebAssembly execution</a>
39
*/
40
private static final String WASM_UNSAFE_EVAL = "'wasm-unsafe-eval'";
41
+
42
private boolean unsafeInline_;
43
private boolean unsafeEval_;
44
private boolean strictDynamic_;
@@ -231,6 +232,10 @@ public boolean unsafeAllowRedirects() {
231
232
return unsafeAllowRedirects_;
233
}
234
235
+ public boolean unsafeWasm() {
236
+ return unsafeWasm_;
237
+ }
238
239
public List<Nonce> getNonces() {
240
return Collections.unmodifiableList(nonces_);
241
0 commit comments