jnordberg / irccloudapp

Standalone IRCCloud desktop client for OS X
MIT License
150 stars 16 forks source link

Mountain Lion Notifications #6

Closed jnordberg closed 11 years ago

jnordberg commented 11 years ago

I had a stab at replacing the growl.framework with 10.8's NSUserNotificationCenter as the backing for the webscript webkitNofification bridge found in the app. However it turns out that ML's webkit view now provides a window.webkitNotifications that you can't override.

This would be fine if it actually worked, but Google and Apple follow different specs for notifications. And irccloud.com implements the (outdated) one still found in chrome.

http://dvcs.w3.org/hg/notifications/raw-file/tip/Overview.html http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification http://developer.apple.com/library/safari/#documentation/AppleApplications/Conceptual/SafariJSProgTopics/Articles/SendingNotifications.html

Edit: Seems like it's not a problem of differing specs, notifications in WebViews are broken (10.8.2)