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

Unified Diff: LayoutTests/http/tests/push_messaging/pushevent-extendable-event.html

Issue 716203003: The "push" event should inherit from ExtendableEvent. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove PushEvent from global ctors 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/push_messaging/resources/pushevent-extendable-event.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/http/tests/push_messaging/resources/pushevent-extendable-event.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698