File tree Expand file tree Collapse file tree 4 files changed +22
-1
lines changed
gen-src/ChromeDevtoolsProtocol/Model Expand file tree Collapse file tree 4 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,13 @@ final class RequestPausedEvent implements \JsonSerializable
55
55
*/
56
56
public $ responseStatusCode ;
57
57
58
+ /**
59
+ * Response status text if intercepted at response stage.
60
+ *
61
+ * @var string|null
62
+ */
63
+ public $ responseStatusText ;
64
+
58
65
/**
59
66
* Response headers if intercepted at the response stage.
60
67
*
@@ -91,6 +98,9 @@ public static function fromJson($data)
91
98
if (isset ($ data ->responseStatusCode )) {
92
99
$ instance ->responseStatusCode = (int )$ data ->responseStatusCode ;
93
100
}
101
+ if (isset ($ data ->responseStatusText )) {
102
+ $ instance ->responseStatusText = (string )$ data ->responseStatusText ;
103
+ }
94
104
if (isset ($ data ->responseHeaders )) {
95
105
$ instance ->responseHeaders = [];
96
106
foreach ($ data ->responseHeaders as $ item ) {
@@ -125,6 +135,9 @@ public function jsonSerialize()
125
135
if ($ this ->responseStatusCode !== null ) {
126
136
$ data ->responseStatusCode = $ this ->responseStatusCode ;
127
137
}
138
+ if ($ this ->responseStatusText !== null ) {
139
+ $ data ->responseStatusText = $ this ->responseStatusText ;
140
+ }
128
141
if ($ this ->responseHeaders !== null ) {
129
142
$ data ->responseHeaders = [];
130
143
foreach ($ this ->responseHeaders as $ item ) {
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ final class PermissionsPolicyFeatureEnum
32
32
const CH_UA_FULL_VERSION = 'ch-ua-full-version ' ;
33
33
const CH_UA_PLATFORM_VERSION = 'ch-ua-platform-version ' ;
34
34
const CH_UA_REDUCED = 'ch-ua-reduced ' ;
35
+ const CH_VIEWPORT_HEIGHT = 'ch-viewport-height ' ;
35
36
const CH_VIEWPORT_WIDTH = 'ch-viewport-width ' ;
36
37
const CH_WIDTH = 'ch-width ' ;
37
38
const CLIPBOARD_READ = 'clipboard-read ' ;
Original file line number Diff line number Diff line change 9720
9720
"optional": true,
9721
9721
"type": "integer"
9722
9722
},
9723
+ {
9724
+ "name": "responseStatusText",
9725
+ "description": "Response status text if intercepted at response stage.",
9726
+ "optional": true,
9727
+ "type": "string"
9728
+ },
9723
9729
{
9724
9730
"name": "responseHeaders",
9725
9731
"description": "Response headers if intercepted at the response stage.",
16610
16616
"ch-ua-full-version",
16611
16617
"ch-ua-platform-version",
16612
16618
"ch-ua-reduced",
16619
+ "ch-viewport-height",
16613
16620
"ch-viewport-width",
16614
16621
"ch-width",
16615
16622
"clipboard-read",
Original file line number Diff line number Diff line change 1
- 466073b5cffec881759666d15cd94b1c protocol.json
1
+ f9300939b03c2fe2c2270abd5f7a28af protocol.json
You can’t perform that action at this time.
0 commit comments