devtools-protocol 0.0.1027518 → 0.0.1028116
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.
- package/json/browser_protocol.json +24 -4
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +19 -2
- package/types/protocol.d.ts +17 -4
@@ -1448,7 +1448,10 @@
|
|
1448
1448
|
"PermissionPolicyDisabled",
|
1449
1449
|
"AttributionSourceUntrustworthyOrigin",
|
1450
1450
|
"AttributionUntrustworthyOrigin",
|
1451
|
-
"
|
1451
|
+
"UntrustworthyReportingOrigin",
|
1452
|
+
"InsecureContext",
|
1453
|
+
"InvalidHeader",
|
1454
|
+
"InvalidRegisterTriggerHeader"
|
1452
1455
|
]
|
1453
1456
|
},
|
1454
1457
|
{
|
@@ -1462,6 +1465,7 @@
|
|
1462
1465
|
},
|
1463
1466
|
{
|
1464
1467
|
"name": "frame",
|
1468
|
+
"description": "TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.",
|
1465
1469
|
"optional": true,
|
1466
1470
|
"$ref": "AffectedFrame"
|
1467
1471
|
},
|
@@ -8897,7 +8901,14 @@
|
|
8897
8901
|
"parameters": [
|
8898
8902
|
{
|
8899
8903
|
"name": "securityOrigin",
|
8900
|
-
"description": "
|
8904
|
+
"description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
|
8905
|
+
"optional": true,
|
8906
|
+
"type": "string"
|
8907
|
+
},
|
8908
|
+
{
|
8909
|
+
"name": "storageKey",
|
8910
|
+
"description": "Storage key.",
|
8911
|
+
"optional": true,
|
8901
8912
|
"type": "string"
|
8902
8913
|
},
|
8903
8914
|
{
|
@@ -8918,7 +8929,14 @@
|
|
8918
8929
|
"parameters": [
|
8919
8930
|
{
|
8920
8931
|
"name": "securityOrigin",
|
8921
|
-
"description": "
|
8932
|
+
"description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
|
8933
|
+
"optional": true,
|
8934
|
+
"type": "string"
|
8935
|
+
},
|
8936
|
+
{
|
8937
|
+
"name": "storageKey",
|
8938
|
+
"description": "Storage key.",
|
8939
|
+
"optional": true,
|
8922
8940
|
"type": "string"
|
8923
8941
|
},
|
8924
8942
|
{
|
@@ -16264,7 +16282,9 @@
|
|
16264
16282
|
"TriggerBackgrounded",
|
16265
16283
|
"EmbedderTriggeredAndSameOriginRedirected",
|
16266
16284
|
"EmbedderTriggeredAndCrossOriginRedirected",
|
16267
|
-
"EmbedderTriggeredAndDestroyed"
|
16285
|
+
"EmbedderTriggeredAndDestroyed",
|
16286
|
+
"MemoryLimitExceeded",
|
16287
|
+
"FailToGetMemoryUsage"
|
16268
16288
|
]
|
16269
16289
|
}
|
16270
16290
|
],
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -699,15 +699,22 @@ experimental domain Audits
|
|
699
699
|
type AttributionReportingIssueType extends string
|
700
700
|
enum
|
701
701
|
PermissionPolicyDisabled
|
702
|
+
# TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
|
702
703
|
AttributionSourceUntrustworthyOrigin
|
704
|
+
# TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
|
703
705
|
AttributionUntrustworthyOrigin
|
706
|
+
UntrustworthyReportingOrigin
|
707
|
+
InsecureContext
|
708
|
+
# TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
|
704
709
|
InvalidHeader
|
710
|
+
InvalidRegisterTriggerHeader
|
705
711
|
|
706
712
|
# Details for issues around "Attribution Reporting API" usage.
|
707
713
|
# Explainer: https://github.com/WICG/attribution-reporting-api
|
708
714
|
type AttributionReportingIssueDetails extends object
|
709
715
|
properties
|
710
716
|
AttributionReportingIssueType violationType
|
717
|
+
# TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
|
711
718
|
optional AffectedFrame frame
|
712
719
|
optional AffectedRequest request
|
713
720
|
optional DOM.BackendNodeId violatingNodeId
|
@@ -4074,8 +4081,11 @@ experimental domain IndexedDB
|
|
4074
4081
|
# Clears all entries from an object store.
|
4075
4082
|
command clearObjectStore
|
4076
4083
|
parameters
|
4084
|
+
# At least and at most one of securityOrigin, storageKey must be specified.
|
4077
4085
|
# Security origin.
|
4078
|
-
string securityOrigin
|
4086
|
+
optional string securityOrigin
|
4087
|
+
# Storage key.
|
4088
|
+
optional string storageKey
|
4079
4089
|
# Database name.
|
4080
4090
|
string databaseName
|
4081
4091
|
# Object store name.
|
@@ -4084,8 +4094,11 @@ experimental domain IndexedDB
|
|
4084
4094
|
# Deletes a database.
|
4085
4095
|
command deleteDatabase
|
4086
4096
|
parameters
|
4097
|
+
# At least and at most one of securityOrigin, storageKey must be specified.
|
4087
4098
|
# Security origin.
|
4088
|
-
string securityOrigin
|
4099
|
+
optional string securityOrigin
|
4100
|
+
# Storage key.
|
4101
|
+
optional string storageKey
|
4089
4102
|
# Database name.
|
4090
4103
|
string databaseName
|
4091
4104
|
|
@@ -8426,6 +8439,10 @@ domain Page
|
|
8426
8439
|
EmbedderTriggeredAndSameOriginRedirected
|
8427
8440
|
EmbedderTriggeredAndCrossOriginRedirected
|
8428
8441
|
EmbedderTriggeredAndDestroyed
|
8442
|
+
MemoryLimitExceeded
|
8443
|
+
# Prerenders can be cancelled when Chrome uses excessive memory. This is
|
8444
|
+
# recorded when it fails to get the memory usage.
|
8445
|
+
FailToGetMemoryUsage
|
8429
8446
|
|
8430
8447
|
# Fired when a prerender attempt is completed.
|
8431
8448
|
event prerenderAttemptCompleted
|
package/types/protocol.d.ts
CHANGED
@@ -3423,7 +3423,7 @@ export namespace Protocol {
|
|
3423
3423
|
clientSecurityState?: Network.ClientSecurityState;
|
3424
3424
|
}
|
3425
3425
|
|
3426
|
-
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'InvalidHeader');
|
3426
|
+
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader');
|
3427
3427
|
|
3428
3428
|
/**
|
3429
3429
|
* Details for issues around "Attribution Reporting API" usage.
|
@@ -3431,6 +3431,9 @@ export namespace Protocol {
|
|
3431
3431
|
*/
|
3432
3432
|
export interface AttributionReportingIssueDetails {
|
3433
3433
|
violationType: AttributionReportingIssueType;
|
3434
|
+
/**
|
3435
|
+
* TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
|
3436
|
+
*/
|
3434
3437
|
frame?: AffectedFrame;
|
3435
3438
|
request?: AffectedRequest;
|
3436
3439
|
violatingNodeId?: DOM.BackendNodeId;
|
@@ -8106,9 +8109,14 @@ export namespace Protocol {
|
|
8106
8109
|
|
8107
8110
|
export interface ClearObjectStoreRequest {
|
8108
8111
|
/**
|
8112
|
+
* At least and at most one of securityOrigin, storageKey must be specified.
|
8109
8113
|
* Security origin.
|
8110
8114
|
*/
|
8111
|
-
securityOrigin
|
8115
|
+
securityOrigin?: string;
|
8116
|
+
/**
|
8117
|
+
* Storage key.
|
8118
|
+
*/
|
8119
|
+
storageKey?: string;
|
8112
8120
|
/**
|
8113
8121
|
* Database name.
|
8114
8122
|
*/
|
@@ -8121,9 +8129,14 @@ export namespace Protocol {
|
|
8121
8129
|
|
8122
8130
|
export interface DeleteDatabaseRequest {
|
8123
8131
|
/**
|
8132
|
+
* At least and at most one of securityOrigin, storageKey must be specified.
|
8124
8133
|
* Security origin.
|
8125
8134
|
*/
|
8126
|
-
securityOrigin
|
8135
|
+
securityOrigin?: string;
|
8136
|
+
/**
|
8137
|
+
* Storage key.
|
8138
|
+
*/
|
8139
|
+
storageKey?: string;
|
8127
8140
|
/**
|
8128
8141
|
* Database name.
|
8129
8142
|
*/
|
@@ -12812,7 +12825,7 @@ export namespace Protocol {
|
|
12812
12825
|
/**
|
12813
12826
|
* List of FinalStatus reasons for Prerender2.
|
12814
12827
|
*/
|
12815
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'EmbedderTriggeredAndDestroyed');
|
12828
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'EmbedderTriggeredAndDestroyed' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage');
|
12816
12829
|
|
12817
12830
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12818
12831
|
scriptSource: string;
|