w3c-fedid / FedCM

A privacy preserving identity exchange Web API
https://w3c-fedid.github.io/FedCM/
Other
383 stars 73 forks source link

WebDriver capability might have an invalid name #485

Open rakuco opened 1 year ago

rakuco commented 1 year ago

While adding some WebDriver extension commands to another spec, I've come across the extension commands that this spec and WebAuthn define.

I'm filing this issue just to let people know that I've recently created w3c/webdriver#1749 to try to get some clarification on the distinction between "extension capabilities" and "additional WebDriver capabilities". My understanding so far is that specs like FedCM should define the latter, not the former. Doing so allows hooking into "additional capability deserialization algorithm" and "matched capability serialization algorithm" for example, but does require a different naming scheme.

cbiesinger commented 1 year ago

link: https://w3c.github.io/webdriver/#dfn-additional-webdriver-capability

I did indeed miss the distinction between an "additional" and an "extension" capability. I would love input from someone who knows webdriver better than me about what to do here.

cbiesinger commented 1 year ago

thanks for filing this issue.

@mathiasbynens any advice?

@stephenmcgruer fyi

npm1 commented 8 months ago

Friendly ping @mathiasbynens

mathiasbynens commented 2 months ago

My understanding is:

I agree that an “additional capability” is what we want here.

Practically this means that the name fedcm:accounts in https://w3c-fedid.github.io/FedCM/#webdriver-capability must change.


For completeness sake, I’ll also point out that so far, we’ve only talked about the WebDriver “Classic” spec. WebDriver BiDi also allows other specs to define their own modules that extend the WebDriver BiDi protocol, and unlike WebDriver Classic, it supports bi-directionality and events. Web Bluetooth is an example of a spec that extends WebDriver BiDi, here: https://webbluetoothcg.github.io/web-bluetooth/#automated-testing This might be helpful for future specs that require functionality that doesn’t exist in WebDriver Classic.