ORIGIN_WHEN_CROSS_ORIGIN

Send the origin, path, and query string when performing a same-origin request, but only send the origin of the
document for other cases.
ORIGIN_WHEN_CROSS_ORIGIN = 4;