Re: Issue 477685 in chromium: "Service Worker Fallback Required" error message is ambiguous

116 views
Skip to first unread message

chro...@googlecode.com

unread,
Apr 17, 2015, 12:05:04 AM4/17/15
to chromi...@chromium.org
Updates:
Summary: "Service Worker Fallback Required" error message is ambiguous
Status: Assigned
Owner: ho...@chromium.org

Comment #2 on issue 477685 by fal...@chromium.org: "Service Worker Fallback
Required" error message is ambiguous
https://code.google.com/p/chromium/issues/detail?id=477685

Jeff Posnick answered this on stackoverflow
http://stackoverflow.com/questions/29671771, it looks like a CORS issue.

Horo-san, do you think it's possible to improve the error message ("Service
Worker Fallback Required") or otherwise help the developer understand the
error in this scenario? It looks like the fetch request used mode: no-cors
but it required cors.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Apr 17, 2015, 6:16:36 AM4/17/15
to chromi...@chromium.org
Updates:
Labels: Needs-Feedback

Comment #3 on issue 477685 by durga.be...@chromium.org: "Service Worker
Fallback Required" error message is ambiguous
https://code.google.com/p/chromium/issues/detail?id=477685

antoine@ : Thanks for the issue, could you please update the thread with
your findings, for further triage it.

chro...@googlecode.com

unread,
Apr 17, 2015, 6:27:36 AM4/17/15
to chromi...@chromium.org
Updates:
Labels: -Needs-Feedback

Comment #4 on issue 477685 by fal...@chromium.org: "Service Worker Fallback
I'm not sure what feedback is needed... we're not blocked on anything.

chro...@googlecode.com

unread,
Apr 17, 2015, 6:39:36 AM4/17/15
to chromi...@chromium.org

Comment #5 on issue 477685 by anto...@rousseau.im: "Service Worker Fallback
OK so having CORS on the CDN and removing the mode: 'no-cors' mode and the
credentials: 'include' from the fetch request did resolve the issue!
http://stackoverflow.com/a/29679553/1052033

chro...@googlecode.com

unread,
Apr 20, 2015, 2:04:21 AM4/20/15
to chromi...@chromium.org
Updates:
Labels: -Pri-2 Pri-3

Comment #6 on issue 477685 by ho...@chromium.org: "Service Worker Fallback
The message "Service Worker Fallback Required" is an internal message.
It is sent from the browser process to the page to ask blink to send the
fallback request when the page sent CORS request to the SW and the SW
didn't handle the request.

https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp&rcl=1429472111&l=428

When the page receives the message, it will send the fallback message
(which SkipServiceWorker flag is true).
So the developer can see the fallback request right after the original
request in the inspector.

I think it is better to hide this internal message but the priority is 3.

chro...@googlecode.com

unread,
Apr 20, 2015, 9:57:08 PM4/20/15
to chromi...@chromium.org

Comment #7 on issue 477685 by fal...@chromium.org: "Service Worker Fallback
I guess the question isn't how to improve the error message, but how we
could make it more clear to the developer what the error is.

Is it expected that setting <video src> to a URL that SW responds to with
an opaque response will not work? If so, should DevTools display an error
for that somewhere, like in the Network tab or console?

chro...@googlecode.com

unread,
Jun 10, 2015, 3:00:30 AM6/10/15
to chromi...@chromium.org

Comment #8 on issue 477685 by gevorg.s...@gmail.com: "Service Worker
Fallback Required" error message is ambiguous
https://code.google.com/p/chromium/issues/detail?id=477685

http://stackoverflow.com/questions/30748861/service-worker-does-not-load-mp3-files

Similar kind of issue described here.

Images attached 1. SW request 2. SW response 3. browser request 4. browser
console

Attachments:
Screen Shot 2015-06-10 at 10.57.35.png 165 KB
Screen Shot 2015-06-10 at 10.57.27.png 45.3 KB
Screen Shot 2015-06-10 at 10.52.49.png 92.6 KB
Screen Shot 2015-06-10 at 10.57.07.png 55.5 KB

chro...@googlecode.com

unread,
Jun 10, 2015, 3:06:13 AM6/10/15
to chromi...@chromium.org

Comment #9 on issue 477685 by gevorg.s...@gmail.com: "Service Worker
Fallback Required" error message is ambiguous
https://code.google.com/p/chromium/issues/detail?id=477685

#8 gevorg.s...@gmail.com
http://stackoverflow.com/questions/30748861/service-worker-does-not-load-mp3-files

Similar kind of issue described here.

Images attached 1. SW request 2. SW response 3. browser request 4. browser
console

chro...@googlecode.com

unread,
Jun 10, 2015, 3:11:27 AM6/10/15
to chromi...@chromium.org

Comment #10 on issue 477685 by gevorg.s...@gmail.com: "Service Worker
Fallback Required" error message is ambiguous
https://code.google.com/p/chromium/issues/detail?id=477685

#8 gevorg.s...@gmail.com
http://stackoverflow.com/questions/30748861/service-worker-does-not-load-mp3-files

Similar kind of issue described here.

Images attached 1. SW request 2. SW response 3. browser request 4. browser
console

