Skip to content

Commit

Permalink
Roll protocol to r1231733
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Dec 1, 2023
1 parent 92cb696 commit c137c7c
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 16 deletions.
50 changes: 35 additions & 15 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@


## Roll protocol to r1231733 — _2023-12-01T04:27:08.000Z_
###### Diff: [`92cb696...1ce8059`](https://github.com/ChromeDevTools/devtools-protocol/compare/`92cb696...1ce8059`)

```diff
@@ browser_protocol.pdl:11103 @@ experimental domain WebAuthn
# Sets whether User Verification succeeds or fails for an authenticator.
# Defaults to false.
optional boolean isUserVerified
- # Credentials created by this authenticator will have the backup
- # eligibility (BE) flag set to this value. Defaults to false.
- # https://w3c.github.io/webauthn/#sctn-credential-backup
- optional boolean defaultBackupEligibility
- # Credentials created by this authenticator will have the backup state
- # (BS) flag set to this value. Defaults to false.
- # https://w3c.github.io/webauthn/#sctn-credential-backup
- optional boolean defaultBackupState

type Credential extends object
properties
@@ -11679,12 +11671,6 @@ experimental domain FedCm
string title
optional string subtitle

- # Triggered when a dialog is closed, either by user action, JS abort,
- # or a command below.
- event dialogClosed
- parameters
- string dialogId
-
command enable
parameters
# Allows callers to disable the promise rejection delay that would
```

## Roll protocol to r1231134 — _2023-11-30T04:27:01.000Z_
###### Diff: [`2dcad56...a197027`](https://github.com/ChromeDevTools/devtools-protocol/compare/`2dcad56...a197027`)
###### Diff: [`2dcad56...92cb696`](https://github.com/ChromeDevTools/devtools-protocol/compare/`2dcad56...92cb696`)

```diff
@@ browser_protocol.pdl:7651 @@ domain Page
Expand Down Expand Up @@ -10973,18 +11007,4 @@ index bd277eb..09c420e 100644

# Status for an Origin Trial.
experimental type OriginTrialStatus extends string
```

## Roll protocol to r921910 — _2021-09-15T23:15:28.000Z_
###### Diff: [`2e2333f...d99de50`](https://github.com/ChromeDevTools/devtools-protocol/compare/`2e2333f...d99de50`)

```diff
@@ browser_protocol.pdl:6715 @@ domain Page
ch-device-memory
ch-downlink
ch-ect
+ ch-lang
ch-prefers-color-scheme
ch-rtt
ch-ua
```
22 changes: 22 additions & 0 deletions json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -23617,6 +23617,18 @@
"description": "Sets whether User Verification succeeds or fails for an authenticator.\nDefaults to false.",
"optional": true,
"type": "boolean"
},
{
"name": "defaultBackupEligibility",
"description": "Credentials created by this authenticator will have the backup\neligibility (BE) flag set to this value. Defaults to false.\nhttps://w3c.github.io/webauthn/#sctn-credential-backup",
"optional": true,
"type": "boolean"
},
{
"name": "defaultBackupState",
"description": "Credentials created by this authenticator will have the backup state\n(BS) flag set to this value. Defaults to false.\nhttps://w3c.github.io/webauthn/#sctn-credential-backup",
"optional": true,
"type": "boolean"
}
]
},
Expand Down Expand Up @@ -24700,6 +24712,16 @@
"type": "string"
}
]
},
{
"name": "dialogClosed",
"description": "Triggered when a dialog is closed, either by user action, JS abort,\nor a command below.",
"parameters": [
{
"name": "dialogId",
"type": "string"
}
]
}
],
"commands": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1231134",
"version": "0.0.1231733",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
14 changes: 14 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -11103,6 +11103,14 @@ experimental domain WebAuthn
# Sets whether User Verification succeeds or fails for an authenticator.
# Defaults to false.
optional boolean isUserVerified
# Credentials created by this authenticator will have the backup
# eligibility (BE) flag set to this value. Defaults to false.
# https://w3c.github.io/webauthn/#sctn-credential-backup
optional boolean defaultBackupEligibility
# Credentials created by this authenticator will have the backup state
# (BS) flag set to this value. Defaults to false.
# https://w3c.github.io/webauthn/#sctn-credential-backup
optional boolean defaultBackupState

type Credential extends object
properties
Expand Down Expand Up @@ -11671,6 +11679,12 @@ experimental domain FedCm
string title
optional string subtitle

# Triggered when a dialog is closed, either by user action, JS abort,
# or a command below.
event dialogClosed
parameters
string dialogId

command enable
parameters
# Allows callers to disable the promise rejection delay that would
Expand Down
5 changes: 5 additions & 0 deletions types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,11 @@ export namespace ProtocolMapping {
*/
'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
/**
* Triggered when a dialog is closed, either by user action, JS abort,
* or a command below.
*/
'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
}

export interface Commands {
Expand Down
6 changes: 6 additions & 0 deletions types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4116,6 +4116,12 @@ export namespace ProtocolProxyApi {

on(event: 'dialogShown', listener: (params: Protocol.FedCm.DialogShownEvent) => void): void;

/**
* Triggered when a dialog is closed, either by user action, JS abort,
* or a command below.
*/
on(event: 'dialogClosed', listener: (params: Protocol.FedCm.DialogClosedEvent) => void): void;

}
}

Expand Down
20 changes: 20 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17270,6 +17270,18 @@ export namespace Protocol {
* Defaults to false.
*/
isUserVerified?: boolean;
/**
* Credentials created by this authenticator will have the backup
* eligibility (BE) flag set to this value. Defaults to false.
* https://w3c.github.io/webauthn/#sctn-credential-backup
*/
defaultBackupEligibility?: boolean;
/**
* Credentials created by this authenticator will have the backup state
* (BS) flag set to this value. Defaults to false.
* https://w3c.github.io/webauthn/#sctn-credential-backup
*/
defaultBackupState?: boolean;
}

export interface Credential {
Expand Down Expand Up @@ -17834,6 +17846,14 @@ export namespace Protocol {
title: string;
subtitle?: string;
}

/**
* Triggered when a dialog is closed, either by user action, JS abort,
* or a command below.
*/
export interface DialogClosedEvent {
dialogId: string;
}
}
}

Expand Down

0 comments on commit c137c7c

Please sign in to comment.