Skip to content

Commit a7e7825

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent 51ffb09 commit a7e7825

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ final class AttributionReportingIssueTypeEnum
1818
public const INVALID_REGISTER_TRIGGER_HEADER = 'InvalidRegisterTriggerHeader';
1919
public const INVALID_ELIGIBLE_HEADER = 'InvalidEligibleHeader';
2020
public const TOO_MANY_CONCURRENT_REQUESTS = 'TooManyConcurrentRequests';
21+
public const SOURCE_AND_TRIGGER_HEADERS = 'SourceAndTriggerHeaders';
2122
}

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ final class PrerenderAttemptCompletedEvent implements \JsonSerializable
2424
/** @var string */
2525
public $finalStatus;
2626

27+
/**
28+
* This is used to give users more information about the cancellation details, and this will be formatted for display.
29+
*
30+
* @var string|null
31+
*/
32+
public $reasonDetails;
33+
2734

2835
/**
2936
* @param object $data
@@ -41,6 +48,9 @@ public static function fromJson($data)
4148
if (isset($data->finalStatus)) {
4249
$instance->finalStatus = (string)$data->finalStatus;
4350
}
51+
if (isset($data->reasonDetails)) {
52+
$instance->reasonDetails = (string)$data->reasonDetails;
53+
}
4454
return $instance;
4555
}
4656

@@ -57,6 +67,9 @@ public function jsonSerialize()
5767
if ($this->finalStatus !== null) {
5868
$data->finalStatus = $this->finalStatus;
5969
}
70+
if ($this->reasonDetails !== null) {
71+
$data->reasonDetails = $this->reasonDetails;
72+
}
6073
return $data;
6174
}
6275
}

protocol.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,8 @@
14531453
"InvalidHeader",
14541454
"InvalidRegisterTriggerHeader",
14551455
"InvalidEligibleHeader",
1456-
"TooManyConcurrentRequests"
1456+
"TooManyConcurrentRequests",
1457+
"SourceAndTriggerHeaders"
14571458
]
14581459
},
14591460
{
@@ -20347,6 +20348,7 @@
2034720348
{
2034820349
"name": "prerenderAttemptCompleted",
2034920350
"description": "Fired when a prerender attempt is completed.",
20351+
"experimental": true,
2035020352
"parameters": [
2035120353
{
2035220354
"name": "initiatingFrameId",
@@ -20360,6 +20362,12 @@
2036020362
{
2036120363
"name": "finalStatus",
2036220364
"$ref": "PrerenderFinalStatus"
20365+
},
20366+
{
20367+
"name": "reasonDetails",
20368+
"description": "This is used to give users more information about the cancellation details, and this will be formatted for display.",
20369+
"optional": true,
20370+
"type": "string"
2036320371
}
2036420372
]
2036520373
},

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f8969fb1c81d71629fde2f15e24db5db protocol.json
1+
ceab9b81c864d09a6f030a39d2956633 protocol.json

0 commit comments

Comments
 (0)