origin

abstract var origin: String?(source)

Should follow window.location.origin’s representation scheme://host:port.