| 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
|
| deleted file mode 100644
|
| index 94ffdf36c06017e7653560149d9fc9a32b338d3b..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js
|
| +++ /dev/null
|
| @@ -1,33 +0,0 @@
|
| -importScripts('../../serviceworker/resources/worker-testharness.js');
|
| -importScripts('/resources/testharness-helpers.js');
|
| -
|
| -test(function() {
|
| - assert_true('NotificationEvent' in self);
|
| -
|
| - var event = new NotificationEvent('NotificationEvent');
|
| - assert_equals(event.type, 'NotificationEvent');
|
| - assert_will_be_idl_attribute(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() {
|
| - assert_will_be_idl_attribute(self, 'onnotificationclick',
|
| - 'The notificationclick event exists.');
|
| - assert_will_be_idl_attribute(self, 'onnotificationerror',
|
| - 'The notificationerror event exists.');
|
| -
|
| -}, 'The notificationclick and notificationerror events exist on the global scope.');
|
|
|