Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-50995

API for HTML5 Web Notifications

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P2: Important
    • 5.13
    • None
    • WebEngine
    • None

    Description

      Web Notifications defines an HTML5 API for end-user notifications. A notification allows alerting the user outside the context of a web page of an occurrence, such as the delivery of email.

      This is an opt-in feature that usually needs to be enabled by the user per site. Common ways to show such notifications is via a system tray (see attached pictures for examples).

      Qt does not offer API for showing notifications e.g. in the system tray. But Qt WebEngine should provide API to a) enable/disable notifications per page, and b) notify the application about arriving notifications.

      HTML Standard

      https://www.w3.org/TR/notifications/

      Example

      https://jsbin.com/ziwod/2/edit?html,js,console,output

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-50995
          # Subject Branch Project Status CR V

          Activity

            People

              kiburtse Kirill Burtsev
              kkohne Kai Köhne
              Petref Saraci Petref Saraci (Inactive)
              Kai Köhne Kai Köhne
              Votes:
              8 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes