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
* Add webNotifications feature for macOS
- Add web-notifications.js feature with Notification API polyfill
- Add message schema for showNotification, closeNotification, requestPermission
- Add unit tests
- Register feature for apple platform
- Add debug logging for feature loading
* Fix: Coerce notification options to strings for Swift decoding
- Convert title, body, icon, tag to String() in constructor
- Add tests for non-string option coercion
- Ensures Swift Decodable can parse numeric tag values
* Move webNotifications to webCompat setting
- Add webNotificationsFix() to web-compat.js as independent setting
- Move message definitions from web-notifications/ to web-compat/
- Remove webNotifications from standalone feature registration
- Delete standalone web-notifications.js and types
- Replace unit tests with integration tests in web-compat.spec.js
- Regenerate web-compat.ts types for new messages
* Add nativeEnabled setting and isSecureContext gate to webNotifications
- Add isSecureContext check (crypto.randomUUID requires secure context)
- Add nativeEnabled setting (defaults true, when false returns denied and skips native calls)
- Add integration tests for nativeEnabled: false behavior
* Remove debug logging from webNotificationsFix
* Address PR feedback for webNotificationsFix
- Update secure context comment to clarify Notification API requirement
- Replace wrapToString with shimInterface for consistent constructor wrapping
* Revert shimInterface change due to TypeScript constraints
shimInterface requires full interface implementation including EventTarget,
which is impractical for the Notification polyfill. Reverting to wrapToString.
* Use wrapFunction for Notification constructor, fix close() onclose handler, improve permission flow
* Update Notification.permission after requestPermission resolves
* Make close() idempotent to prevent multiple onclose events
0 commit comments