devtools-protocol 0.0.1438564 → 0.0.1439209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1583,7 +1583,8 @@
1583
1583
  "SignatureInputHeaderMissingRequiredParameters",
1584
1584
  "ValidationFailedSignatureExpired",
1585
1585
  "ValidationFailedInvalidLength",
1586
- "ValidationFailedSignatureMismatch"
1586
+ "ValidationFailedSignatureMismatch",
1587
+ "ValidationFailedIntegrityMismatch"
1587
1588
  ]
1588
1589
  },
1589
1590
  {
@@ -1682,6 +1683,13 @@
1682
1683
  "name": "signatureBase",
1683
1684
  "type": "string"
1684
1685
  },
1686
+ {
1687
+ "name": "integrityAssertions",
1688
+ "type": "array",
1689
+ "items": {
1690
+ "type": "string"
1691
+ }
1692
+ },
1685
1693
  {
1686
1694
  "name": "request",
1687
1695
  "$ref": "AffectedRequest"
@@ -14022,7 +14030,8 @@
14022
14030
  "SamePartyFromCrossPartyContext",
14023
14031
  "NameValuePairExceedsMaxSize",
14024
14032
  "PortMismatch",
14025
- "SchemeMismatch"
14033
+ "SchemeMismatch",
14034
+ "AnonymousContext"
14026
14035
  ]
14027
14036
  },
14028
14037
  {
@@ -28002,6 +28011,41 @@
28002
28011
  "type": "integer"
28003
28012
  }
28004
28013
  ]
28014
+ },
28015
+ {
28016
+ "name": "addService",
28017
+ "description": "Adds a service with |uuid| to the peripheral with |address|.",
28018
+ "parameters": [
28019
+ {
28020
+ "name": "address",
28021
+ "type": "string"
28022
+ },
28023
+ {
28024
+ "name": "serviceUuid",
28025
+ "type": "string"
28026
+ }
28027
+ ],
28028
+ "returns": [
28029
+ {
28030
+ "name": "id",
28031
+ "description": "An identifier that uniquely represents this service.",
28032
+ "type": "string"
28033
+ }
28034
+ ]
28035
+ },
28036
+ {
28037
+ "name": "removeService",
28038
+ "description": "Removes the service respresented by |id| from the peripheral with |address|.",
28039
+ "parameters": [
28040
+ {
28041
+ "name": "address",
28042
+ "type": "string"
28043
+ },
28044
+ {
28045
+ "name": "id",
28046
+ "type": "string"
28047
+ }
28048
+ ]
28005
28049
  }
28006
28050
  ],
28007
28051
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1438564",
3
+ "version": "0.0.1439209",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -823,6 +823,7 @@ experimental domain Audits
823
823
  ValidationFailedSignatureExpired
824
824
  ValidationFailedInvalidLength
825
825
  ValidationFailedSignatureMismatch
826
+ ValidationFailedIntegrityMismatch
826
827
 
827
828
  # Details for issues around "Attribution Reporting API" usage.
828
829
  # Explainer: https://github.com/WICG/attribution-reporting-api
@@ -859,6 +860,7 @@ experimental domain Audits
859
860
  properties
860
861
  SRIMessageSignatureError error
861
862
  string signatureBase
863
+ array of string integrityAssertions
862
864
  AffectedRequest request
863
865
 
864
866
  type GenericIssueErrorType extends string
@@ -6640,6 +6642,8 @@ domain Network
6640
6642
  PortMismatch
6641
6643
  # The cookie's source scheme value does not match the request origin's scheme.
6642
6644
  SchemeMismatch
6645
+ # Unpartitioned cookie access from an anonymous context was blocked.
6646
+ AnonymousContext
6643
6647
 
6644
6648
  # Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
6645
6649
  experimental type CookieExemptionReason extends string
@@ -13303,6 +13307,21 @@ experimental domain BluetoothEmulation
13303
13307
  GATTOperationType type
13304
13308
  integer code
13305
13309
 
13310
+ # Adds a service with |uuid| to the peripheral with |address|.
13311
+ command addService
13312
+ parameters
13313
+ string address
13314
+ string serviceUuid
13315
+ returns
13316
+ # An identifier that uniquely represents this service.
13317
+ string id
13318
+
13319
+ # Removes the service respresented by |id| from the peripheral with |address|.
13320
+ command removeService
13321
+ parameters
13322
+ string address
13323
+ string id
13324
+
13306
13325
  # Event for when a GATT operation of |type| to the peripheral with |address|
