w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
336 stars 35 forks source link

WIP: Introduce Browser Permissions #590

Closed thiagowfx closed 8 months ago

thiagowfx commented 8 months ago

Bug: #587 Spec: https://www.w3.org/TR/permissions/


Preview | Diff

thiagowfx commented 8 months ago

Removed, maybe to re-add later, maybe not:

CDDL:
? origin: text,

Algorithm:
1. Let |origin| be the value of the <code>origin</code> field of |command
   parameters| if present, or null otherwise, representing an [=/origin=].

Meant to refer to https://chromedevtools.github.io/devtools-protocol/tot/Browser/#method-setPermission

thiagowfx commented 8 months ago

cc @OrKoN

thiagowfx commented 8 months ago

Sounds good. Closing this PR, will rewrite it in the permissions spec repo: https://github.com/w3c/permissions/

For future updates refer to the Issue instead: https://github.com/w3c/webdriver-bidi/issues/587.