Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/notifications/constructor-basic.https.txt
Niccolo Antonelli Dziri bd76078f97 LibWeb: Add constructor for Notification and getter methods
The full constructor for NotificationsAPI::Notification is implemented
along with the getter methods.
It is now possible to call the elements of Notification in JS without
getting undefined but the default values (or the ones passed in
options).

The method `current_wall_time` is added in EnvironmentSettingsObject.

This passes a least a few more tests because of the getter methods
that are created.

https://wpt.live/notifications/constructor-basic.https.html

https://wpt.live/notifications/idlharness.https.any.html
2026-02-13 16:47:42 +00:00

8 lines
303 B
Plaintext

Harness status: OK
Found 3 tests
3 Pass
Pass Called the notification constructor with one argument.
Pass Constructing a notification without a NotificationOptions defaults to null.
Pass constructing a notification with a NotificationOptions dictionary correctly sets and reflects the silent attribute.