blob: a9cf5b5f3e3e1bc36ae8bd0862469e5f2d55e1f0 [file] [log] [blame]
<!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>