Why does the DOM single-origin policy take into account protocol and port? What if it was just domain?

I’m learning the basics of network security and am trying to really understand the single origin policy. I was wondering what the vulnerabilities would be if an origin was only defined by domain, as opposed to the normal trio of scheme, do… Continue reading Why does the DOM single-origin policy take into account protocol and port? What if it was just domain?