sesaparcours
Preparing search index...
types
<internal>
OriginValidator
Type Alias OriginValidator
OriginValidator
:
(
(
origin
:
string
)
=>
boolean
)
|
"same-origin"
|
"none"
Specify behavior for origin validation.
Value
Description
"same-origin"
The origin of received message must be the same of hosted window, instead exception will throw.
(origin: string) => boolean
The callback to verify origin to be expected validation. When callback return
false
value, message will rejected and exception will throw.
"none"
No origin validation for post messages.
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
sesaparcours
Loading...
Specify behavior for origin validation.
"same-origin"(origin: string) => booleanfalsevalue, message will rejected and exception will throw."none"