WICG / scroll-to-text-fragment

Proposal to allow specifying a text snippet in a URL fragment
Other
589 stars 42 forks source link

[Spec] Needs to consider the case where incumbentNavigationOrigin is null #101

Closed bokand closed 4 years ago

bokand commented 4 years ago

The Restricting the Text Fragment section checks the incumbentNavigationOrigin to determine if the navigation is cross-origin and should be blocked.

However, if the navigation comes from browser UI (e.g. typing the URL into the address bar, bookmark) we will not have an incumbentNavigationOrigin.

This case should be allowed though so it should be explicitly specified.