| <!DOCTYPE html> | |
| <body> | |
| <script src=/resources/testharness.js></script> | |
| <script src=/resources/testharnessreport.js></script> | |
| <script src=../resources/feature-policy-permissions-test.js></script> | |
| <script> | |
| 'use strict'; | |
| run_permission_default_header_policy_tests( | |
| location.protocol + '//localhost:' + location.port, | |
| 'geolocation', | |
| 'PositionError', | |
| function() { return new Promise((resolve, reject) => { | |
| navigator.geolocation.getCurrentPosition(resolve, reject); }); }); | |
| </script> | |
| </body> |