Clients.openWindow() as a navigation method?
ericlaw1979 opened this issue · 1 comments
Does this method need to go in the list of navigation mechanisms? Or no, because it only works in a serviceworker scope?
Great question. I think it falls under this clause which is kind of hidden at the bottom:
Also, HTML calls the navigate algorithm for the initial loads of new browsing contexts as they transition from the initial
about:blank
; we avoid firing navigate for those since the initialabout:blank
is such a weird case in general.
Other APIs in this category include include window.open()
with a name
argument that doesn't point to an existing window (or no name
argument), and iframe/embed/object element creation. (Plus other future elements proposed, like portal and fencedframe.)
Maybe we should list these explicitly though, to make it clear we audited them and thought through the non-applicability of the navigation API for their case.