Skip to content

Should "familiar with" use same origin or same origin-domain? #3747

Open
@annevk

Description

@annevk

https://bugzilla.mozilla.org/show_bug.cgi?id=1459671 was filed against Firefox because it uses a same origin check. Per investigation from @bzbarsky it appears that other browsers use same origin-domain. This means that you can target a cross-origin <iframe>'s name if you are same origin-domain with it.

It seems better if this concept does not depend on document.domain.

@whatwg/security interested in fixing this in your respective implementations?

Either way, we should probably also add a test for this as I don't think it's covered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions