Skip to content

Commit 8d3eb20

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent 3f03ac9 commit 8d3eb20

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ final class PrerenderAttemptCompletedEvent implements \JsonSerializable
2525
public $finalStatus;
2626

2727
/**
28-
* This is used to give users more information about the cancellation details, and this will be formatted for display.
28+
* This is used to give users more information about the name of the API call that is incompatible with prerender and has caused the cancellation of the attempt
2929
*
3030
* @var string|null
3131
*/
32-
public $reasonDetails;
32+
public $disallowedApiMethod;
3333

3434

3535
/**
@@ -48,8 +48,8 @@ public static function fromJson($data)
4848
if (isset($data->finalStatus)) {
4949
$instance->finalStatus = (string)$data->finalStatus;
5050
}
51-
if (isset($data->reasonDetails)) {
52-
$instance->reasonDetails = (string)$data->reasonDetails;
51+
if (isset($data->disallowedApiMethod)) {
52+
$instance->disallowedApiMethod = (string)$data->disallowedApiMethod;
5353
}
5454
return $instance;
5555
}
@@ -67,8 +67,8 @@ public function jsonSerialize()
6767
if ($this->finalStatus !== null) {
6868
$data->finalStatus = $this->finalStatus;
6969
}
70-
if ($this->reasonDetails !== null) {
71-
$data->reasonDetails = $this->reasonDetails;
70+
if ($this->disallowedApiMethod !== null) {
71+
$data->disallowedApiMethod = $this->disallowedApiMethod;
7272
}
7373
return $data;
7474
}

protocol.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20380,8 +20380,8 @@
2038020380
"$ref": "PrerenderFinalStatus"
2038120381
},
2038220382
{
20383-
"name": "reasonDetails",
20384-
"description": "This is used to give users more information about the cancellation details, and this will be formatted for display.",
20383+
"name": "disallowedApiMethod",
20384+
"description": "This is used to give users more information about the name of the API call that is incompatible with prerender and has caused the cancellation of the attempt",
2038520385
"optional": true,
2038620386
"type": "string"
2038720387
}

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f963778a94dd1a1e21abff7901dd8d41 protocol.json
1+
5450f0f109a472c7f90a36f55751fb83 protocol.json

0 commit comments

Comments
 (0)