Source code
Revision control
Copy as Markdown
Other Tools
[Exposed=*]
interface Origin {
constructor();
constructor(USVString serializedOrigin);
static Origin? parse(USVString serializedOrigin);
static Origin? fromURL(USVString serializedURL);
stringifier USVString toJSON();
readonly attribute boolean opaque;
boolean isSameOrigin(Origin other);
boolean isSameSite(Origin other);
};