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

API for HTML5 Web Notifications

XMLWordPrintable

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

      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

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes