Definition
Origin (Web)
An origin is the triple
Two URLs share an origin precisely when all three components match.
https://evil.comandhttps://bank.comare therefore different origins even though both use HTTPS, andhttp://test.tuwien.ac.at:8080differs fromhttps://test.tuwien.ac.atin scheme and port. The origin is the unit on which the Same-Origin Policy operates.