Re: [w3c/permissions] Add ClipboardPermissionDescriptor (#155)

marcoscaceres commented on this pull request.



> @@ -1082,6 +1082,39 @@ spec: webidl
       permission is the permission associated with the usage of the
       asynchronous methods in the [[clipboard-apis]].
     </p>
+    <dl>
+      <dt>
+        <a>permission descriptor type</a>
+      </dt>
+      <dd>
+        <pre class='idl'>
+          enum ClipboardPermissionAccess {
+            "full",
+            "write",
+          };
+          
+          dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
+            ClipboardPermissionAccess access;

I wonder if this should have the default ` ClipboardPermissionAccess access = "write"`? It takes the ambiguity out of what it means for it to be missing (which implies "write"). 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/155#pullrequestreview-62930611

Received on Friday, 15 September 2017 01:58:54 UTC