Skip to content

Commit

Permalink
Roll protocol to r1423531
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Feb 22, 2025
1 parent 43b22be commit d45566d
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 6 deletions.
19 changes: 18 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@


## Roll protocol to r1423531 — _2025-02-22T04:29:31.000Z_
###### Diff: [`43b22be...aee9a5d`](https://github.com/ChromeDevTools/devtools-protocol/compare/43b22be...aee9a5d)

```diff
@@ browser_protocol.pdl:8811 @@ domain Page

# Enables page domain notifications.
command enable
+ parameters
+ # If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by
+ # `Page.setInterceptFileChooserDialog` command (default: false).
+ experimental optional boolean enableFileChooserOpenedEvent

# The manifest of a webapp, see
# https://www.w3.org/TR/appmanifest/#dfn-manifest.
```

## Roll protocol to r1422344 — _2025-02-20T04:28:59.000Z_
###### Diff: [`90fcdd6...8e4453f`](https://github.com/ChromeDevTools/devtools-protocol/compare/90fcdd6...8e4453f)
###### Diff: [`90fcdd6...43b22be`](https://github.com/ChromeDevTools/devtools-protocol/compare/90fcdd6...43b22be)

```diff
@@ browser_protocol.pdl:9751 @@ domain Page
Expand Down
11 changes: 10 additions & 1 deletion json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -19228,7 +19228,16 @@
},
{
"name": "enable",
"description": "Enables page domain notifications."
"description": "Enables page domain notifications.",
"parameters": [
{
"name": "enableFileChooserOpenedEvent",
"description": "If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by\n`Page.setInterceptFileChooserDialog` command (default: false).",
"experimental": true,
"optional": true,
"type": "boolean"
}
]
},
{
"name": "getAppManifest",
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.1422344",
"version": "0.0.1423531",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
4 changes: 4 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -8811,6 +8811,10 @@ domain Page

# Enables page domain notifications.
command enable
parameters
# If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by
# `Page.setInterceptFileChooserDialog` command (default: false).
experimental optional boolean enableFileChooserOpenedEvent

# The manifest of a webapp, see
# https://www.w3.org/TR/appmanifest/#dfn-manifest.
Expand Down
2 changes: 1 addition & 1 deletion types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3889,7 +3889,7 @@ export namespace ProtocolMapping {
* Enables page domain notifications.
*/
'Page.enable': {
paramsType: [];
paramsType: [Protocol.Page.EnableRequest?];
returnType: void;
};
/**
Expand Down
2 changes: 1 addition & 1 deletion types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2970,7 +2970,7 @@ export namespace ProtocolProxyApi {
/**
* Enables page domain notifications.
*/
enable(): Promise<void>;
enable(params: Protocol.Page.EnableRequest): Promise<void>;

/**
* Gets the processed manifest for this current document.
Expand Down
2 changes: 1 addition & 1 deletion types/protocol-tests-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3182,7 +3182,7 @@ export namespace ProtocolTestsProxyApi {
/**
* Enables page domain notifications.
*/
enable(): Promise<{id: number, result: void, sessionId: string}>;
enable(params: Protocol.Page.EnableRequest): Promise<{id: number, result: void, sessionId: string}>;

/**
* Gets the processed manifest for this current document.
Expand Down
8 changes: 8 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14467,6 +14467,14 @@ export namespace Protocol {
url: string;
}

export interface EnableRequest {
/**
* If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by
* `Page.setInterceptFileChooserDialog` command (default: false).
*/
enableFileChooserOpenedEvent?: boolean;
}

export interface GetAppManifestRequest {
manifestId?: string;
}
Expand Down

0 comments on commit d45566d

Please sign in to comment.