Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / notifications / resources / request-permission-worker.js
blob3203493f3f73fe35546628b9e6f035119ecba7d0
1 importScripts('../../serviceworker/resources/worker-testharness.js');
2 importScripts('/resources/testharness-helpers.js');
4 // TODO(peter): Have a more generic exposed-interface-test, also pulling in
5 // the serviceworker-notification-event.js test.
6 test(function() {
7     assert_false('requestPermission' in Notification);
9 }, 'Notification.requestPermission() is not exposed in Service Workers.');