Attachments:
Screen Shot 2015-06-10 at 11.04.46.png 205 KB
Screen Shot 2015-06-10 at 10.57.27.png 45.3 KB
Screen Shot 2015-06-10 at 10.52.49.png 92.6 KB
Screen Shot 2015-06-10 at 10.57.07.png 55.5 KB

chro...@googlecode.com

unread,
Jul 31, 2015, 1:07:37 AM7/31/15
to chromi...@chromium.org
Updates:
Status: Started
Labels: -Pri-3 Pri-2 M-46

Comment #12 on issue 477685 by ho...@chromium.org: "Service Worker Fallback
(No comment was entered for this change.)

chro...@googlecode.com

unread,
Jul 31, 2015, 1:09:38 AM7/31/15
to chromi...@chromium.org

Comment #13 on issue 477685 by ho...@chromium.org: "Service Worker Fallback
This issue is related to Issue 511054.

chro...@googlecode.com

unread,
Jul 31, 2015, 4:21:05 AM7/31/15
to chromi...@chromium.org

Comment #14 on issue 477685 by bugd...@chromium.org: "Service Worker
Fallback Required" error message is ambiguous
https://code.google.com/p/chromium/issues/detail?id=477685#c14

The following revision refers to this bug:
http://src.chromium.org/viewvc/blink?view=rev&rev=199803

------------------------------------------------------------------
r199803 | ho...@chromium.org | 2015-07-31T08:02:50.724839Z

Changed paths:
M
http://src.chromium.org/viewvc/blink/trunk/Source/core/frame/FrameConsole.cpp?r1=199803&r2=199802&pathrev=199803

Don't show "Service Worker Fallback Required" error message in DevTools
console.

BUG=477685

Review URL: https://codereview.chromium.org/1265823005
-----------------------------------------------------------------

chro...@googlecode.com

unread,
Aug 2, 2015, 10:20:06 PM8/2/15
to chromi...@chromium.org
Updates:
Status: Fixed

Comment #15 on issue 477685 by ho...@chromium.org: "Service Worker Fallback
Required" error message is ambiguous
https://code.google.com/p/chromium/issues/detail?id=477685

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Sep 25, 2015, 9:13:50 AM9/25/15
to chromi...@chromium.org

Comment #16 on issue 477685 by sim....@gmail.com: "Service Worker Fallback
In Chrome 45.0.2454.101 is not fixed
In my case I have this error message with .mp3 files dinamicaly loaded on
my web-application when service-worker is started. Service worker need for
getting push notifications.

chro...@googlecode.com

unread,
Sep 25, 2015, 10:34:51 AM9/25/15
to chromi...@chromium.org

Comment #17 on issue 477685 by ho...@chromium.org: "Service Worker Fallback
This issue was fixed in M46.
Please try Chrome 46.

chro...@googlecode.com

unread,
Dec 13, 2015, 10:44:31 PM12/13/15
to chromi...@chromium.org
Updates:
Status: Started

Comment #19 on issue 477685 by ho...@chromium.org: "Service Worker Fallback
Reopened.

#14 removed the ambiguous message from the console view.
But it may be better not to show the "(Service Worker Fallback)" item in
the network view.
This is almost meaningless for Web developers.

chro...@googlecode.com

unread,
Dec 15, 2015, 11:50:57 PM12/15/15
to chromi...@chromium.org

Comment #20 on issue 477685 by bugd...@chromium.org: "Service Worker
Fallback Required" error message is ambiguous
https://code.google.com/p/chromium/issues/detail?id=477685#c20

The following revision refers to this bug:

https://chromium.googlesource.com/chromium/src.git/+/2e1de2f8f4ee2c620c43f00b2825224689046c3a

commit 2e1de2f8f4ee2c620c43f00b2825224689046c3a
Author: horo <ho...@chromium.org>
Date: Wed Dec 16 04:36:52 2015

[DevTools] Hide "Service Worker Fallback" response from the Network tab.

This message is used for an internal response which is sent from the browser
process to the page's renderer process to consider the CORS preflight logic
when the Service Worker didn't handle the CORS request .
This message is not only meaningless for Web developers but also confusing
them.
http://stackoverflow.com/questions/34035667/service-worker-making-extra-call

So this cl removes the CORS fallback response from the network panel.

BUG=477685

Review URL: https://codereview.chromium.org/1518383002

Cr-Commit-Position: refs/heads/master@{#365441}

[modify]
http://crrev.com/2e1de2f8f4ee2c620c43f00b2825224689046c3a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
[modify]
http://crrev.com/2e1de2f8f4ee2c620c43f00b2825224689046c3a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js

chro...@googlecode.com

unread,
Jan 5, 2016, 12:16:49 AM1/5/16
to chromi...@chromium.org
Updates:
Status: Fixed
Labels: M-49

Comment #21 on issue 477685 by ho...@chromium.org: "Service Worker Fallback
Fixed in M49.

$ git find-releases 2e1de2f8f4ee2c620c43f00b2825224689046c3a
commit 2e1de2f8f4ee2c620c43f00b2825224689046c3a was:
initially in 49.0.2594.0
Reply all
Reply to author
Forward
0 new messages