Re: [w3c/permissions] "Requesting more permission" algorithms are tightly coupled to prompts (#153)

> I think you mean proactive API here?

Yes, I do. I really need to be more careful. Sorry for the confusion!

> My thought is that we shouldn't spend the time specifying/implementing that
> behavior for now. If a clear need comes along we can dig deeper. WDYT?

I support your suggestion to dig deeper if a clear need comes along. It's just
that I don't think this will be necessary, after all.

My interpretation of @jyasskin's input is that a "proactive" API can actually
be used "reactively." In more concrete terms: directly setting the state of a
permission descriptor *after* a request has been made will be interpreted as
"the user grant[ing] permission", and that the pending promise will be
fulfilled.

I don't mean to belabor this detail, but because the distinction will be
observable from WebDriver scripts, I want to be sure I understand what the
expected behavior is. It took me some time to come to this interpretation. It
may be due to carelessness on my part, but I'm starting to think that this spec
language is a little too loose about this. I'd be interested in tightening it
up a but, but first: do you agree with the interpretation I shared above?

-- 
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/issues/153#issuecomment-313728870

Received on Friday, 7 July 2017 16:25:41 UTC