Open
Description
What is the issue with the Notifications API Standard?
- Blink:
- The constructor throws if called without pref: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/notifications/notification.cc;l=76-81;drc=494419358caf690316f160a1f27d9e771a14c033
- Pref is disabled on Android: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/runtime_enabled_features.json5;l=2687-2692;drc=a68be90fb705c6a538a9ef550fe7bca9595e8f29
- Safari:
- Notification interface itself is behind a pref: https://searchfox.org/wubkat/rev/04bd634bf20976f70014303e66875f22f8d65946/Source/WebCore/Modules/notifications/Notification.idl#34-40
- And it's disabled on iOS https://searchfox.org/wubkat/rev/04bd634bf20976f70014303e66875f22f8d65946/Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml#4676-4692
I understand the decision as tabs can be unloaded on mobile more frequently, but the spec does not cover this and it should.
Metadata
Metadata
Assignees
Labels
No labels