public class SandboxDirective extends Directive
Directive.DirectiveErrorConsumercontainsNonDirectiveCharacter, IS_DIRECTIVE_NAME| Constructor and Description |
|---|
SandboxDirective(List<String> values,
Directive.DirectiveErrorConsumer errors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowDownloads() |
boolean |
allowForms() |
boolean |
allowModals() |
boolean |
allowOrientationLock() |
boolean |
allowPointerLock() |
boolean |
allowPopups() |
boolean |
allowPopupsToEscapeSandbox() |
boolean |
allowPresentation() |
boolean |
allowSameOrigin() |
boolean |
allowScripts() |
boolean |
allowStorageAccessByUserActivation() |
boolean |
allowTopNavigation() |
boolean |
allowTopNavigationByUserActivation() |
addValue, getValues, removeValueIgnoreCasepublic SandboxDirective(List<String> values, Directive.DirectiveErrorConsumer errors)
public boolean allowDownloads()
public boolean allowForms()
public boolean allowModals()
public boolean allowOrientationLock()
public boolean allowPointerLock()
public boolean allowPopups()
public boolean allowPopupsToEscapeSandbox()
public boolean allowPresentation()
public boolean allowSameOrigin()
public boolean allowScripts()
public boolean allowStorageAccessByUserActivation()
public boolean allowTopNavigation()
public boolean allowTopNavigationByUserActivation()
Copyright © 2024 HtmlUnit. All rights reserved.