Skip to content

Commit 4705cef

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent 4e4ea1d commit 4705cef

File tree

8 files changed

+183
-1
lines changed

8 files changed

+183
-1
lines changed

gen-src/ChromeDevtoolsProtocol/Domain/StorageDomain.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use ChromeDevtoolsProtocol\Model\Storage\CacheStorageListUpdatedEvent;
99
use ChromeDevtoolsProtocol\Model\Storage\ClearCookiesRequest;
1010
use ChromeDevtoolsProtocol\Model\Storage\ClearDataForOriginRequest;
11+
use ChromeDevtoolsProtocol\Model\Storage\ClearDataForStorageKeyRequest;
1112
use ChromeDevtoolsProtocol\Model\Storage\ClearTrustTokensRequest;
1213
use ChromeDevtoolsProtocol\Model\Storage\ClearTrustTokensResponse;
1314
use ChromeDevtoolsProtocol\Model\Storage\GetCookiesRequest;
@@ -55,6 +56,12 @@ public function clearDataForOrigin(ContextInterface $ctx, ClearDataForOriginRequ
5556
}
5657

5758

59+
public function clearDataForStorageKey(ContextInterface $ctx, ClearDataForStorageKeyRequest $request): void
60+
{
61+
$this->internalClient->executeCommand($ctx, 'Storage.clearDataForStorageKey', $request);
62+
}
63+
64+
5865
public function clearTrustTokens(ContextInterface $ctx, ClearTrustTokensRequest $request): ClearTrustTokensResponse
5966
{
6067
$response = $this->internalClient->executeCommand($ctx, 'Storage.clearTrustTokens', $request);

gen-src/ChromeDevtoolsProtocol/Domain/StorageDomainInterface.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use ChromeDevtoolsProtocol\Model\Storage\CacheStorageListUpdatedEvent;
88
use ChromeDevtoolsProtocol\Model\Storage\ClearCookiesRequest;
99
use ChromeDevtoolsProtocol\Model\Storage\ClearDataForOriginRequest;
10+
use ChromeDevtoolsProtocol\Model\Storage\ClearDataForStorageKeyRequest;
1011
use ChromeDevtoolsProtocol\Model\Storage\ClearTrustTokensRequest;
1112
use ChromeDevtoolsProtocol\Model\Storage\ClearTrustTokensResponse;
1213
use ChromeDevtoolsProtocol\Model\Storage\GetCookiesRequest;
@@ -63,6 +64,17 @@ public function clearCookies(ContextInterface $ctx, ClearCookiesRequest $request
6364
public function clearDataForOrigin(ContextInterface $ctx, ClearDataForOriginRequest $request): void;
6465

6566

67+
/**
68+
* Clears storage for storage key.
69+
*
70+
* @param ContextInterface $ctx
71+
* @param ClearDataForStorageKeyRequest $request
72+
*
73+
* @return void
74+
*/
75+
public function clearDataForStorageKey(ContextInterface $ctx, ClearDataForStorageKeyRequest $request): void;
76+
77+
6678
/**
6779
* Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.
6880
*

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ final class AXNode implements \JsonSerializable
3939
*/
4040
public $role;
4141

42+
/**
43+
* This `Node`'s Chrome raw role.
44+
*
45+
* @var AXValue|null
46+
*/
47+
public $chromeRole;
48+
4249
/**
4350
* The accessible name for this `Node`.
4451
*
@@ -118,6 +125,9 @@ public static function fromJson($data)
118125
if (isset($data->role)) {
119126
$instance->role = AXValue::fromJson($data->role);
120127
}
128+
if (isset($data->chromeRole)) {
129+
$instance->chromeRole = AXValue::fromJson($data->chromeRole);
130+
}
121131
if (isset($data->name)) {
122132
$instance->name = AXValue::fromJson($data->name);
123133
}
@@ -173,6 +183,9 @@ public function jsonSerialize()
173183
if ($this->role !== null) {
174184
$data->role = $this->role->jsonSerialize();
175185
}
186+
if ($this->chromeRole !== null) {
187+
$data->chromeRole = $this->chromeRole->jsonSerialize();
188+
}
176189
if ($this->name !== null) {
177190
$data->name = $this->name->jsonSerialize();
178191
}

gen-src/ChromeDevtoolsProtocol/Model/Audits/DeprecationIssueTypeEnum.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ final class DeprecationIssueTypeEnum
4242
public const NOTIFICATION_PERMISSION_REQUESTED_IFRAME = 'NotificationPermissionRequestedIframe';
4343
public const OBSOLETE_WEB_RTC_CIPHER_SUITE = 'ObsoleteWebRtcCipherSuite';
4444
public const OPEN_WEB_DATABASE_INSECURE_CONTEXT = 'OpenWebDatabaseInsecureContext';
45+
public const OVERFLOW_VISIBLE_ON_REPLACED_ELEMENT = 'OverflowVisibleOnReplacedElement';
4546
public const PICTURE_SOURCE_SRC = 'PictureSourceSrc';
4647
public const PREFIXED_CANCEL_ANIMATION_FRAME = 'PrefixedCancelAnimationFrame';
4748
public const PREFIXED_REQUEST_ANIMATION_FRAME = 'PrefixedRequestAnimationFrame';
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?php
2+
3+
namespace ChromeDevtoolsProtocol\Model\Storage;
4+
5+
/**
6+
* Request for Storage.clearDataForStorageKey command.
7+
*
8+
* @generated This file has been auto-generated, do not edit.
9+
*
10+
* @author Jakub Kulhan <[email protected]>
11+
*/
12+
final class ClearDataForStorageKeyRequest implements \JsonSerializable
13+
{
14+
/**
15+
* Storage key.
16+
*
17+
* @var string
18+
*/
19+
public $storageKey;
20+
21+
/**
22+
* Comma separated list of StorageType to clear.
23+
*
24+
* @var string
25+
*/
26+
public $storageTypes;
27+
28+
29+
/**
30+
* @param object $data
31+
* @return static
32+
*/
33+
public static function fromJson($data)
34+
{
35+
$instance = new static();
36+
if (isset($data->storageKey)) {
37+
$instance->storageKey = (string)$data->storageKey;
38+
}
39+
if (isset($data->storageTypes)) {
40+
$instance->storageTypes = (string)$data->storageTypes;
41+
}
42+
return $instance;
43+
}
44+
45+
46+
public function jsonSerialize()
47+
{
48+
$data = new \stdClass();
49+
if ($this->storageKey !== null) {
50+
$data->storageKey = $this->storageKey;
51+
}
52+
if ($this->storageTypes !== null) {
53+
$data->storageTypes = $this->storageTypes;
54+
}
55+
return $data;
56+
}
57+
58+
59+
/**
60+
* Create new instance using builder.
61+
*
62+
* @return ClearDataForStorageKeyRequestBuilder
63+
*/
64+
public static function builder(): ClearDataForStorageKeyRequestBuilder
65+
{
66+
return new ClearDataForStorageKeyRequestBuilder();
67+
}
68+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?php
2+
3+
namespace ChromeDevtoolsProtocol\Model\Storage;
4+
5+
use ChromeDevtoolsProtocol\Exception\BuilderException;
6+
7+
/**
8+
* @generated This file has been auto-generated, do not edit.
9+
*
10+
* @author Jakub Kulhan <[email protected]>
11+
*/
12+
final class ClearDataForStorageKeyRequestBuilder
13+
{
14+
private $storageKey;
15+
private $storageTypes;
16+
17+
18+
/**
19+
* Validate non-optional parameters and return new instance.
20+
*/
21+
public function build(): ClearDataForStorageKeyRequest
22+
{
23+
$instance = new ClearDataForStorageKeyRequest();
24+
if ($this->storageKey === null) {
25+
throw new BuilderException('Property [storageKey] is required.');
26+
}
27+
$instance->storageKey = $this->storageKey;
28+
if ($this->storageTypes === null) {
29+
throw new BuilderException('Property [storageTypes] is required.');
30+
}
31+
$instance->storageTypes = $this->storageTypes;
32+
return $instance;
33+
}
34+
35+
36+
/**
37+
* @param string $storageKey
38+
*
39+
* @return self
40+
*/
41+
public function setStorageKey($storageKey): self
42+
{
43+
$this->storageKey = $storageKey;
44+
return $this;
45+
}
46+
47+
48+
/**
49+
* @param string $storageTypes
50+
*
51+
* @return self
52+
*/
53+
public function setStorageTypes($storageTypes): self
54+
{
55+
$this->storageTypes = $storageTypes;
56+
return $this;
57+
}
58+
}

protocol.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@
281281
"optional": true,
282282
"$ref": "AXValue"
283283
},
284+
{
285+
"name": "chromeRole",
286+
"description": "This `Node`'s Chrome raw role.",
287+
"optional": true,
288+
"$ref": "AXValue"
289+
},
284290
{
285291
"name": "name",
286292
"description": "The accessible name for this `Node`.",
@@ -1578,6 +1584,7 @@
15781584
"NotificationPermissionRequestedIframe",
15791585
"ObsoleteWebRtcCipherSuite",
15801586
"OpenWebDatabaseInsecureContext",
1587+
"OverflowVisibleOnReplacedElement",
15811588
"PictureSourceSrc",
15821589
"PrefixedCancelAnimationFrame",
15831590
"PrefixedRequestAnimationFrame",
@@ -23521,6 +23528,22 @@
2352123528
}
2352223529
]
2352323530
},
23531+
{
23532+
"name": "clearDataForStorageKey",
23533+
"description": "Clears storage for storage key.",
23534+
"parameters": [
23535+
{
23536+
"name": "storageKey",
23537+
"description": "Storage key.",
23538+
"type": "string"
23539+
},
23540+
{
23541+
"name": "storageTypes",
23542+
"description": "Comma separated list of StorageType to clear.",
23543+
"type": "string"
23544+
}
23545+
]
23546+
},
2352423547
{
2352523548
"name": "clearTrustTokens",
2352623549
"description": "Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.",

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14a28008bd1030321810e8f72b065430 protocol.json
1+
b09d53ebcc9a3be42fc0f78d3c31e767 protocol.json

0 commit comments

Comments
 (0)