Index: third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js |
index 91ca13688644531b705435452c8cb4f965a684a8..1610e9ab7d33091f07fb22441fcb7f56920db7ad 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js |
@@ -14,6 +14,7 @@ function runTest(notification) { |
assert_throws(null, () => new NotificationEvent('NotificationEvent')); |
assert_throws(null, () => new NotificationEvent('NotificationEvent', {})); |
+ assert_throws(null, () => new NotificationEvent('NotificationEvent', { notification: null })); |
const event = new NotificationEvent('NotificationEvent', { notification }); |