Closed
Bug 726594
Opened 14 years ago
Closed 7 years ago
No notification with libnotify and remote URL with 301 for image
Categories
(Toolkit Graveyard :: Notifications and Alerts, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: cyril.pascal_bugzilla, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Build ID: 20120213112313
Steps to reproduce:
With firefox 10.0.1 (Gentoo-)compiled with libnotify support, execute the following code in chrome JS (for example in Error Console) :
Components.classes['@mozilla.org/alerts-service;1']
.getService(Components.interfaces.nsIAlertsService) .showAlertNotification("https://addons.mozilla.org/favicon.ico", "summary", "body");
Actual results:
No notification is shown, no error is raised. Nothing happens :(
Expected results:
A notification should be shown, at least without image.
The icon URL
https://addons.mozilla.org/favicon.ico
leads to (with HTTP 301 redirect)
https://static.addons.mozilla.org/favicon.ico
I tried the following, and it works :
Components.classes['@mozilla.org/alerts-service;1']
.getService(Components.interfaces.nsIAlertsService)
.showAlertNotification("https://static.addons.mozilla.org/favicon.ico", "summary", "body");
Comment 1•14 years ago
|
||
Still seeing this in 12.04 on Ubuntu 12.04 with libnotify.
And it works fine with a non-redirected icon url:
Components.classes['@mozilla.org/alerts-service;1'] .getService(Components.interfaces.nsIAlertsService) .showAlertNotification("https://www.google.com.au/images/google_favicon_128.png", "summary", "body");
Updated•13 years ago
|
Version: 10 Branch → Trunk
Updated•12 years ago
|
Component: Untriaged → XPCOM
Product: Firefox → Core
Comment 2•10 years ago
|
||
I'm sorry this sat untriaged for so long. If I run your first snippet in the Browser Console (in Nightly 50, with libnotify on GNOME), I'm able to see the icon from https://addons.mozilla.org/favicon.ico (though the redirect URL is now https://addons.cdn.mozilla.net/favicon.ico).
Would you mind letting me know if it works for you on Gentoo now? Thanks, and apologies this slipped through the cracks.
Component: XPCOM → Notifications and Alerts
Flags: needinfo?(cyril.pascal_bugzilla)
Product: Core → Toolkit
Comment 3•7 years ago
|
||
2019-03-06
This bug is part of a group of bugs which have had an open needinfo for at least 12 weeks.
The request for information has not been answered, and we can't move forward on the bug so we are closing it.
If the defect is still present, please reopen this bug with an updated report.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Flags: needinfo?(cyril.pascal_bugzilla)
Resolution: INCOMPLETE → WORKSFORME
Updated•3 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•