Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.webkitNotifications is not an object. #60

Open
GoogleCodeExporter opened this issue Nov 26, 2015 · 1 comment
Open

window.webkitNotifications is not an object. #60

GoogleCodeExporter opened this issue Nov 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

*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.

Original issue reported on code.google.com by NachE.NachE on 30 Jan 2011 at 4:49

@GoogleCodeExporter
Copy link
Author

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?

Original comment by [email protected] on 1 Aug 2012 at 12:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant