Skip to content

Commit e5c8d67

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent 1052947 commit e5c8d67

7 files changed

Lines changed: 91 additions & 3 deletions

File tree

gen-src/ChromeDevtoolsProtocol/Model/Accessibility/GetChildAXNodesRequest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,23 @@ final class GetChildAXNodesRequest implements \JsonSerializable
1414
/** @var string */
1515
public $id;
1616

17+
/**
18+
* The frame in whose document the node resides. If omitted, the root frame is used.
19+
*
20+
* @var string
21+
*/
22+
public $frameId;
23+
1724

1825
public static function fromJson($data)
1926
{
2027
$instance = new static();
2128
if (isset($data->id)) {
2229
$instance->id = (string)$data->id;
2330
}
31+
if (isset($data->frameId)) {
32+
$instance->frameId = (string)$data->frameId;
33+
}
2434
return $instance;
2535
}
2636

@@ -31,6 +41,9 @@ public function jsonSerialize()
3141
if ($this->id !== null) {
3242
$data->id = $this->id;
3343
}
44+
if ($this->frameId !== null) {
45+
$data->frameId = $this->frameId;
46+
}
3447
return $data;
3548
}
3649

gen-src/ChromeDevtoolsProtocol/Model/Accessibility/GetChildAXNodesRequestBuilder.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
final class GetChildAXNodesRequestBuilder
1313
{
1414
private $id;
15+
private $frameId;
1516

1617

1718
/**
@@ -24,6 +25,7 @@ public function build(): GetChildAXNodesRequest
2425
throw new BuilderException('Property [id] is required.');
2526
}
2627
$instance->id = $this->id;
28+
$instance->frameId = $this->frameId;
2729
return $instance;
2830
}
2931

@@ -38,4 +40,16 @@ public function setId($id): self
3840
$this->id = $id;
3941
return $this;
4042
}
43+
44+
45+
/**
46+
* @param string $frameId
47+
*
48+
* @return self
49+
*/
50+
public function setFrameId($frameId): self
51+
{
52+
$this->frameId = $frameId;
53+
return $this;
54+
}
4155
}

gen-src/ChromeDevtoolsProtocol/Model/Accessibility/GetFullAXTreeRequest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,23 @@ final class GetFullAXTreeRequest implements \JsonSerializable
1818
*/
1919
public $max_depth;
2020

21+
/**
22+
* The frame for whose document the AX tree should be retrieved. If omited, the root frame is used.
23+
*
24+
* @var string
25+
*/
26+
public $frameId;
27+
2128

2229
public static function fromJson($data)
2330
{
2431
$instance = new static();
2532
if (isset($data->max_depth)) {
2633
$instance->max_depth = (int)$data->max_depth;
2734
}
35+
if (isset($data->frameId)) {
36+
$instance->frameId = (string)$data->frameId;
37+
}
2838
return $instance;
2939
}
3040

@@ -35,6 +45,9 @@ public function jsonSerialize()
3545
if ($this->max_depth !== null) {
3646
$data->max_depth = $this->max_depth;
3747
}
48+
if ($this->frameId !== null) {
49+
$data->frameId = $this->frameId;
50+
}
3851
return $data;
3952
}
4053

gen-src/ChromeDevtoolsProtocol/Model/Accessibility/GetFullAXTreeRequestBuilder.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
final class GetFullAXTreeRequestBuilder
1111
{
1212
private $max_depth;
13+
private $frameId;
1314

1415

1516
/**
@@ -19,6 +20,7 @@ public function build(): GetFullAXTreeRequest
1920
{
2021
$instance = new GetFullAXTreeRequest();
2122
$instance->max_depth = $this->max_depth;
23+
$instance->frameId = $this->frameId;
2224
return $instance;
2325
}
2426

@@ -33,4 +35,16 @@ public function setMax_depth($max_depth): self
3335
$this->max_depth = $max_depth;
3436
return $this;
3537
}
38+
39+
40+
/**
41+
* @param string $frameId
42+
*
43+
* @return self
44+
*/
45+
public function setFrameId($frameId): self
46+
{
47+
$this->frameId = $frameId;
48+
return $this;
49+
}
3650
}

