Skip to content

Commit 4e4b6b2

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent 9a8ab88 commit 4e4b6b2

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

gen-src/ChromeDevtoolsProtocol/Model/Fetch/RequestPausedEvent.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ final class RequestPausedEvent implements \JsonSerializable
5555
*/
5656
public $responseStatusCode;
5757

58+
/**
59+
* Response status text if intercepted at response stage.
60+
*
61+
* @var string|null
62+
*/
63+
public $responseStatusText;
64+
5865
/**
5966
* Response headers if intercepted at the response stage.
6067
*
@@ -91,6 +98,9 @@ public static function fromJson($data)
9198
if (isset($data->responseStatusCode)) {
9299
$instance->responseStatusCode = (int)$data->responseStatusCode;
93100
}
101+
if (isset($data->responseStatusText)) {
102+
$instance->responseStatusText = (string)$data->responseStatusText;
103+
}
94104
if (isset($data->responseHeaders)) {
95105
$instance->responseHeaders = [];
96106
foreach ($data->responseHeaders as $item) {
@@ -125,6 +135,9 @@ public function jsonSerialize()
125135
if ($this->responseStatusCode !== null) {
126136
$data->responseStatusCode = $this->responseStatusCode;
127137
}
138+
if ($this->responseStatusText !== null) {
139+
$data->responseStatusText = $this->responseStatusText;
140+
}
128141
if ($this->responseHeaders !== null) {
129142
$data->responseHeaders = [];
130143
foreach ($this->responseHeaders as $item) {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ final class PermissionsPolicyFeatureEnum
3232
const CH_UA_FULL_VERSION = 'ch-ua-full-version';
3333
const CH_UA_PLATFORM_VERSION = 'ch-ua-platform-version';
3434
const CH_UA_REDUCED = 'ch-ua-reduced';
35+
const CH_VIEWPORT_HEIGHT = 'ch-viewport-height';
3536
const CH_VIEWPORT_WIDTH = 'ch-viewport-width';
3637
const CH_WIDTH = 'ch-width';
3738
const CLIPBOARD_READ = 'clipboard-read';

protocol.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9720,6 +9720,12 @@
97209720
"optional": true,
97219721
"type": "integer"
97229722
},
9723+
{
9724+
"name": "responseStatusText",
9725+
"description": "Response status text if intercepted at response stage.",
9726+
"optional": true,
9727+
"type": "string"
9728+
},
97239729
{
97249730
"name": "responseHeaders",
97259731
"description": "Response headers if intercepted at the response stage.",
@@ -16610,6 +16616,7 @@
1661016616
"ch-ua-full-version",
1661116617
"ch-ua-platform-version",
1661216618
"ch-ua-reduced",
16619+
"ch-viewport-height",
1661316620
"ch-viewport-width",
1661416621
"ch-width",
1661516622
"clipboard-read",

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
466073b5cffec881759666d15cd94b1c protocol.json
1+
f9300939b03c2fe2c2270abd5f7a28af protocol.json

0 commit comments

Comments
 (0)