Package org.htmlunit.csp.directive
Class SandboxDirective
java.lang.Object
org.htmlunit.csp.Directive
org.htmlunit.csp.directive.SandboxDirective
-
Nested Class Summary
Nested classes/interfaces inherited from class org.htmlunit.csp.Directive
Directive.DirectiveErrorConsumer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
Fields inherited from class org.htmlunit.csp.Directive
containsNonDirectiveCharacter, IS_DIRECTIVE_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionSandboxDirective
(List<String> values, Directive.DirectiveErrorConsumer errors) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class org.htmlunit.csp.Directive
addValue, getValues, removeValueIgnoreCase
-
Field Details
-
ALLOW_DOWNLOADS
- See Also:
-
allowDownloads_
private boolean allowDownloads_ -
allowForms_
private boolean allowForms_ -
allowModals_
private boolean allowModals_ -
allowOrientationLock_
private boolean allowOrientationLock_ -
allowPointerLock_
private boolean allowPointerLock_ -
allowPopups_
private boolean allowPopups_ -
allowPopupsToEscapeSandbox_
private boolean allowPopupsToEscapeSandbox_ -
allowPresentation_
private boolean allowPresentation_ -
allowSameOrigin_
private boolean allowSameOrigin_ -
allowScripts_
private boolean allowScripts_ -
allowStorageAccessByUserActivation_
private boolean allowStorageAccessByUserActivation_
-
-
Constructor Details
-
SandboxDirective
-
-
Method Details
-
allowDownloads
public boolean allowDownloads() -
allowForms
public boolean allowForms() -
allowModals
public boolean allowModals() -
allowOrientationLock
public boolean allowOrientationLock() -
allowPointerLock
public boolean allowPointerLock() -
allowPopups
public boolean allowPopups() -
allowPopupsToEscapeSandbox
public boolean allowPopupsToEscapeSandbox() -
allowPresentation
public boolean allowPresentation() -
allowSameOrigin
public boolean allowSameOrigin() -
allowScripts
public boolean allowScripts() -
allowStorageAccessByUserActivation
public boolean allowStorageAccessByUserActivation()
-