Notifications page has a problem with cross origin iframes


(Thibault Molleman) #1

Hi,

When loading this page: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API#Tag_example
in Chrome v62 I get this error in the console:

Tag_example?revision=1280549:17 [Deprecation] Permission for the Notification API may no longer be requested from a cross-origin iframe. You should consider requesting permission from a top-level frame or opening a new window instead. See https://www.chromestatus.com/feature/6451284559265792 for more details.
(anonymous) @ Tag_example?revision=1280549:17

Cheers,
Thibault


(Eric Shepherd) #2

Thanks for reporting this. We will get it onto the list of things to fix.


(Eric Shepherd) #3

To be honest, this sounds a little like Google striking out on their own with a change and I am unsure how much effort needs to be put into worrying about this just yet. But I have filed bug 1413327 for this.

Eric Shepherd

Senior Technical Writer, MDN

MDN: https://developer.mozilla.org /

Blog: https://www.bitstampede.com/