Index: LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js |
diff --git a/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js b/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js |
index 94ffdf36c06017e7653560149d9fc9a32b338d3b..148df6e2898e466470d8ca4772827945bf2204e8 100644 |
--- a/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js |
+++ b/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js |
@@ -12,15 +12,12 @@ test(function() { |
assert_equals(event.notification, null); |
assert_inherits(event, 'waitUntil'); |
- var notification = new Notification('foo'); |
var eventWithInit = new NotificationEvent('NotificationEvent', |
{ cancelable: true, |
- bubbles: true, |
- notification: notification, |
+ bubbles: true |
}); |
assert_equals(eventWithInit.cancelable, true); |
assert_equals(eventWithInit.bubbles, true); |
- assert_equals(eventWithInit.notification, notification); |
}, 'NotificationEvent is exposed, and has the expected interface.'); |