Index: LayoutTests/http/tests/push_messaging/pushevent-extendable-event.html |
diff --git a/LayoutTests/http/tests/push_messaging/pushevent-extendable-event.html b/LayoutTests/http/tests/push_messaging/pushevent-extendable-event.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5e8eb950cb7388351451e334be7fe9da644ed5d8 |
--- /dev/null |
+++ b/LayoutTests/http/tests/push_messaging/pushevent-extendable-event.html |
@@ -0,0 +1,18 @@ |
+<!doctype html> |
+<html> |
+ <head> |
+ <title>Push API: PushEvent should be an ExtendableEvent.</title> |
+ <script src="../resources/testharness.js"></script> |
+ <script src="../resources/testharnessreport.js"></script> |
+ <script src="../serviceworker/resources/test-helpers.js"></script> |
+ </head> |
+ <body> |
+ <script> |
+ // Tests that the PushEvent constructor is exposed in a ServiceWorker and |
+ // exposes the "data" and "waitUntil" members. |
+ service_worker_test( |
+ 'resources/pushevent-extendable-event.js', |
+ 'Exposure of the PushEvent object in a ServiceWorker.'); |
+ </script> |
+ </body> |
+</html> |