File tree Expand file tree Collapse file tree
gen-src/ChromeDevtoolsProtocol/Model Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ' ;
Original file line number Diff line number Diff line change 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.",
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",
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