Skip to content

Commit 9a8ab88

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

File tree

5 files changed

+75
-2
lines changed

5 files changed

+75
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ final class AttributionReportingIssueTypeEnum
1616
const INVALID_ATTRIBUTION_DATA = 'InvalidAttributionData';
1717
const ATTRIBUTION_SOURCE_UNTRUSTWORTHY_ORIGIN = 'AttributionSourceUntrustworthyOrigin';
1818
const ATTRIBUTION_UNTRUSTWORTHY_ORIGIN = 'AttributionUntrustworthyOrigin';
19+
const ATTRIBUTION_TRIGGER_DATA_TOO_LARGE = 'AttributionTriggerDataTooLarge';
1920
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?php
2+
3+
namespace ChromeDevtoolsProtocol\Model\Network;
4+
5+
/**
6+
* Named type Network.ConnectTiming.
7+
*
8+
* @generated This file has been auto-generated, do not edit.
9+
*
10+
* @author Jakub Kulhan <[email protected]>
11+
*/
12+
final class ConnectTiming implements \JsonSerializable
13+
{
14+
/**
15+
* Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for the same request (but not for redirected requests).
16+
*
17+
* @var int|float
18+
*/
19+
public $requestTime;
20+
21+
22+
public static function fromJson($data)
23+
{
24+
$instance = new static();
25+
if (isset($data->requestTime)) {
26+
$instance->requestTime = $data->requestTime;
27+
}
28+
return $instance;
29+
}
30+
31+
32+
public function jsonSerialize()
33+
{
34+
$data = new \stdClass();
35+
if ($this->requestTime !== null) {
36+
$data->requestTime = $this->requestTime;
37+
}
38+
return $data;
39+
}
40+
}

gen-src/ChromeDevtoolsProtocol/Model/Network/RequestWillBeSentExtraInfoEvent.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ final class RequestWillBeSentExtraInfoEvent implements \JsonSerializable
3232
*/
3333
public $headers;
3434

35+
/**
36+
* Connection timing information for the request.
37+
*
38+
* @var ConnectTiming
39+
*/
40+
public $connectTiming;
41+
3542
/**
3643
* The client security state set for the request.
3744
*
@@ -55,6 +62,9 @@ public static function fromJson($data)
5562
if (isset($data->headers)) {
5663
$instance->headers = Headers::fromJson($data->headers);
5764
}
65+
if (isset($data->connectTiming)) {
66+
$instance->connectTiming = ConnectTiming::fromJson($data->connectTiming);
67+
}
5868
if (isset($data->clientSecurityState)) {
5969
$instance->clientSecurityState = ClientSecurityState::fromJson($data->clientSecurityState);
6070
}
@@ -77,6 +87,9 @@ public function jsonSerialize()
7787
if ($this->headers !== null) {
7888
$data->headers = $this->headers->jsonSerialize();
7989
}
90+
if ($this->connectTiming !== null) {
91+
$data->connectTiming = $this->connectTiming->jsonSerialize();
92+
}
8093
if ($this->clientSecurityState !== null) {
8194
$data->clientSecurityState = $this->clientSecurityState->jsonSerialize();
8295
}

protocol.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,8 @@
15211521
"InvalidAttributionSourceEventId",
15221522
"InvalidAttributionData",
15231523
"AttributionSourceUntrustworthyOrigin",
1524-
"AttributionUntrustworthyOrigin"
1524+
"AttributionUntrustworthyOrigin",
1525+
"AttributionTriggerDataTooLarge"
15251526
]
15261527
},
15271528
{
@@ -13827,6 +13828,18 @@
1382713828
"Unknown"
1382813829
]
1382913830
},
13831+
{
13832+
"id": "ConnectTiming",
13833+
"experimental": true,
13834+
"type": "object",
13835+
"properties": [
13836+
{
13837+
"name": "requestTime",
13838+
"description": "Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for the same request (but not for redirected requests).",
13839+
"type": "number"
13840+
}
13841+
]
13842+
},
1383013843
{
1383113844
"id": "ClientSecurityState",
1383213845
"experimental": true,
@@ -14961,6 +14974,12 @@
1496114974
"description": "Raw request headers as they will be sent over the wire.",
1496214975
"$ref": "Headers"
1496314976
},
14977+
{
14978+
"name": "connectTiming",
14979+
"description": "Connection timing information for the request.",
14980+
"experimental": true,
14981+
"$ref": "ConnectTiming"
14982+
},
1496414983
{
1496514984
"name": "clientSecurityState",
1496614985
"description": "The client security state set for the request.",

protocol.json.md5

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

0 commit comments

Comments
 (0)