-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract CDDL for WebDriver BiDi #1353
Comments
I'm not sure how to approach the "multiple extracts per spec" need (local and remote for WebDriver Bidi). The crawler generates one extract per spec. At a minimum, we'd need some sort of generic convention to understand what bucket to use for a given definition. I note that the Open Screen Protocol also defines CDDL. In the case of the Open Screen Protocol, CDDL is actually maintained in a If we start extracting CDDL from specs, it would be useful to also think about some validation mechanism. |
(I also guess I maybe should've filed this against reffy rather than webref) |
Another spec that defines CDDL is WebAuthn. There, the CDDL is not flagged in any particulary way (just a |
I wonder if we need to add an extra class for WebDriver BiDi CDDL? |
That does not change the problem at hand, but just to draw a more complete picture, in an ideal world, authoring tools would also support something like a
For Bikeshed, that's tracked in speced/bikeshed#2072. The issue notes the need to split the index into two (and the need for Webref to extract the CDDL). |
Currently we have multiple specs defining WebDriver BiDi endpoints; https://w3c.github.io/webdriver-bidi/ itself does, but also https://w3c.github.io/permissions/#automation-webdriver-bidi and https://webbluetoothcg.github.io/web-bluetooth/#automated-testing.
We have some code to extract CDDL from the WebDriver BiDi code, see https://github.com/w3c/webdriver-bidi/blob/3b1939c2380b9ba12cc123cef03c1e3af15fa01d/scripts/cddl/utils.js#L13, and generates three CDDL files ultimately:
local.cddl
,remote.cddl
,all.cddl
.We probably want to pull out all of
local-cddl
andremote-cddl
separately; all is just the union of both of these.See also: w3c/webdriver-bidi#791
The text was updated successfully, but these errors were encountered: