initiator change for Service Worker WindowClient.navigate

7 views
Skip to first unread message

Hubert Chao

unread,
2:00 PM (8 hours ago) 2:00 PM
to navigation-dev, Chris Thompson, Joe DeBlasio, Yoshisato Yanagisawa, David Adrian
Hi navigation-dev@

I'm looking into adding an initiator to the Service Worker WindowClient.navigate() function (see https://groups.google.com/a/chromium.org/g/blink-dev/c/8AK8V4fSZFU), as a way of fixing a bug around Local Network Access (LNA) restrictions that aren't currently enforced on these navigations.

The question came up of what else might change if we add an initiator to these navigations; specifically in 2 areas:

a) What other security restrictions would end up applying to these navigations that aren't currently applied, both if the navigation from the WindowClient is a main frame navigation, or a subframe navigation?

b) Are there any current use cases (other than LNA checks) in which adding the initiator would break? (e.g. navigation currently succeeds but would fail)?

The only change I can think of here is that referrer header information might now be sent with the navigation, wondering if there's anything else I might have missed.

thanks,

/hubert
Reply all
Reply to author
Forward
0 new messages