mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
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
8 lines
303 B
Plaintext
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. |