Skip to content

Commit 13132e5

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent 95f4769 commit 13132e5

File tree

7 files changed

+82
-13
lines changed

7 files changed

+82
-13
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ final class DeprecationIssueTypeEnum
4343
public const OBSOLETE_WEB_RTC_CIPHER_SUITE = 'ObsoleteWebRtcCipherSuite';
4444
public const OPEN_WEB_DATABASE_INSECURE_CONTEXT = 'OpenWebDatabaseInsecureContext';
4545
public const OVERFLOW_VISIBLE_ON_REPLACED_ELEMENT = 'OverflowVisibleOnReplacedElement';
46+
public const PERSISTENT_QUOTA_TYPE = 'PersistentQuotaType';
4647
public const PICTURE_SOURCE_SRC = 'PictureSourceSrc';
4748
public const PREFIXED_CANCEL_ANIMATION_FRAME = 'PrefixedCancelAnimationFrame';
4849
public const PREFIXED_REQUEST_ANIMATION_FRAME = 'PrefixedRequestAnimationFrame';

gen-src/ChromeDevtoolsProtocol/Model/IndexedDB/DeleteObjectStoreEntriesRequest.php

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,20 @@
1111
*/
1212
final class DeleteObjectStoreEntriesRequest implements \JsonSerializable
1313
{
14-
/** @var string */
14+
/**
15+
* At least and at most one of securityOrigin, storageKey must be specified. Security origin.
16+
*
17+
* @var string|null
18+
*/
1519
public $securityOrigin;
1620

21+
/**
22+
* Storage key.
23+
*
24+
* @var string|null
25+
*/
26+
public $storageKey;
27+
1728
/** @var string */
1829
public $databaseName;
1930

@@ -38,6 +49,9 @@ public static function fromJson($data)
3849
if (isset($data->securityOrigin)) {
3950
$instance->securityOrigin = (string)$data->securityOrigin;
4051
}
52+
if (isset($data->storageKey)) {
53+
$instance->storageKey = (string)$data->storageKey;
54+
}
4155
if (isset($data->databaseName)) {
4256
$instance->databaseName = (string)$data->databaseName;
4357
}
@@ -57,6 +71,9 @@ public function jsonSerialize()
5771
if ($this->securityOrigin !== null) {
5872
$data->securityOrigin = $this->securityOrigin;
5973
}
74+
if ($this->storageKey !== null) {
75+
$data->storageKey = $this->storageKey;
76+
}
6077
if ($this->databaseName !== null) {
6178
$data->databaseName = $this->databaseName;
6279
}

gen-src/ChromeDevtoolsProtocol/Model/IndexedDB/DeleteObjectStoreEntriesRequestBuilder.php

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
final class DeleteObjectStoreEntriesRequestBuilder
1313
{
1414
private $securityOrigin;
15+
private $storageKey;
1516
private $databaseName;
1617
private $objectStoreName;
1718
private $keyRange;
@@ -23,10 +24,8 @@ final class DeleteObjectStoreEntriesRequestBuilder
2324
public function build(): DeleteObjectStoreEntriesRequest
2425
{
2526
$instance = new DeleteObjectStoreEntriesRequest();
26-
if ($this->securityOrigin === null) {
27-
throw new BuilderException('Property [securityOrigin] is required.');
28-
}
2927
$instance->securityOrigin = $this->securityOrigin;
28+
$instance->storageKey = $this->storageKey;
3029
if ($this->databaseName === null) {
3130
throw new BuilderException('Property [databaseName] is required.');
3231
}
@@ -44,7 +43,7 @@ public function build(): DeleteObjectStoreEntriesRequest
4443

4544

4645
/**
47-
* @param string $securityOrigin
46+
* @param string|null $securityOrigin
4847
*
4948
* @return self
5049
*/
@@ -55,6 +54,18 @@ public function setSecurityOrigin($securityOrigin): self
5554
}
5655

5756

57+
/**
58+
* @param string|null $storageKey
59+
*
60+
* @return self
61+
*/
62+
public function setStorageKey($storageKey): self
63+
{
64+
$this->storageKey = $storageKey;
65+
return $this;
66+
}
67+
68+
5869
/**
5970
* @param string $databaseName
6071
*

gen-src/ChromeDevtoolsProtocol/Model/IndexedDB/GetMetadataRequest.php

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@
1212
final class GetMetadataRequest implements \JsonSerializable
1313
{
1414
/**
15-
* Security origin.
15+
* At least and at most one of securityOrigin, storageKey must be specified. Security origin.
1616
*
17-
* @var string
17+
* @var string|null
1818
*/
1919
public $securityOrigin;
2020

21+
/**
22+
* Storage key.
23+
*
24+
* @var string|null
25+
*/
26+
public $storageKey;
27+
2128
/**
2229
* Database name.
2330
*
@@ -43,6 +50,9 @@ public static function fromJson($data)
4350
if (isset($data->securityOrigin)) {
4451
$instance->securityOrigin = (string)$data->securityOrigin;
4552
}
53+
if (isset($data->storageKey)) {
54+
$instance->storageKey = (string)$data->storageKey;
55+
}
4656
if (isset($data->databaseName)) {
4757
$instance->databaseName = (string)$data->databaseName;
4858
}
@@ -59,6 +69,9 @@ public function jsonSerialize()
5969
if ($this->securityOrigin !== null) {
6070
$data->securityOrigin = $this->securityOrigin;
6171
}
72+
if ($this->storageKey !== null) {
73+
$data->storageKey = $this->storageKey;
74+
}
6275
if ($this->databaseName !== null) {
6376
$data->databaseName = $this->databaseName;
6477
}

gen-src/ChromeDevtoolsProtocol/Model/IndexedDB/GetMetadataRequestBuilder.php

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
final class GetMetadataRequestBuilder
1313
{
1414
private $securityOrigin;
15+
private $storageKey;
1516
private $databaseName;
1617
private $objectStoreName;
1718

@@ -22,10 +23,8 @@ final class GetMetadataRequestBuilder
2223
public function build(): GetMetadataRequest
2324
{
2425
$instance = new GetMetadataRequest();
25-
if ($this->securityOrigin === null) {
26-
throw new BuilderException('Property [securityOrigin] is required.');
27-
}
2826
$instance->securityOrigin = $this->securityOrigin;
27+
$instance->storageKey = $this->storageKey;
2928
if ($this->databaseName === null) {
3029
throw new BuilderException('Property [databaseName] is required.');
3130
}
@@ -39,7 +38,7 @@ public function build(): GetMetadataRequest
3938

4039

4140
/**
42-
* @param string $securityOrigin
41+
* @param string|null $securityOrigin
4342
*
4443
* @return self
4544
*/
@@ -50,6 +49,18 @@ public function setSecurityOrigin($securityOrigin): self
5049
}
5150

5251

52+
/**
53+
* @param string|null $storageKey
54+
*
55+
* @return self
56+
*/
57+
public function setStorageKey($storageKey): self
58+
{
59+
$this->storageKey = $storageKey;
60+
return $this;
61+
}
62+
63+
5364
/**
5465
* @param string $databaseName
5566
*

protocol.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1589,6 +1589,7 @@
15891589
"ObsoleteWebRtcCipherSuite",
15901590
"OpenWebDatabaseInsecureContext",
15911591
"OverflowVisibleOnReplacedElement",
1592+
"PersistentQuotaType",
15921593
"PictureSourceSrc",
15931594
"PrefixedCancelAnimationFrame",
15941595
"PrefixedRequestAnimationFrame",
@@ -11089,6 +11090,14 @@
1108911090
"parameters": [
1109011091
{
1109111092
"name": "securityOrigin",
11093+
"description": "At least and at most one of securityOrigin, storageKey must be specified. Security origin.",
11094+
"optional": true,
11095+
"type": "string"
11096+
},
11097+
{
11098+
"name": "storageKey",
11099+
"description": "Storage key.",
11100+
"optional": true,
1109211101
"type": "string"
1109311102
},
1109411103
{
@@ -11120,7 +11129,14 @@
1112011129
"parameters": [
1112111130
{
1112211131
"name": "securityOrigin",
11123-
"description": "Security origin.",
11132+
"description": "At least and at most one of securityOrigin, storageKey must be specified. Security origin.",
11133+
"optional": true,
11134+
"type": "string"
11135+
},
11136+
{
11137+
"name": "storageKey",
11138+
"description": "Storage key.",
11139+
"optional": true,
1112411140
"type": "string"
1112511141
},
1112611142
{

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
296160aed31f17bc6a0a20325c40df5d protocol.json
1+
8a54b1651445ceeff908b0060220a151 protocol.json

0 commit comments

Comments
 (0)