You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the issue with the Notifications API Standard?
Running new Notification('\f').onerror = console.error; on browsers on Windows fails to put the notification to Action Center as Windows somehow rejects form feed character. Firefox and Chrome have different behavior:
Firefox silently falls back to non-native notification. Well good, but the notification just disappears soon and the webpage will never know what really happened.
Chrome just silently does nothing at all, showing no notification.
Notification has an error event handler but the spec only uses it to tell the lack of the permission. Perhaps it should also be used to tell whether the notification is failed to be created by system limitation.
The text was updated successfully, but these errors were encountered:
What is the issue with the Notifications API Standard?
Running
new Notification('\f').onerror = console.error;
on browsers on Windows fails to put the notification to Action Center as Windows somehow rejects form feed character. Firefox and Chrome have different behavior:Notification has an
error
event handler but the spec only uses it to tell the lack of the permission. Perhaps it should also be used to tell whether the notification is failed to be created by system limitation.The text was updated successfully, but these errors were encountered: