From ee974ef02137935445a829e9f87eaa68927790fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Niedzi=C3=B3=C5=82ka?= Date: Tue, 25 Oct 2022 16:11:37 +0200 Subject: [PATCH] Update example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ffbf924..f50f1e9 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ policy.add("sandbox", Collections.emptyList(), Directive.DirectiveErrorConsumer. policy.sandbox().get().setAllowScripts(true); // or you can use the lower-level APIs to manipulate values directly -policy.sandbox().get().addValue("allow-something-new"); +policy.sandbox().get().setValue(SandboxDirective.Value.AllowPopupsToEscapeSandbox, false); // "sandbox allow-scripts allow-something-new" System.out.println(policy.toString());