title: Firefox permission: 'name' member of PermissionDescriptor 'camera' is not a valid value for enumeration PermissionName
body: <p>I'm making a web app that needs to check whether user camera access permission has been granted or not using permission query.</p>
  
  <p>I have tried the code:</p>
  
  <pre><code>navigator.permissions.query({name:'camera'}).then(function(result) {
   console.log(result);
  });
  </code></pre>
  
  <p>It ran fine on <strong>Google Chrome 70</strong> but gave me an error on firefox:</p>
  
  <p><strong>TypeError: 'name' member of PermissionDescriptor 'camera' is not a valid value for enumeration PermissionName.</strong></p>
  
  <p>I have been searching for this issue but nothing helped.</p>
  
  <p>Can anyone help me please ?</p>
  
  <p>Thanks,</p>