Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / permissions / chromium / test-revoke-sharedworker.html
blob439aa02e911e0218cad43fdfb13fae51066b1072
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Permissions API: test .revoke() method.</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 <script src="../resources/helpers.js"></script>
9 <script src="resources/testrunner-helpers.js"></script>
10 </head>
11 <body>
12 <script>
13 // Run the tests on the SharedWorker scope.
14 var shared_worker = new SharedWorker('resources/test-revoke.js');
15 shared_worker.port.addEventListener('message', window_message_handler);
16 shared_worker.port.start();
17 fetch_tests_from_worker(shared_worker);
18 </script>
19 </body>
20 </html>