blob: eeec7251c1c18ff839f5e01d8d439a5e0630aa55 [file] [log] [blame]
<!doctype html>
<meta charset=utf-8>
<title>Test Web NFC Permission.</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id="log"></div>
<script>
promise_test(function(test) {
return navigator.permissions.query({name:'nfc'}).then(function(result) {
assert_true(result instanceof PermissionStatus);
});
});
</script>