Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/notifications/constructor-basic.https.txt
Niccolo Antonelli Dziri a72b0c29bb LibWeb: Add a simplified Notification constructor
This allows the Notification object to be created in javascript without
any additional functionalities.

It passes two wpt tests which require a call to the notification
constructor with no arguments.

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

https://wpt.live/notifications/constructor-invalid.https.html
2025-09-24 11:53:14 +01:00

9 lines
310 B
Plaintext

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