Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Origin of about:blank in regards to same origin policy [closed]

The same origin policy dictates two pages may share JavaScript resources if they share protocol, host and port.

What is the origin of the about:blank page in Chrome? That is, what is the protocol, host and port of the page? What pages can it share JavaScript resources with?

like image 575
Randomblue Avatar asked Oct 07 '22 18:10

Randomblue


1 Answers

The about: scheme is considered to make for a unique origin, which disallows access to any resource - even about:blank to itself.

like image 200
pimvdb Avatar answered Oct 10 '22 03:10

pimvdb