gen-src/ChromeDevtoolsProtocol/Model/Page/BackForwardCacheNotRestoredReasonEnum.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ final class BackForwardCacheNotRestoredReasonEnum
6161
const CACHE_CONTROL_NO_STORE_COOKIE_MODIFIED = 'CacheControlNoStoreCookieModified';
6262
const CACHE_CONTROL_NO_STORE_H_T_T_P_ONLY_COOKIE_MODIFIED = 'CacheControlNoStoreHTTPOnlyCookieModified';
6363
const NO_RESPONSE_HEAD = 'NoResponseHead';
64+
const UNKNOWN = 'Unknown';
65+
const ACTIVATION_NAVIGATIONS_DISALLOWED_FOR_BUG1234857 = 'ActivationNavigationsDisallowedForBug1234857';
6466
const WEB_SOCKET = 'WebSocket';
67+
const WEB_TRANSPORT = 'WebTransport';
6568
const WEB_R_T_C = 'WebRTC';
6669
const MAIN_RESOURCE_HAS_CACHE_CONTROL_NO_STORE = 'MainResourceHasCacheControlNoStore';
6770
const MAIN_RESOURCE_HAS_CACHE_CONTROL_NO_CACHE = 'MainResourceHasCacheControlNoCache';
@@ -105,5 +108,13 @@ final class BackForwardCacheNotRestoredReasonEnum
105108
const ISOLATED_WORLD_SCRIPT = 'IsolatedWorldScript';
106109
const INJECTED_STYLE_SHEET = 'InjectedStyleSheet';
107110
const MEDIA_SESSION_IMPL_ON_SERVICE_CREATED = 'MediaSessionImplOnServiceCreated';
108-
const UNKNOWN = 'Unknown';
111+
const SECURITY_HANDLER = 'SecurityHandler';
112+
const WEB_AUTHENTICATION_A_P_I = 'WebAuthenticationAPI';
113+
const FILE_CHOOSER = 'FileChooser';
114+
const SERIAL = 'Serial';
115+
const FILE_SYSTEM_ACCESS = 'FileSystemAccess';
116+
const MEDIA_DEVICES_DISPATCHER_HOST = 'MediaDevicesDispatcherHost';
117+
const WEB_BLUETOOTH = 'WebBluetooth';
118+
const WEB_U_S_B = 'WebUSB';
119+
const MEDIA_SESSION = 'MediaSession';
109120
}

protocol.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,12 @@
342342
{
343343
"name": "id",
344344
"$ref": "AXNodeId"
345+
},
346+
{
347+
"name": "frameId",
348+
"description": "The frame in whose document the node resides. If omitted, the root frame is used.",
349+
"optional": true,
350+
"$ref": "Page.FrameId"
345351
}
346352
],
347353
"returns": [
@@ -364,6 +370,12 @@
364370
"description": "The maximum depth at which descendants of the root node should be retrieved. If omitted, the full tree is returned.",
365371
"optional": true,
366372
"type": "integer"
373+
},
374+
{
375+
"name": "frameId",
376+
"description": "The frame for whose document the AX tree should be retrieved. If omited, the root frame is used.",
377+
"optional": true,
378+
"$ref": "Page.FrameId"
367379
}
368380
],
369381
"returns": [
@@ -17472,7 +17484,10 @@
1747217484
"CacheControlNoStoreCookieModified",
1747317485
"CacheControlNoStoreHTTPOnlyCookieModified",
1747417486
"NoResponseHead",
17487+
"Unknown",
17488+
"ActivationNavigationsDisallowedForBug1234857",
1747517489
"WebSocket",
17490+
"WebTransport",
1747617491
"WebRTC",
1747717492
"MainResourceHasCacheControlNoStore",
1747817493
"MainResourceHasCacheControlNoCache",
@@ -17516,7 +17531,15 @@
1751617531
"IsolatedWorldScript",
1751717532
"InjectedStyleSheet",
1751817533
"MediaSessionImplOnServiceCreated",
17519-
"Unknown"
17534+
"SecurityHandler",
17535+
"WebAuthenticationAPI",
17536+
"FileChooser",
17537+
"Serial",
17538+
"FileSystemAccess",
17539+
"MediaDevicesDispatcherHost",
17540+
"WebBluetooth",
17541+
"WebUSB",
17542+
"MediaSession"
1752017543
]
1752117544
},
1752217545
{

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3452ce7c401c381be58cefbcca724e83 protocol.json
1+
60c074cb380576c321309d762bc10c96 protocol.json

0 commit comments

Comments
 (0)