[webkit-dev] How to use local icon for Web Notification API?

John Yani vanuan at gmail.com
Tue May 15 02:33:06 PDT 2012


I'm afraid this is not an appropriate list to ask. You should  try
stackoverflow first. If you think there is a bug in chrome, try the
chrome issue tracker.
Only if you're sure that all webkit browsers are affected, submit a
bug to the webkit tracker.

On 15 May 2012 10:16, Li-Chung Chang <clc168 at gmail.com> wrote:
> Hi,
>
> All *html & *js file are located in the local.
> And follow the instructions from
> http://www.html5rocks.com/en/tutorials/notifications/quick/
>
> I take a try for showing a notification with local icon (URL:
>  file:///xxxxx/icon.png)
> like:
> window.webkitNotifications.createnotification("file://xxxx/icon.png",
> "Notification", "some detail.......").show();
>
>
> I launched by "$google-chrome --allow-file-access-from-files"
> Notification can be shown but the icon is blank....
>
> BTW, Icon can be shown if URL is a with http:// prefix.
>
> How to use local icon(file://) for web notification API?
>
> Please reply if you get any suggestion for that.
> Thanks.
>
> Ziv
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>


More information about the webkit-dev mailing list