4 <title>Notifications: Constructing a Notification should throw in a Service Worker.
</title>
5 <script src=
"../resources/testharness.js"></script>
6 <script src=
"../resources/testharnessreport.js"></script>
7 <script src=
"../serviceworker/resources/test-helpers.js"></script>
11 // Tests that constructing a Notification object in a Service Worker
12 // throws a TypeError per the specification. Developers should be using
13 // registration.showNotification() instead.
15 'resources/serviceworker-notification-constructor.js',
16 'Notification constructor behavior in a Service Worker.');