Re: [w3c/permissions] Introduce "Automation" section (#151)

Hi @shs96c, @AutomatedTester, and @burg!

I'm looking to move forward with this patch. To that end, I've been trying to catch up on [the recent work done in WebKit](https://gist.github.com/burg/17a6f362fedfe6ee91354d197b415736) and [the
resultant conversation at TPAC](https://www.w3.org/2017/11/10-webdriver-minutes.html). I think that discussion has changed the group's preferred automation "style", but I'm having trouble understanding the resolution.

To recap, [we've been considering three alternatives](https://docs.google.com/document/d/1Oe4VhgdFnZ6ID3WGyG97n_b1khvYsRcX7T4ddNcyJ9A/edit#heading=h.xws79928vxeg):

- "passive," where WebDriver implements a "permissions handler" capability which declaratively states how it will respond to requests for permissions in a given WebDriver session
- "reactive," where WebDriver commands influence pending requests for permission; commands are intended to be issued *after* the web application has requested permission
- "proactive," where WebDriver commands set permission descriptors; commands are intended to be issued *before* the web application requests a permission

Reading the minutes, there seems to be some conflation of "reactive" approach with "UI interaction." Although I first thought in these terms, I no longer believe that this is strictly necessary. As I interpret it, the "reactive" approach could be implemented in the absence of any particular UI.

Separately, @jgraham (speaking today via IRC) has suggested that there are concerns that a "reactive" style would not map well in synchronous communication contexts. Unfortunately, James wasn't present for the whole discussion, and I can't find any notes on this.

Given that I initially proposed a "reactive" style and [switched to the "proactive" style following feedback](https://github.com/w3c/permissions/pull/151#issuecomment-310692041) from @raymeskhoury, I'd like to get some clarity from those involved before making any specific changes. Could one of you folks could elaborate on the resolution at TPAC?

-- 
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/151#issuecomment-349174519

Received on Tuesday, 5 December 2017 02:25:21 UTC