There’s some new URL terminology to learn! You may have heard of the term “origin” before, but as of recently “site” is formally defined as well, thanks to @mikewest. Let’s walk through some examples.
-
-
Same “site”: same registrable domain
requires a lookup in https://publicsuffix.org/list/
https://foo.example.com/ + https://bar.example.com/
https://foo.github.io/ + https://bar.github.io/Show this thread -
Specs: - same origin: https://html.spec.whatwg.org/multipage/origin.html#same-origin … - same site: https://url.spec.whatwg.org/#host-same-site
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.