Re: [w3c/ServiceWorker] Proposal: FetchEvent.navigationLoadType (#1167)

@davidcblack I think there's some crossed wires around "submit". To clarify:

## `reload`

Reload navigation. This includes:

* User hitting the reload button.
* `location.reload()`.

Does not include:

* Clicking the omnibox and hitting enter.
* `location.href = location.href`.

The above are standard navigations.

## `history`

A back or forward navigation. This includes:

* User presses back button.
* User presses forward button.
* `history.back()`.
* `history.go(-1)`.
* `history.forward()`.
* `history.go(1)`.

Does not include:

* User clicking on the omibox and typing the previous URL and hitting enter.
* `location.href = previousURL`.

## `submit`

Navigation is part of a form submission. The details around this aren't super clear, as in should it include `GET` submissions? The most important thing at this state is we design with additional properties in mind, which is why we aren't going for an enum.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1167#issuecomment-350238893

Received on Friday, 8 December 2017 11:14:49 UTC