Re: [w3c/permissions] Allow "prompt the user to choose" apply to one or more options. (PR #376)

@jyasskin approved this pull request.



>          </p>
         <ol class="algorithm">
           <li>If |descriptor|'s <a>permission state</a> is {{PermissionState/"denied"}}, return
           {{PermissionState/"denied"}} and abort these steps.
           </li>
           <li>If |descriptor|'s <a>permission state</a> is {{PermissionState/"granted"}}, the user
-          agent may return one of |options| and abort these steps. If the user agent returns
-          without prompting, then subsequent <a data-lt="prompt the user to choose">prompts for the
-          user to choose</a> from the same set of options with the same |descriptor| must return
-          the same option, unless the user agent receives <a>new information about the user's
-          intent</a>.
+          agent may return one or more of |options| chosen by the user and abort these steps. If the user agent

```suggestion
          agent may return one (or more if |allowMultiple| is true) of |options| chosen by the user and abort these steps. If the user agent
```

To incorporate `allowMultiple` into the behavior.

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

Message ID: <w3c/permissions/pull/376/review/982078544@github.com>

Received on Monday, 23 May 2022 16:53:03 UTC