Re: [w3c/permissions] Give the UA permission to return anything it wants from query(). (#97)

> +          return one of the options and abort these steps. If the UA returns
> +          without prompting, then successive <a lt="prompt the user to
> +          choose">prompts for the user to choose</a> from the same set of
> +          options with the same |descriptor| should return the same option,
> +          unless the UA receives new information about the user's intent.
> +        </li>
> +        <li>
> +          Show the user a prompt asking them to choose one of the options or
> +          deny permission, and wait for them to choose. If the calling algorithm
> +          specified extra information to show in the prompt, show it.
> +        </li>
> +        <li>
> +          If the user chose an option, return it; otherwise return {{"denied"}}.
> +          Depending on the details of the user's interaction, the UA may also
> +          treat this as new information about the user's intent for other realms
> +          with the same origin.

What would the task's steps be? Since information about the user's intent always comes in asynchronously, and it only affects the return values from other mostly-unconstrained algorithms, I don't think we generally need to talk about the tasks involved.

---
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/97/files/247f065b3c9d8d80a94fefbcee1b83488700000c#r64833915

Received on Thursday, 26 May 2016 22:45:40 UTC