[−][src]Enum csp::SandboxAllow
Optionally used for the Sandbox
directive. Not uing it but using the sandbox directive disallows everything that you could allow with the optional values.
Variants
Allows for downloads to occur without a gesture from the user.
Allows the embedded browsing context to submit forms. If this keyword is not used, this operation is not allowed.
Allows the embedded browsing context to open modal windows.
Allows the embedded browsing context to disable the ability to lock the screen orientation.
Allows the embedded browsing context to use the Pointer Lock API.
Allows popups (like from window.open, target="_blank", showModalDialog). If this keyword is not used, that functionality will silently fail.
Allows a sandboxed document to open new windows without forcing the sandboxing flags upon them. This will allow, for example, a third-party advertisement to be safely sandboxed without forcing the same restrictions upon a landing page.
Allows embedders to have control over whether an iframe can start a presentation session.
Allows the content to be treated as being from its normal origin. If this keyword is not used, the embedded content is treated as being from a unique origin.
Allows the embedded browsing context to run scripts (but not create pop-up windows). If this keyword is not used, this operation is not allowed.
Lets the resource request access to the parent's storage capabilities with the Storage Access API.
Allows the embedded browsing context to navigate (load) content to the top-level browsing context. If this keyword is not used, this operation is not allowed.
Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.
Trait Implementations
impl Clone for SandboxAllow
[src]
fn clone(&self) -> SandboxAllow
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SandboxAllow
[src]
impl Display for SandboxAllow
[src]
Auto Trait Implementations
impl RefUnwindSafe for SandboxAllow
impl Send for SandboxAllow
impl Sync for SandboxAllow
impl Unpin for SandboxAllow
impl UnwindSafe for SandboxAllow
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,