The browser origin a value names, scheme://host[:port] as browsers send it in the Origin header (default ports omitted), or undefined when the value is not an origin: unparseable, or with credentials, a path, a query or a fragment.
scheme://host[:port]
an origin, e.g. https://app.example.com
the normalised origin
The browser origin a value names,
scheme://host[:port]as browsers send it in the Origin header (default ports omitted), or undefined when the value is not an origin: unparseable, or with credentials, a path, a query or a fragment.