Pass | Called the notification constructor with one argument. | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /notifications/constructor-basic.https.html:11:5) |
|
Fail | Constructing a notification without a NotificationOptions defaults to null. | assert_equals: Expected null by default expected (object) null but got (boolean) false at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/notifications/constructor-basic.https.html:18:5)
at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/notifications/constructor-basic.https.html:17:1 Asserts runFail | assert_equals(false, null, "Expected null by default")
at Test.<anonymous> ( /notifications/constructor-basic.https.html:18:5) |
|
Fail | constructing a notification with a NotificationOptions dictionary correctly sets and reflects the silent attribute. | assert_equals: Expected silent to be null when initialized with null. expected (object) null but got (boolean) false at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/notifications/constructor-basic.https.html:27:9)
at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/notifications/constructor-basic.https.html:25:1 Asserts runFail | assert_equals(false, null, "Expected silent to be null when initialized with null.")
at Test.<anonymous> ( /notifications/constructor-basic.https.html:27:9) |
|