Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / notifications / request-permission-in-service-workers.html
blobf9ff5c3a425e88f557023382c717cdb92da264dd
1 <!doctype html>
2 <html>
3 <head>
4 <title>Notifications: Notification.requestPermission() should not be exposed in Service Workers.</title>
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 // The Notification.requestPermission() method should not be exposed in Service Workers.
12 service_worker_test(
13 'resources/request-permission-worker.js',
14 'Notification.requestPermission() should not be exposed in Service Workers.');
15 </script>
16 </body>
17 </html>