Skip to content

Commit 1052947

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent ae90b3e commit 1052947

5 files changed

Lines changed: 6 additions & 8 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
final class LoadNetworkResourceRequest implements \JsonSerializable
1313
{
1414
/**
15-
* Frame id to get the resource for.
15+
* Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.
1616
*
1717
* @var string
1818
*/

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ final class LoadNetworkResourceRequestBuilder
2222
public function build(): LoadNetworkResourceRequest
2323
{
2424
$instance = new LoadNetworkResourceRequest();
25-
if ($this->frameId === null) {
26-
throw new BuilderException('Property [frameId] is required.');
27-
}
2825
$instance->frameId = $this->frameId;
2926
if ($this->url === null) {
3027
throw new BuilderException('Property [url] is required.');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class Frame implements \JsonSerializable
2121
/**
2222
* Parent frame identifier.
2323
*
24-
* @var string|null
24+
* @var string
2525
*/
2626
public $parentId;
2727

protocol.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14325,7 +14325,8 @@
1432514325
"parameters": [
1432614326
{
1432714327
"name": "frameId",
14328-
"description": "Frame id to get the resource for.",
14328+
"description": "Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.",
14329+
"optional": true,
1432914330
"$ref": "Page.FrameId"
1433014331
},
1433114332
{
@@ -16791,7 +16792,7 @@
1679116792
"name": "parentId",
1679216793
"description": "Parent frame identifier.",
1679316794
"optional": true,
16794-
"type": "string"
16795+
"$ref": "FrameId"
1679516796
},
1679616797
{
1679716798
"name": "loaderId",

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
062018d1eba392734e3edbeed854b517 protocol.json
1+
3452ce7c401c381be58cefbcca724e83 protocol.json

0 commit comments

Comments
 (0)