HTML5 Notifications are always denied (Bug #1203)


Added by Doug Reeder 11 months ago. Updated 11 months ago.


Status:New Start date:02/13/2017
Priority:Low Due date:
Assignee:Christophe Chapuis % Done:

0%

Category:OpenEmbedded
Target version:Later

Description

To reproduce:
1. On N4 or TP, run Testr
2. Select Notifications tab
3. Under "HTML 5 Non-persistent notifications", tap any button.

Actual result: In output area below: "Notification.permission: denied" and notification is not displayed

Expected result: System dialog is displayed, allowing user to allow or deny the origin permission to display notifications

This also affects web pages - they are always denied permission as well. See http://mdn.github.io/emogotchi/

Given that (for now) all packaged apps have the same origin, a temporary workaround would be to allow all origins permission to display notifications.


History

Updated by Herman van Hazendonk 11 months ago

QtWebEngine in QT 5.6 doesn't support HTML5 notifications yet. This was scheduled for 5.8 (https://bugreports.qt.io/browse/QTBUG-50995) it seems, but I believe it's still not there are per latest version on https://github.com/qt/qtwebengine/blob/dev/src/webenginewidgets/api/qwebenginepage.cpp#L1672

  • Priority changed from Normal to Low
  • Target version set to Later
  • Assignee set to Christophe Chapuis
  • Category set to OpenEmbedded

Also available in: Atom PDF