Skip to content

Commit 95f4769

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

9 files changed

+95
-18
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ final class AttributionReportingIssueDetails implements \JsonSerializable
1414
/** @var string */
1515
public $violationType;
1616

17-
/** @var AffectedFrame|null */
17+
/**
18+
* TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
19+
*
20+
* @var AffectedFrame|null
21+
*/
1822
public $frame;
1923

2024
/** @var AffectedRequest|null */

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ final class AttributionReportingIssueTypeEnum
1414
public const PERMISSION_POLICY_DISABLED = 'PermissionPolicyDisabled';
1515
public const ATTRIBUTION_SOURCE_UNTRUSTWORTHY_ORIGIN = 'AttributionSourceUntrustworthyOrigin';
1616
public const ATTRIBUTION_UNTRUSTWORTHY_ORIGIN = 'AttributionUntrustworthyOrigin';
17+
public const UNTRUSTWORTHY_REPORTING_ORIGIN = 'UntrustworthyReportingOrigin';
18+
public const INSECURE_CONTEXT = 'InsecureContext';
1719
public const INVALID_HEADER = 'InvalidHeader';
20+
public const INVALID_REGISTER_TRIGGER_HEADER = 'InvalidRegisterTriggerHeader';
1821
}

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

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@
1212
final class ClearObjectStoreRequest 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/ClearObjectStoreRequestBuilder.php

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

@@ -22,10 +23,8 @@ final class ClearObjectStoreRequestBuilder
2223
public function build(): ClearObjectStoreRequest
2324
{
2425
$instance = new ClearObjectStoreRequest();
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(): ClearObjectStoreRequest
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
*

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

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@
1212
final class DeleteDatabaseRequest 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
*
@@ -36,6 +43,9 @@ public static function fromJson($data)
3643
if (isset($data->securityOrigin)) {
3744
$instance->securityOrigin = (string)$data->securityOrigin;
3845
}
46+
if (isset($data->storageKey)) {
47+
$instance->storageKey = (string)$data->storageKey;
48+
}
3949
if (isset($data->databaseName)) {
4050
$instance->databaseName = (string)$data->databaseName;
4151
}
@@ -49,6 +59,9 @@ public function jsonSerialize()
4959
if ($this->securityOrigin !== null) {
5060
$data->securityOrigin = $this->securityOrigin;
5161
}
62+
if ($this->storageKey !== null) {
63+
$data->storageKey = $this->storageKey;
64+
}
5265
if ($this->databaseName !== null) {
5366
$data->databaseName = $this->databaseName;
5467
}

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

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

1718

@@ -21,10 +22,8 @@ final class DeleteDatabaseRequestBuilder
2122
public function build(): DeleteDatabaseRequest
2223
{
2324
$instance = new DeleteDatabaseRequest();
24-
if ($this->securityOrigin === null) {
25-
throw new BuilderException('Property [securityOrigin] is required.');
26-
}
2725
$instance->securityOrigin = $this->securityOrigin;
26+
$instance->storageKey = $this->storageKey;
2827
if ($this->databaseName === null) {
2928
throw new BuilderException('Property [databaseName] is required.');
3029
}
@@ -34,7 +33,7 @@ public function build(): DeleteDatabaseRequest
3433

3534

3635
/**
37-
* @param string $securityOrigin
36+
* @param string|null $securityOrigin
3837
*
3938
* @return self
4039
*/
@@ -45,6 +44,18 @@ public function setSecurityOrigin($securityOrigin): self
4544
}
4645

4746

47+
/**
48+
* @param string|null $storageKey
49+
*
50+
* @return self
51+
*/
52+
public function setStorageKey($storageKey): self
53+
{
54+
$this->storageKey = $storageKey;
55+
return $this;
56+
}
57+
58+
4859
/**
4960
* @param string $databaseName
5061
*

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@ final class PrerenderFinalStatusEnum
4444
public const EMBEDDER_TRIGGERED_AND_SAME_ORIGIN_REDIRECTED = 'EmbedderTriggeredAndSameOriginRedirected';
4545
public const EMBEDDER_TRIGGERED_AND_CROSS_ORIGIN_REDIRECTED = 'EmbedderTriggeredAndCrossOriginRedirected';
4646
public const EMBEDDER_TRIGGERED_AND_DESTROYED = 'EmbedderTriggeredAndDestroyed';
47+
public const MEMORY_LIMIT_EXCEEDED = 'MemoryLimitExceeded';
48+
public const FAIL_TO_GET_MEMORY_USAGE = 'FailToGetMemoryUsage';
4749
}

protocol.json

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,10 @@
14481448
"PermissionPolicyDisabled",
14491449
"AttributionSourceUntrustworthyOrigin",
14501450
"AttributionUntrustworthyOrigin",
1451-
"InvalidHeader"
1451+
"UntrustworthyReportingOrigin",
1452+
"InsecureContext",
1453+
"InvalidHeader",
1454+
"InvalidRegisterTriggerHeader"
14521455
]
14531456
},
14541457
{
@@ -1462,6 +1465,7 @@
14621465
},
14631466
{
14641467
"name": "frame",
1468+
"description": "TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.",
14651469
"optional": true,
14661470
"$ref": "AffectedFrame"
14671471
},
@@ -11034,7 +11038,14 @@
1103411038
"parameters": [
1103511039
{
1103611040
"name": "securityOrigin",
11037-
"description": "Security origin.",
11041+
"description": "At least and at most one of securityOrigin, storageKey must be specified. Security origin.",
11042+
"optional": true,
11043+
"type": "string"
11044+
},
11045+
{
11046+
"name": "storageKey",
11047+
"description": "Storage key.",
11048+
"optional": true,
1103811049
"type": "string"
1103911050
},
1104011051
{
@@ -11055,7 +11066,14 @@
1105511066
"parameters": [
1105611067
{
1105711068
"name": "securityOrigin",
11058-
"description": "Security origin.",
11069+
"description": "At least and at most one of securityOrigin, storageKey must be specified. Security origin.",
11070+
"optional": true,
11071+
"type": "string"
11072+
},
11073+
{
11074+
"name": "storageKey",
11075+
"description": "Storage key.",
11076+
"optional": true,
1105911077
"type": "string"
1106011078
},
1106111079
{
@@ -18700,7 +18718,9 @@
1870018718
"TriggerBackgrounded",
1870118719
"EmbedderTriggeredAndSameOriginRedirected",
1870218720
"EmbedderTriggeredAndCrossOriginRedirected",
18703-
"EmbedderTriggeredAndDestroyed"
18721+
"EmbedderTriggeredAndDestroyed",
18722+
"MemoryLimitExceeded",
18723+
"FailToGetMemoryUsage"
1870418724
]
1870518725
}
1870618726
],

protocol.json.md5

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

0 commit comments

Comments
 (0)