New issue
Advanced search Search tips

Issue 627481 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Oct 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

window.location.reload triggers a FetchEvent with isReload == false

Reported by n...@medium.com, Jul 12 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Install a service worker with an onfetch handler
2. Set a breakpoint in the onfetch handler
3. In a JS console, exec `window.location.reload()`

What is the expected behavior?
I would expect a FetchEvent with isReload == true. 

Verified that this is how Firefox behaves.

What went wrong?
I get a FetchEvent with isReload == true

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.103  Channel: n/a
OS Version: OS X 10.11.5
Flash Version: Shockwave Flash 22.0 r0
 

Comment 1 by n...@medium.com, Jul 12 2016

Typo, it should read: "What went wrong? I get a FetchEvent with isReload == false"
Components: -Blink Blink>Network>FetchAPI
Components: -Blink>Network>FetchAPI Blink>ServiceWorker
Owner: horo@chromium.org
Status: Assigned (was: Unconfirmed)
horo@, can you triage this?
Labels: -OS-Mac M-56 OS-All
Status: WontFix (was: Assigned)
isReload will be removed. See bug 652994. We should do  bug 453190  instead of working on this.

Sign in to add a comment