Skip to content

Commit da5b79b

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent c0abcca commit da5b79b

16 files changed

+206
-157
lines changed

gen-src/ChromeDevtoolsProtocol/Domain/CSSDomainInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ public function startRuleUsageTracking(ContextInterface $ctx): void;
358358

359359

360360
/**
361-
* Stop tracking rule usage and return the list of rules that were used since last call to `takeCoverageDelta` (or since start of coverage instrumentation)
361+
* Stop tracking rule usage and return the list of rules that were used since last call to `takeCoverageDelta` (or since start of coverage instrumentation).
362362
*
363363
* @param ContextInterface $ctx
364364
*
@@ -378,7 +378,7 @@ public function takeComputedStyleUpdates(ContextInterface $ctx): TakeComputedSty
378378

379379

380380
/**
381-
* Obtain list of rules that became used since last call to this method (or since start of coverage instrumentation)
381+
* Obtain list of rules that became used since last call to this method (or since start of coverage instrumentation).
382382
*
383383
* @param ContextInterface $ctx
384384
*
@@ -399,7 +399,7 @@ public function trackComputedStyleUpdates(ContextInterface $ctx, TrackComputedSt
399399

400400

401401
/**
402-
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font
402+
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font.
403403
*
404404
* Listener will be called whenever event CSS.fontsUpdated is fired.
405405
*
@@ -411,7 +411,7 @@ public function addFontsUpdatedListener(callable $listener): SubscriptionInterfa
411411

412412

413413
/**
414-
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font
414+
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font.
415415
*
416416
* Method will block until first CSS.fontsUpdated event is fired.
417417
*

gen-src/ChromeDevtoolsProtocol/Domain/DOMDomainInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public function getContentQuads(ContextInterface $ctx, GetContentQuadsRequest $r
225225

226226

227227
/**
228-
* Returns the root DOM node (and optionally the subtree) to the caller.
228+
* Returns the root DOM node (and optionally the subtree) to the caller. Implicitly enables the DOM domain events for the current target.
229229
*
230230
* @param ContextInterface $ctx
231231
* @param GetDocumentRequest $request

gen-src/ChromeDevtoolsProtocol/Domain/IndexedDBDomainInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function enable(ContextInterface $ctx): void;
8080

8181

8282
/**
83-
* Gets metadata of an object store
83+
* Gets metadata of an object store.
8484
*
8585
* @param ContextInterface $ctx
8686
* @param GetMetadataRequest $request

gen-src/ChromeDevtoolsProtocol/Domain/StorageDomain.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
use ChromeDevtoolsProtocol\Model\Storage\ClearDataForOriginRequest;
1111
use ChromeDevtoolsProtocol\Model\Storage\ClearDataForStorageKeyRequest;
1212
use ChromeDevtoolsProtocol\Model\Storage\ClearSharedStorageEntriesRequest;
13+
use ChromeDevtoolsProtocol\Model\Storage\ClearTrustTokensRequest;
14+
use ChromeDevtoolsProtocol\Model\Storage\ClearTrustTokensResponse;
1315
use ChromeDevtoolsProtocol\Model\Storage\DeleteSharedStorageEntryRequest;
1416
use ChromeDevtoolsProtocol\Model\Storage\GetCookiesRequest;
1517
use ChromeDevtoolsProtocol\Model\Storage\GetCookiesResponse;
@@ -80,6 +82,13 @@ public function clearSharedStorageEntries(ContextInterface $ctx, ClearSharedStor
8082
}
8183

8284

85+
public function clearTrustTokens(ContextInterface $ctx, ClearTrustTokensRequest $request): ClearTrustTokensResponse
86+
{
87+
$response = $this->internalClient->executeCommand($ctx, 'Storage.clearTrustTokens', $request);
88+
return ClearTrustTokensResponse::fromJson($response);
89+
}
90+
91+
8392
public function deleteSharedStorageEntry(ContextInterface $ctx, DeleteSharedStorageEntryRequest $request): void
8493
{
8594
$this->internalClient->executeCommand($ctx, 'Storage.deleteSharedStorageEntry', $request);

gen-src/ChromeDevtoolsProtocol/Domain/StorageDomainInterface.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
use ChromeDevtoolsProtocol\Model\Storage\ClearDataForOriginRequest;
1010
use ChromeDevtoolsProtocol\Model\Storage\ClearDataForStorageKeyRequest;
1111
use ChromeDevtoolsProtocol\Model\Storage\ClearSharedStorageEntriesRequest;
12+
use ChromeDevtoolsProtocol\Model\Storage\ClearTrustTokensRequest;
13+
use ChromeDevtoolsProtocol\Model\Storage\ClearTrustTokensResponse;
1214
use ChromeDevtoolsProtocol\Model\Storage\DeleteSharedStorageEntryRequest;
1315
use ChromeDevtoolsProtocol\Model\Storage\GetCookiesRequest;
1416
use ChromeDevtoolsProtocol\Model\Storage\GetCookiesResponse;
@@ -98,6 +100,17 @@ public function clearDataForStorageKey(ContextInterface $ctx, ClearDataForStorag
98100
public function clearSharedStorageEntries(ContextInterface $ctx, ClearSharedStorageEntriesRequest $request): void;
99101

100102

103+
/**
104+
* Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.
105+
*
106+
* @param ContextInterface $ctx
107+
* @param ClearTrustTokensRequest $request
108+
*
109+
* @return ClearTrustTokensResponse
110+
*/
111+
public function clearTrustTokens(ContextInterface $ctx, ClearTrustTokensRequest $request): ClearTrustTokensResponse;
112+
113+
101114
/**
102115
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
103116
*

gen-src/ChromeDevtoolsProtocol/Model/Accessibility/GetPartialAXTreeRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class GetPartialAXTreeRequest implements \JsonSerializable
3333
public $objectId;
3434

3535
/**
36-
* Whether to fetch this nodes ancestors, siblings and children. Defaults to true.
36+
* Whether to fetch this node's ancestors, siblings and children. Defaults to true.
3737
*
3838
* @var bool|null
3939
*/

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ final class DeprecationIssueDetails implements \JsonSerializable
1717
/** @var SourceCodeLocation */
1818
public $sourceCodeLocation;
1919

20-
/** @var string */
20+
/**
21+
* One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
22+
*
23+
* @var string
24+
*/
2125
public $type;
2226

2327

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

Lines changed: 0 additions & 71 deletions
This file was deleted.

gen-src/ChromeDevtoolsProtocol/Model/CSS/FontsUpdatedEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace ChromeDevtoolsProtocol\Model\CSS;
44

55
/**
6-
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font
6+
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font.
77
*
88
* @generated This file has been auto-generated, do not edit.
99
*

gen-src/ChromeDevtoolsProtocol/Model/CSS/TakeComputedStyleUpdatesResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
final class TakeComputedStyleUpdatesResponse implements \JsonSerializable
1313
{
1414
/**
15-
* The list of node Ids that have their tracked computed styles updated
15+
* The list of node Ids that have their tracked computed styles updated.
1616
*
1717
* @var int[]
1818
*/

0 commit comments

Comments
 (0)