Re: [w3c/permissions] Switch PermissionName to DOMString (PR #353)

@miketaylr commented on this pull request.



> +                  This is deliberately design to work the same a WebIDL [=enumeration=] (`enum`)
+                  and implementers are encouraged to use their own custom `enum` here. The reason
+                  this is not an enum in the specification vary greatly in the powerful features
+                  they support. Using a {{DOMString}} to identify a powerful feature gives
+                  implementers the freedom to pick and choose the power features they wish support.

```suggestion
                  This is deliberately designed to work the same as a WebIDL [=enumeration=] (`enum`)
                  and implementers are encouraged to use their own custom `enum` here. The reason
                  this is not defined as an `enum` in the specification is that user agents vary greatly in 
                  the powerful features they support. Using a {{DOMString}} to identify a powerful feature 
                  gives implementers the freedom to pick and choose the powerful features they wish to 
                  support.
```

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

Message ID: <w3c/permissions/pull/353/review/873320080@github.com>

Received on Friday, 4 February 2022 16:37:29 UTC