Skip to content

URL demo incorrectly reports invalid origin trials #87

@rviscomi

Description

@rviscomi

For example, https://rviscomi.github.io/capo.js/user/demo/?url=https%3A%2F%2Frviscomi.dev%2F:

image

The origin trial is not invalid, but because it's being validated on rviscomi.github.io, capo.js incorrectly assumes that's the actual 1P origin, rather than the page being tested, rviscomi.dev in this case.

To fix, capo.js needs to explicitly take the test origin into consideration while running the validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions