Closed Bug 1564794 Opened 6 years ago Closed 5 years ago

Live Example for Notification API does not work in Chrome on OpenSuse.

Categories

(developer.mozilla.org Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bauer.klaus.dieter, Unassigned, NeedInfo)

Details

(Keywords: in-triage)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

Steps to reproduce:

  1. Access https://developer.mozilla.org/en-US/docs/Web/API/notification#Example
  2. Click the "Notify Me" button.

Actual results:

At first nothing.

I had to open the iframe containing the example in a new tab. Only then did I get the Notification.requestPermission popup.

Expected results:

A permissions popup should have been displayed, asking for notifications permissions.

The cause seems to be a change to Chrome, where iframes are no longer allowed to request this permission. See e.g. https://www.chromestatus.com/feature/6451284559265792

The issue seems to be present across various webapps in different forms, though I only ever noticed it on the Work PC (OpenSuse), never on my private devices (Windows 10).

Flags: needinfo?(cmills)
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.