In the browser notification flyout , image display is missing sometimes although available in the payload
Reported by
svara...@yahoo-inc.com,
Mar 29 2017
|
|||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36 Steps to reproduce the problem: 1. Enable browser notifications for few profiles in latest chrome version. 2. When notifications are sent, observe that although the payload has the image, some notifications do not show the image in the flyout. 3. Screenshot attached. What is the expected behavior? Image in the browser notifications flyout should show up consistently. What went wrong? screenshot attached showing in some browser notifications flyout image is missing. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 57.0.2987.110 Channel: stable OS Version: OS X 10.10.5 Flash Version:
,
Mar 29 2017
,
Mar 29 2017
,
Mar 30 2017
Is there any rhyme or reason to the images this happens with? Unable to reproduce via sending many notifications with icon: "http://placekitten.com.s3.amazonaws.com/homepage-samples/408/287.jpg"
,
Mar 31 2017
There are a few reasons why this could happen, most notably the image fetching timeout (which we set at 90 seconds), after which we give up. Is there any chance at all that your laptop may be subject to poor connectivity? Other reasons include decode and IPC failures, but those should be far less likely. I'm OOO right now, but will take a look at metrics on Monday to see if there's any elevated values.
,
Mar 31 2017
I got an eventual repro for this by turning on notifications on yahoo.com (per the original report). and waiting a while, but I'm not sure how to inspect a payload.
,
Mar 31 2017
Another possible reason - it could be a rendering glitch like issue 482386 .
,
Mar 31 2017
So do all of the desktop platforms suffer from severe notification rendering glitches from time to time? :( See issue 486509 for the Windows version.
,
Apr 5 2017
Removing needs feedback since it looks like we've got a repro. Should we move this bug from untriaged to available?
,
Apr 5 2017
,
Apr 5 2017
Thanks. We are seeing similar in mail notifications also.
,
Apr 28 2017
Any update on the issue?
,
May 15 2017
Hi Svarader, this issue is very hard to act on without more information. Where does the image URL come from? Could you link to your Service Worker code so that I can take a look at how you're displaying the notification?
,
May 25 2017
We use the following pseudo code to show Notifications in the Service worker
``` return Promise.all([
self.self.registration.showNotification(title, {
body, icon, tag, data,
renotify: true,
requireInteraction: true,
}),
Promise.resolve(parseError && doSomething1(..)),
doSomething2(),
doSomething3(),
]);
```
The service-worker URL: https://www.yahoo.com/service-worker.js
Image URL: https://s.yimg.com/uu/api/res/1.2/smR9cGzfRcnbxFsQmaveHQ--/Zmk9c3RyaW07aD0zMjA7cHlvZmY9MDtxPTgwO3c9MzIwO3NtPTE7YXBwaWQ9eXRhY2h5b24-/http://media.zenfs.com/en-US/video/video.associatedpressfree.com/0611dcf52cd8d5dffc777d9cef2a255a (13kB)
,
May 28 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 29 2018
,
Nov 21
*** UI Mass Triage*** Tested on latest Canary #72.0.3617.0 on Mac 10.13.6 and was not able to reproduce the issue by performing testing on www.mail.yahoo.com. Able to see the images on the notifications received. svaradar@ -- Please feel free to file a new issue or reopen this issue if the issue is reproduced on latest Canary versions. Thanks! |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by svara...@yahoo-inc.com
, Mar 29 201717.9 KB
17.9 KB View Download