| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Notifications: NotificationEvent exposure in a Service Worker.</title
> | 4 <title>Notifications: NotificationEvent exposure in a Service Worker.</title
> |
| 5 <script src="../resources/testharness.js"></script> | 5 <script src="../resources/testharness.js"></script> |
| 6 <script src="../resources/testharnessreport.js"></script> | 6 <script src="../resources/testharnessreport.js"></script> |
| 7 <script src="../serviceworker/resources/test-helpers.js"></script> | 7 <script src="../serviceworker/resources/test-helpers.js"></script> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <script> | 10 <script> |
| 11 // Tests that the NotificationEvent object is exposed in a ServiceWorker | 11 // Tests that the NotificationEvent object is exposed in a ServiceWorker |
| 12 // and exposes the "notification" and "waitUntil" members, as well as the | 12 // and exposes the "notification" and "waitUntil" members, as well as the |
| 13 // "notificationclick" and "notificationerror" events. | 13 // "notificationclick" and "notificationerror" events. |
| 14 service_worker_test( | 14 service_worker_test( |
| 15 'resources/serviceworker-notification-event.js', | 15 'resources/serviceworker-notification-event.js', |
| 16 'Exposure of the NotificationEvent object in a ServiceWorker.'); | 16 'Exposure of the NotificationEvent object in a ServiceWorker.'); |
| 17 </script> | 17 </script> |
| 18 </body> | 18 </body> |
| 19 </html> | 19 </html> |
| OLD | NEW |