Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Side by Side Diff: LayoutTests/http/tests/notifications/serviceworker-notification-event.html

Issue 716143003: Make NotificationEvent constructable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // as well as the "notificationclick" and "notificationerror" events. 12 // and exposes the "notification" and "waitUntil" members, as well as the
13 // "notificationclick" and "notificationerror" events.
13 service_worker_test( 14 service_worker_test(
14 'resources/serviceworker-notification-event.js', 15 'resources/serviceworker-notification-event.js',
15 'Exposure of the NotificationEvent object in a ServiceWorker.'); 16 'Exposure of the NotificationEvent object in a ServiceWorker.');
16 </script> 17 </script>
17 </body> 18 </body>
18 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698