devtools-protocol 0.0.943026 → 0.0.945905
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.
|
@@ -10739,6 +10739,8 @@
|
|
|
10739
10739
|
"PreflightInvalidAllowCredentials",
|
|
10740
10740
|
"PreflightMissingAllowExternal",
|
|
10741
10741
|
"PreflightInvalidAllowExternal",
|
|
10742
|
+
"PreflightMissingAllowPrivateNetwork",
|
|
10743
|
+
"PreflightInvalidAllowPrivateNetwork",
|
|
10742
10744
|
"InvalidAllowMethodsPreflightResponse",
|
|
10743
10745
|
"InvalidAllowHeadersPreflightResponse",
|
|
10744
10746
|
"MethodDisallowedByPreflightResponse",
|
|
@@ -11878,6 +11880,23 @@
|
|
|
11878
11880
|
}
|
|
11879
11881
|
]
|
|
11880
11882
|
},
|
|
11883
|
+
{
|
|
11884
|
+
"id": "ReportingApiEndpoint",
|
|
11885
|
+
"experimental": true,
|
|
11886
|
+
"type": "object",
|
|
11887
|
+
"properties": [
|
|
11888
|
+
{
|
|
11889
|
+
"name": "url",
|
|
11890
|
+
"description": "The URL of the endpoint to which reports may be delivered.",
|
|
11891
|
+
"type": "string"
|
|
11892
|
+
},
|
|
11893
|
+
{
|
|
11894
|
+
"name": "groupName",
|
|
11895
|
+
"description": "Name of the endpoint group.",
|
|
11896
|
+
"type": "string"
|
|
11897
|
+
}
|
|
11898
|
+
]
|
|
11899
|
+
},
|
|
11881
11900
|
{
|
|
11882
11901
|
"id": "LoadNetworkResourcePageResult",
|
|
11883
11902
|
"description": "An object providing the result of a network resource load.",
|
|
@@ -13432,6 +13451,24 @@
|
|
|
13432
13451
|
"$ref": "ReportingApiReport"
|
|
13433
13452
|
}
|
|
13434
13453
|
]
|
|
13454
|
+
},
|
|
13455
|
+
{
|
|
13456
|
+
"name": "reportingApiEndpointsChangedForOrigin",
|
|
13457
|
+
"experimental": true,
|
|
13458
|
+
"parameters": [
|
|
13459
|
+
{
|
|
13460
|
+
"name": "origin",
|
|
13461
|
+
"description": "Origin of the document(s) which configured the endpoints.",
|
|
13462
|
+
"type": "string"
|
|
13463
|
+
},
|
|
13464
|
+
{
|
|
13465
|
+
"name": "endpoints",
|
|
13466
|
+
"type": "array",
|
|
13467
|
+
"items": {
|
|
13468
|
+
"$ref": "ReportingApiEndpoint"
|
|
13469
|
+
}
|
|
13470
|
+
}
|
|
13471
|
+
]
|
|
13435
13472
|
}
|
|
13436
13473
|
]
|
|
13437
13474
|
},
|
|
@@ -19063,6 +19100,15 @@
|
|
|
19063
19100
|
"description": "Proxy bypass list, similar to the one passed to --proxy-bypass-list",
|
|
19064
19101
|
"optional": true,
|
|
19065
19102
|
"type": "string"
|
|
19103
|
+
},
|
|
19104
|
+
{
|
|
19105
|
+
"name": "originsWithUniversalNetworkAccess",
|
|
19106
|
+
"description": "An optional list of origins to grant unlimited cross-origin access to.\nParts of the URL other than those constituting origin are ignored.",
|
|
19107
|
+
"optional": true,
|
|
19108
|
+
"type": "array",
|
|
19109
|
+
"items": {
|
|
19110
|
+
"type": "string"
|
|
19111
|
+
}
|
|
19066
19112
|
}
|
|
19067
19113
|
],
|
|
19068
19114
|
"returns": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -4908,8 +4908,14 @@ domain Network
|
|
|
4908
4908
|
PreflightInvalidAllowOriginValue
|
|
4909
4909
|
PreflightAllowOriginMismatch
|
|
4910
4910
|
PreflightInvalidAllowCredentials
|
|
4911
|
+
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
|
4912
|
+
# not reference it anymore.
|
|
4911
4913
|
PreflightMissingAllowExternal
|
|
4914
|
+
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
|
4915
|
+
# not reference it anymore.
|
|
4912
4916
|
PreflightInvalidAllowExternal
|
|
4917
|
+
PreflightMissingAllowPrivateNetwork
|
|
4918
|
+
PreflightInvalidAllowPrivateNetwork
|
|
4913
4919
|
InvalidAllowMethodsPreflightResponse
|
|
4914
4920
|
InvalidAllowHeadersPreflightResponse
|
|
4915
4921
|
MethodDisallowedByPreflightResponse
|
|
@@ -6204,6 +6210,19 @@ domain Network
|
|
|
6204
6210
|
parameters
|
|
6205
6211
|
ReportingApiReport report
|
|
6206
6212
|
|
|
6213
|
+
experimental type ReportingApiEndpoint extends object
|
|
6214
|
+
properties
|
|
6215
|
+
# The URL of the endpoint to which reports may be delivered.
|
|
6216
|
+
string url
|
|
6217
|
+
# Name of the endpoint group.
|
|
6218
|
+
string groupName
|
|
6219
|
+
|
|
6220
|
+
experimental event reportingApiEndpointsChangedForOrigin
|
|
6221
|
+
parameters
|
|
6222
|
+
# Origin of the document(s) which configured the endpoints.
|
|
6223
|
+
string origin
|
|
6224
|
+
array of ReportingApiEndpoint endpoints
|
|
6225
|
+
|
|
6207
6226
|
# An object providing the result of a network resource load.
|
|
6208
6227
|
experimental type LoadNetworkResourcePageResult extends object
|
|
6209
6228
|
properties
|
|
@@ -8916,6 +8935,9 @@ domain Target
|
|
|
8916
8935
|
optional string proxyServer
|
|
8917
8936
|
# Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
|
8918
8937
|
optional string proxyBypassList
|
|
8938
|
+
# An optional list of origins to grant unlimited cross-origin access to.
|
|
8939
|
+
# Parts of the URL other than those constituting origin are ignored.
|
|
8940
|
+
optional array of string originsWithUniversalNetworkAccess
|
|
8919
8941
|
|
|
8920
8942
|
returns
|
|
8921
8943
|
# The id of the context created.
|
|
@@ -384,6 +384,7 @@ export namespace ProtocolMapping {
|
|
|
384
384
|
*/
|
|
385
385
|
'Network.reportingApiReportAdded': [Protocol.Network.ReportingApiReportAddedEvent];
|
|
386
386
|
'Network.reportingApiReportUpdated': [Protocol.Network.ReportingApiReportUpdatedEvent];
|
|
387
|
+
'Network.reportingApiEndpointsChangedForOrigin': [Protocol.Network.ReportingApiEndpointsChangedForOriginEvent];
|
|
387
388
|
/**
|
|
388
389
|
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
|
389
390
|
* user manually inspects an element.
|
|
@@ -2429,6 +2429,8 @@ export namespace ProtocolProxyApi {
|
|
|
2429
2429
|
|
|
2430
2430
|
on(event: 'reportingApiReportUpdated', listener: (params: Protocol.Network.ReportingApiReportUpdatedEvent) => void): void;
|
|
2431
2431
|
|
|
2432
|
+
on(event: 'reportingApiEndpointsChangedForOrigin', listener: (params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent) => void): void;
|
|
2433
|
+
|
|
2432
2434
|
}
|
|
2433
2435
|
|
|
2434
2436
|
export interface OverlayApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -9242,7 +9242,7 @@ export namespace Protocol {
|
|
|
9242
9242
|
/**
|
|
9243
9243
|
* The reason why request was blocked.
|
|
9244
9244
|
*/
|
|
9245
|
-
export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow');
|
|
9245
|
+
export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'PreflightMissingAllowPrivateNetwork' | 'PreflightInvalidAllowPrivateNetwork' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow');
|
|
9246
9246
|
|
|
9247
9247
|
export interface CorsErrorStatus {
|
|
9248
9248
|
corsError: CorsError;
|
|
@@ -9968,6 +9968,17 @@ export namespace Protocol {
|
|
|
9968
9968
|
status: ReportStatus;
|
|
9969
9969
|
}
|
|
9970
9970
|
|
|
9971
|
+
export interface ReportingApiEndpoint {
|
|
9972
|
+
/**
|
|
9973
|
+
* The URL of the endpoint to which reports may be delivered.
|
|
9974
|
+
*/
|
|
9975
|
+
url: string;
|
|
9976
|
+
/**
|
|
9977
|
+
* Name of the endpoint group.
|
|
9978
|
+
*/
|
|
9979
|
+
groupName: string;
|
|
9980
|
+
}
|
|
9981
|
+
|
|
9971
9982
|
/**
|
|
9972
9983
|
* An object providing the result of a network resource load.
|
|
9973
9984
|
*/
|
|
@@ -11096,6 +11107,14 @@ export namespace Protocol {
|
|
|
11096
11107
|
export interface ReportingApiReportUpdatedEvent {
|
|
11097
11108
|
report: ReportingApiReport;
|
|
11098
11109
|
}
|
|
11110
|
+
|
|
11111
|
+
export interface ReportingApiEndpointsChangedForOriginEvent {
|
|
11112
|
+
/**
|
|
11113
|
+
* Origin of the document(s) which configured the endpoints.
|
|
11114
|
+
*/
|
|
11115
|
+
origin: string;
|
|
11116
|
+
endpoints: ReportingApiEndpoint[];
|
|
11117
|
+
}
|
|
11099
11118
|
}
|
|
11100
11119
|
|
|
11101
11120
|
/**
|
|
@@ -14514,6 +14533,11 @@ export namespace Protocol {
|
|
|
14514
14533
|
* Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
|
14515
14534
|
*/
|
|
14516
14535
|
proxyBypassList?: string;
|
|
14536
|
+
/**
|
|
14537
|
+
* An optional list of origins to grant unlimited cross-origin access to.
|
|
14538
|
+
* Parts of the URL other than those constituting origin are ignored.
|
|
14539
|
+
*/
|
|
14540
|
+
originsWithUniversalNetworkAccess?: string[];
|
|
14517
14541
|
}
|
|
14518
14542
|
|
|
14519
14543
|
export interface CreateBrowserContextResponse {
|