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

Unified Diff: LayoutTests/http/tests/push_messaging/pushmessagedata.html

Issue 1311853002: Update PushEvent and PushMessageData to match the spec. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months 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/pushmessagedata-constructor-text.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/push_messaging/pushmessagedata.html
diff --git a/LayoutTests/http/tests/push_messaging/pushmessagedata.html b/LayoutTests/http/tests/push_messaging/pushmessagedata.html
new file mode 100644
index 0000000000000000000000000000000000000000..a9cf5b5f3e3e1bc36ae8bd0862469e5f2d55e1f0
--- /dev/null
+++ b/LayoutTests/http/tests/push_messaging/pushmessagedata.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html>
+ <head>
+ <title>Push API: PushMessageData initialization and accessor behaviour.</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 PushMessageData object exists, can be initialized using
+ // a string or an ArrayBuffer(View) through the PushEvent and returns the
+ // expected values through its various accessors.
+ service_worker_test(
+ 'resources/pushmessagedata-worker.js',
+ 'PushMessageData initialization and accessor behaviour in a ServiceWorker.');
+ </script>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/push_messaging/pushmessagedata-constructor-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698