I've verified that Notification.permission === 'granted'
, and, 'Notification' in window == true
, altho the following Javascript does not make a notification appear in my Chrome browser, Version 70.0.3538.77 (Official Build) (64-bit).
var notif = new Notification('title', {
icon: 'https://placehold.it/120x120',
body: 'body'
});
I've executed the above in Chrome Console on the site that I know I've previously Allowed for Desktop Notifications. I've also verified that it's set to Allow in this location: