cuongtt2109 / ff-html5notifications

Automatically exported from code.google.com/p/ff-html5notifications
0 stars 0 forks source link

createHTMLNotification Shows Link to the Notification But Not the Actual Notification. #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
First, verify thant you have the last version of extension : since AMO
makes reviews, it can take some time before an issue is fixed and a new
version released, and it's validation by the AMO team.

NOTE: This was only tested on Ubuntu 11.04 not other platforms. If this works 
on Windows and Mac then please consider this a low priority issue. If the 
problem can be reproduced on Windows/Mac, then I consider it higher.

What steps will reproduce the problem?
1.Install extension in Firefox 11.
2. Create an html notification called notification.html and host on your server.
3. Run command to accept permission:  
window.webkitNotifications.requestPermission();     
4. Run command to fire HTML Notification:  
var htmlNotification = 
window.webkitNotifications.createHTMLNotification('/notification.html?title=Test
&description=Test');                            htmlNotification.show();

What is the expected output? What do you see instead?
The notification box pops up, but it just has the url in it instead of the 
contents of notification.html. On Chrome, we see the HTML in the notification 
box, and this gives us more control over the look/feel
of the notification.

What version of the product are you using? On what operating system?
HTML5 Extension 1.0.7 on Ubuntu 11.04 64 bit using Firefox 11.

Please provide any additional information below.
The extension overall works great, but would like to be able to support HTML 
notifications (not the default notifications but real HTML notifications using 
real HTML files) in Chrome. If I use those in Chrome, my users cannot use 
Firefox.

Original issue reported on code.google.com by jmort...@gmail.com on 12 Mar 2012 at 5:25

GoogleCodeExporter commented 8 years ago
Hello,

Technically, ubuntu version of Firefox use libnotify to show alerts.
With those versions, HTML notifications are not supported.

This behavior is reproductible with the following platforms :
- Linux when compiled with libnotify support (your case)
- Mac OS X (like said in project homepage)

Solving this issue most certainly requires to make a binary extension, which is 
not planned for the moment.

Regards,
Cyril

Original comment by pascal.c...@gmail.com on 12 Mar 2012 at 5:51