OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <html> |
| 3 <head> |
| 4 <title>Push API: PushMessageData initialization and accessor behaviour.</tit
le> |
| 5 <script src="../resources/testharness.js"></script> |
| 6 <script src="../resources/testharnessreport.js"></script> |
| 7 <script src="../serviceworker/resources/test-helpers.js"></script> |
| 8 </head> |
| 9 <body> |
| 10 <script> |
| 11 // Tests that the PushMessageData object exists, can be initialized using |
| 12 // a string or an ArrayBuffer(View) through the PushEvent and returns the |
| 13 // expected values through its various accessors. |
| 14 service_worker_test( |
| 15 'resources/pushmessagedata-worker.js', |
| 16 'PushMessageData initialization and accessor behaviour in a ServiceWor
ker.'); |
| 17 </script> |
| 18 </body> |
| 19 </html> |
OLD | NEW |