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.

So, given what is written here, it would cause a propagation across realms. It sounds like "queue a task" might be needed for propagating the change, no?

---
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#r64691029

Received on Thursday, 26 May 2016 04:44:56 UTC