Skip to content

Commit

Permalink
Publish curated data from 3d23635
Browse files Browse the repository at this point in the history
Curated data generated from raw data at 3d23635
  • Loading branch information
curation-bot committed Dec 17, 2024
1 parent d120e88 commit 1609aec
Show file tree
Hide file tree
Showing 18 changed files with 5,484 additions and 231 deletions.
2 changes: 1 addition & 1 deletion ed/algorithms/CSP3.json
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"rationale": "let",
"steps": [
{
"html": "<p>Let <var>compilationSink</var> be \"Function\" if <var>compilationType</var> is \"<code>FUNCTION</code>\", and \"Eval\" otherwise.</p>"
"html": "<p>Let <var>compilationSink</var> be \"Function\" if <var>compilationType</var> is \"<code>FUNCTION</code>\", and \"eval\" otherwise.</p>"
},
{
"html": "<p>Let <var>isTrusted</var> be <code>true</code> if <var>bodyArg</var> <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#implements\" id=\"ref-for-implements\">implements</a> <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://www.w3.org/TR/trusted-types/#trustedscript\" id=\"ref-for-trustedscript\">TrustedScript</a></code>, and <code>false</code> otherwise.</p>"
Expand Down
2 changes: 1 addition & 1 deletion ed/algorithms/html.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
]
},
{
"html": "The <a href=\"https://dom.spec.whatwg.org/#concept-node-post-connection-ext\" id=\"dom-trees:concept-node-post-insert-ext\" data-x-internal=\"concept-node-post-insert-ext\">post-connection steps</a> for the HTML\n Standard, given <var>insertedNode</var>, are defined as the following:",
"html": "The <a href=\"https://dom.spec.whatwg.org/#concept-node-post-connection-ext\" id=\"dom-trees:concept-node-post-connection-ext\" data-x-internal=\"concept-node-post-connection-ext\">post-connection steps</a> for the HTML\n Standard, given <var>insertedNode</var>, are defined as the following:",
"rationale": "if",
"steps": [
{
Expand Down
179 changes: 178 additions & 1 deletion ed/cddl/at-driver-all.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,181 @@
; (https://github.com/w3c/webref)
; Source: AT Driver (https://w3c.github.io/at-driver/)

undefined
Extensible = {
*text => any
}

Command = {
id: uint,
CommandData,
Extensible,
}

CommandData = (
SessionCommand //
SettingsCommand //
InteractionCommand
)

EmptyParams = { Extensible }

Extensible = {
*text => any
}

Message = (
CommandResponse //
ErrorResponse //
Event
)

CommandResponse = {
id: uint,
result: ResultData,
Extensible,
}

ErrorResponse = {
id: uint / null,
error: "unknown error" / "unknown command" / "invalid argument" / "session not created",
message: text,
?stacktrace: text,
Extensible,
}

ResultData = (
EmptyResult /
SessionResult /
SettingsResult
)

EmptyResult = {}

Event = {
EventData,
Extensible,
}

EventData = (
InteractionEvent
)

SessionCommand = (SessionNewCommand)

SessionResult = (SessionNewResult)

CapabilitiesRequest = {
?atName: text,
?atVersion: text,
?platformName: text,
Extensible,
}

SessionNewCommand = {
method: "session.new",
params: {capabilities: CapabilitiesRequestParameters},
}

CapabilitiesRequestParameters = {
?alwaysMatch: CapabilitiesRequest,
}

SessionNewResult = {
sessionId: text,
capabilities: {
atName: text,
atVersion: text,
platformName: text,
Extensible,
}
}

SettingsCommand = {
SettingsSetSettingsCommand //
SettingsGetSettingsCommand //
SettingsGetSupportedSettingsCommand
}

SettingsResult = {
SettingsGetSettingsResult
}

SettingsGetSettingsResult = {
settings: [1* SettingsGetSettingsResultItem ],
}

SettingsGetSettingsResultItem = {
name: text,
value: any,
Extensible,
}

SettingsSetSettingsCommand = {
method: "settings.setSettings",
params: SettingsSetSettingsParameters
}

SettingsSetSettingsParameters = {
settings: [1* SettingsSetSettingsParametersItem ],
}

SettingsSetSettingsParametersItem = {
name: text,
value: any,
Extensible,
}

EmptyResult

SettingsGetSettingsCommand = {
method: "settings.getSettings",
params: SettingsGetSettingsParameters
}

SettingsGetSettingsParameters = {
settings: [1* SettingsGetSettingsParametersItem ],
}

SettingsGetSettingsParametersItem = {
name: text,
Extensible,
}

SettingsGetSettingsResult

SettingsGetSupportedSettingsCommand = {
method: "settings.getSupportedSettings",
params: EmptyParams
}

SettingsGetSettingsResult

InteractionCommand = (InteractionPressKeysCommand)

InteractionEvent = (InteractionCapturedOutputEvent)

InteractionCapturedOutputParameters = {
data: text,
Extensible,
}

InteractionPressKeysCommand = {
method: "interaction.pressKeys",
params: InteractionPressKeysParameters
}

InteractionPressKeysParameters = {
"keys" => KeyCombination,
Extensible,
}

KeyCombination = [
1* text
]

EmptyResult

InteractionCapturedOutputEvent = {
method: "interaction.capturedOutput",
params: InteractionCapturedOutputParameters
}
94 changes: 93 additions & 1 deletion ed/cddl/at-driver-local.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,96 @@
; (https://github.com/w3c/webref)
; Source: AT Driver (https://w3c.github.io/at-driver/)

undefined
Extensible = {
*text => any
}

Message = (
CommandResponse //
ErrorResponse //
Event
)

CommandResponse = {
id: uint,
result: ResultData,
Extensible,
}

ErrorResponse = {
id: uint / null,
error: "unknown error" / "unknown command" / "invalid argument" / "session not created",
message: text,
?stacktrace: text,
Extensible,
}

ResultData = (
EmptyResult /
SessionResult /
SettingsResult
)

EmptyResult = {}

Event = {
EventData,
Extensible,
}

EventData = (
InteractionEvent
)

SessionResult = (SessionNewResult)

CapabilitiesRequest = {
?atName: text,
?atVersion: text,
?platformName: text,
Extensible,
}

SessionNewResult = {
sessionId: text,
capabilities: {
atName: text,
atVersion: text,
platformName: text,
Extensible,
}
}

SettingsResult = {
SettingsGetSettingsResult
}

SettingsGetSettingsResult = {
settings: [1* SettingsGetSettingsResultItem ],
}

SettingsGetSettingsResultItem = {
name: text,
value: any,
Extensible,
}

EmptyResult

SettingsGetSettingsResult

SettingsGetSettingsResult

InteractionEvent = (InteractionCapturedOutputEvent)

InteractionCapturedOutputParameters = {
data: text,
Extensible,
}

EmptyResult

InteractionCapturedOutputEvent = {
method: "interaction.capturedOutput",
params: InteractionCapturedOutputParameters
}
Loading

0 comments on commit 1609aec

Please sign in to comment.