| 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 1788eed555717e267dc5e5e0531b993d2f07b48c..fd545ea85582bcb349f95824cea07fa94c0cd0a5 100644
|
| --- a/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js
|
| +++ b/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js
|
| @@ -7,8 +7,21 @@ test(function() {
|
| var event = new NotificationEvent('NotificationEvent');
|
| assert_equals(event.type, 'NotificationEvent');
|
| assert_own_property(event, 'notification');
|
| + assert_equals(event.cancelable, false);
|
| + assert_equals(event.bubbles, false);
|
| + 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,
|
| + });
|
| + assert_equals(eventWithInit.cancelable, true);
|
| + assert_equals(eventWithInit.bubbles, true);
|
| + assert_equals(eventWithInit.notification, notification);
|
| +
|
| }, 'NotificationEvent is exposed, and has the expected interface.');
|
|
|
| test(function() {
|
|
|