13307
13326
  # happened.
13308
13327
  event gattOperationReceived
@@ -5311,6 +5311,20 @@ export namespace ProtocolMapping {
5311
5311
  paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
5312
5312
  returnType: void;
5313
5313
  };
5314
+ /**
5315
+ * Adds a service with |uuid| to the peripheral with |address|.
5316
+ */
5317
+ 'BluetoothEmulation.addService': {
5318
+ paramsType: [Protocol.BluetoothEmulation.AddServiceRequest];
5319
+ returnType: Protocol.BluetoothEmulation.AddServiceResponse;
5320
+ };
5321
+ /**
5322
+ * Removes the service respresented by |id| from the peripheral with |address|.
5323
+ */
5324
+ 'BluetoothEmulation.removeService': {
5325
+ paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
5326
+ returnType: void;
5327
+ };
5314
5328
  }
5315
5329
  }
5316
5330
 
@@ -4534,6 +4534,16 @@ export namespace ProtocolProxyApi {
4534
4534
  */
4535
4535
  simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<void>;
4536
4536
 
4537
+ /**
4538
+ * Adds a service with |uuid| to the peripheral with |address|.
4539
+ */
4540
+ addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<Protocol.BluetoothEmulation.AddServiceResponse>;
4541
+
4542
+ /**
4543
+ * Removes the service respresented by |id| from the peripheral with |address|.
4544
+ */
4545
+ removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<void>;
4546
+
4537
4547
  /**
4538
4548
  * Event for when a GATT operation of |type| to the peripheral with |address|
4539
4549
  * happened.
@@ -4938,6 +4938,16 @@ export namespace ProtocolTestsProxyApi {
4938
4938
  */
4939
4939
  simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
4940
4940
 
4941
+ /**
4942
+ * Adds a service with |uuid| to the peripheral with |address|.
4943
+ */
4944
+ addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddServiceResponse, sessionId: string}>;
4945
+
4946
+ /**
4947
+ * Removes the service respresented by |id| from the peripheral with |address|.
4948
+ */
4949
+ removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<{id: number, result: void, sessionId: string}>;
4950
+
4941
4951
  /**
4942
4952
  * Event for when a GATT operation of |type| to the peripheral with |address|
4943
4953
  * happened.
@@ -3540,7 +3540,7 @@ export namespace Protocol {
3540
3540
 
3541
3541
  export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
3542
3542
 
3543
- export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch');
3543
+ export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch' | 'ValidationFailedIntegrityMismatch');
3544
3544
 
3545
3545
  /**
3546
3546
  * Details for issues around "Attribution Reporting API" usage.
@@ -3582,6 +3582,7 @@ export namespace Protocol {
3582
3582
  export interface SRIMessageSignatureIssueDetails {
3583
3583
  error: SRIMessageSignatureError;
3584
3584
  signatureBase: string;
3585
+ integrityAssertions: string[];
3585
3586
  request: AffectedRequest;
3586
3587
  }
3587
3588
 
@@ -11321,7 +11322,7 @@ export namespace Protocol {
11321
11322
  /**
11322
11323
  * Types of reasons why a cookie may not be sent with a request.
11323
11324
  */
11324
- export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch');
11325
+ export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
11325
11326
 
11326
11327
  /**
11327
11328
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
@@ -19570,6 +19571,23 @@ export namespace Protocol {
19570
19571
  code: integer;
19571
19572
  }
19572
19573
 
19574
+ export interface AddServiceRequest {
19575
+ address: string;
19576
+ serviceUuid: string;
19577
+ }
19578
+
19579
+ export interface AddServiceResponse {
19580
+ /**
19581
+ * An identifier that uniquely represents this service.
19582
+ */
19583
+ id: string;
19584
+ }
19585
+
19586
+ export interface RemoveServiceRequest {
19587
+ address: string;
19588
+ id: string;
19589
+ }
19590
+
19573
19591
  /**
19574
19592
  * Event for when a GATT operation of |type| to the peripheral with |address|
19575
19593
  * happened.