ALLOW_SAME_ORIGIN constant

Sandbox const ALLOW_SAME_ORIGIN

If this token is not used, the resource is treated as being from a special origin that always fails the same-origin policy (potentially preventing access to data storage/cookies and some JavaScript APIs).

Implementation

static const ALLOW_SAME_ORIGIN =
    Sandbox._internal('allow-same-origin', 'allow-same-origin');