Issue 60 in pywebkitgtk: window.webkitNotifications is not an object.

23 views
Skip to first unread message

pyweb...@googlecode.com

unread,
Jan 29, 2011, 11:50:04 PM1/29/11
to pyweb...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 60 by NachE.NachE: window.webkitNotifications is not an object.
http://code.google.com/p/pywebkitgtk/issues/detail?id=60

*What steps will reproduce the problem?*
1. Make app with pywebkitgtk
2. Make html with this JavaScript code:
window.webkitNotifications.createNotification("", "Notifier", "Hello").popup.show();
3. Load file with pywebkitgtk app

*What is the expected output? What do you see instead?*
I was expected a notification window, but an error was printed:

** Message: console message: file://asdf.html @47: TypeError: Result of
expression 'window.webkitNotifications' [undefined] is not an object.


Im trying to create an app that supports desktop notifications. I know,
pywebkitgtk don't support webkitNotifications. But, do you know any way to
wrap these JavaScript objects? If it is posible, I could write pygtk code
to show desktop notifications.


pyweb...@googlecode.com

unread,
Aug 1, 2012, 8:10:18 AM8/1/12
to pyweb...@googlegroups.com

Comment #1 on issue 60 by abhijeet...@gmail.com: window.webkitNotifications
Any updates on this?

I also wish to do something similar. I want to execute "notify-send"
command each time a page sends a webkit notification. Is that possible?

Reply all
Reply to author
Forward
0 new messages