STRICT_ORIGIN constant

ReferrerPolicy const STRICT_ORIGIN

Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS -> HTTPS), but don't send it to a less secure destination (e.g. HTTPS -> HTTP).

Implementation

static const STRICT_ORIGIN =
    ReferrerPolicy._internal('strict-origin', 'strict-origin');