- From: Jonathon Kereliuk <notifications@github.com>
- Date: Mon, 04 Dec 2017 16:50:40 +0000 (UTC)
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 December 2017 16:51:14 UTC
JKereliuk commented on this pull request. > + <th><a lt="extension command name">Name</a></th> + </tr> + <tr> + <td>POST</td> + <td>permissions</td> + <td>set</td> + </tr> + </tbody> + </table> + <p>The <dfn>Set Permission</dfn> <a>extension command</a> simulates user + modification of a {{PermissionDescriptor}}'s <a>permission state</a>.</p> + <p>The <a>remote end steps</a> are:</p> + <ol> + <li>Let |permissionDesc| be the result of <a>getting the property</a> + "`descriptor`" from the |parameters| argument.</li> + <li>If |permissionDesc| is not a JSON object, return <a>error</a> with @jyasskin I'm not sure I understand the concern here, since this is part of the WebDriver spec that has a specific error code; however, maybe its bad convention that WebDriver does this in its spec and that should be changed? Also it looks like the link for error is broken, I think it should be [this](https://w3c.github.io/webdriver/webdriver-spec.html#handling-errors) -- 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#discussion_r154706287
Received on Monday, 4 December 2017 16:51:14 UTC