Skip to content

Truly independent web browser

305 B
Raw Blame
// https://html.spec.whatwg.org/multipage/browsers.html#dom-origin-interface
[Exposed=*, ImplementedIn=Rust]
interface Origin {
    constructor();

    static Origin from(any value);

    readonly attribute boolean opaque;

    boolean isSameOrigin(Origin other);
    boolean isSameSite(Origin other);
};