Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16236

window.webkitNotifications.createHTMLNotification() is deprecated/removed from Chrome

    Details

    • Similar Issues:

      Description

      See https://plus.google.com/u/0/+GoogleChromeDevelopers/posts/8vWo8hq4pDm

      window.webkitNotifications.createNotification() still works.

        Attachments

          Activity

          Hide
          damienfinck67 Damien Finck added a comment -

          Google Chrome
          This plugin doesn't work on Google Chrome since september 2013
          (See https://code.google.com/p/chromium/issues/detail?id=137297)

          Firefox
          On Firefox, the solution is to use this addon : https://addons.mozilla.org/fr/firefox/addon/html-notifications/
          But since Firefox 22 (june, 24th, 2013), there is a native Firefox support notification and this addon no longer works at all.

          Compatibility
          See http://caniuse.com/#feat=notifications

          W3C
          http://www.w3.org/TR/notifications/

          Google Chrome: new API Notifications
          http://developer.chrome.com/beta/extensions/notifications.html

          Fix plugin
          I will soon propose a pull request which use window.webkitNotifications.createNotification(picture, title, text);
          But the notification will be less beautiful than before because we can do fewer things. My solution will works with lastest Google Chrome and Firefox.

          Show
          damienfinck67 Damien Finck added a comment - Google Chrome This plugin doesn't work on Google Chrome since september 2013 (See https://code.google.com/p/chromium/issues/detail?id=137297 ) Firefox On Firefox, the solution is to use this addon : https://addons.mozilla.org/fr/firefox/addon/html-notifications/ But since Firefox 22 (june, 24th, 2013), there is a native Firefox support notification and this addon no longer works at all. Compatibility See http://caniuse.com/#feat=notifications W3C http://www.w3.org/TR/notifications/ Google Chrome: new API Notifications http://developer.chrome.com/beta/extensions/notifications.html Fix plugin I will soon propose a pull request which use window.webkitNotifications.createNotification(picture, title, text); But the notification will be less beautiful than before because we can do fewer things. My solution will works with lastest Google Chrome and Firefox.
          Hide
          billinghamj James Billingham added a comment -

          Could really do with this being fixed ideally. Plugin just doesn't work at the moment.

          Show
          billinghamj James Billingham added a comment - Could really do with this being fixed ideally. Plugin just doesn't work at the moment.
          Hide
          halkeye Gavin Mogan added a comment -

          I've submitted a pull request to fix this.

          For anyone else looking to try this (@billinghamj maybe) I think you can grab the files from cloudbees - https://jenkins.ci.cloudbees.com/job/plugins/job/html5-notifier-plugin/1/org.jenkins-ci.plugins$html5-notifier-plugin/

          Show
          halkeye Gavin Mogan added a comment - I've submitted a pull request to fix this. For anyone else looking to try this (@billinghamj maybe) I think you can grab the files from cloudbees - https://jenkins.ci.cloudbees.com/job/plugins/job/html5-notifier-plugin/1/org.jenkins-ci.plugins$html5-notifier-plugin/
          Hide
          billinghamj James Billingham added a comment -
          Show
          billinghamj James Billingham added a comment - Works! http://i.imgur.com/xeXtUve.png
          Hide
          halkeye Gavin Mogan added a comment -

          So I've pushed up a new version. 1.3 should be using the new notification system.

          Show
          halkeye Gavin Mogan added a comment - So I've pushed up a new version. 1.3 should be using the new notification system.

            People

            • Assignee:
              halkeye Gavin Mogan
              Reporter:
              jervi Jørgen Jervidalo
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: