devtools-protocol 0.0.924232 → 0.0.924707
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/changelog.md +6 -0
- package/json/browser_protocol.json +31 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +13 -0
- package/types/protocol.d.ts +15 -1
package/changelog.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## Roll protocol to r924232
|
|
4
|
+
###### _2021-09-23 02:15:23_ | Diff: [f300e4d...b32cbf9](https://github.com/ChromeDevTools/devtools-protocol/compare/f300e4d...b32cbf9)
|
|
5
|
+
#### `Page`: modified command
|
|
6
|
+
* [`Page.getAppId`](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-getAppId) - `description` updated. The `appId` in the return value had `description` _updated_. The return value's `recommendedId` _added_.
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## Roll protocol to r923714
|
|
4
10
|
###### _2021-09-21 20:15:27_ | Diff: [d6f4069...3c9570a](https://github.com/ChromeDevTools/devtools-protocol/compare/d6f4069...3c9570a)
|
|
5
11
|
#### `Page`: modified type
|
|
@@ -1630,6 +1630,30 @@
|
|
|
1630
1630
|
}
|
|
1631
1631
|
]
|
|
1632
1632
|
},
|
|
1633
|
+
{
|
|
1634
|
+
"id": "GenericIssueErrorType",
|
|
1635
|
+
"type": "string",
|
|
1636
|
+
"enum": [
|
|
1637
|
+
"CrossOriginPortalPostMessageError"
|
|
1638
|
+
]
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"id": "GenericIssueDetails",
|
|
1642
|
+
"description": "Depending on the concrete errorType, different properties are set.",
|
|
1643
|
+
"type": "object",
|
|
1644
|
+
"properties": [
|
|
1645
|
+
{
|
|
1646
|
+
"name": "errorType",
|
|
1647
|
+
"description": "Issues with the same errorType are aggregated in the frontend.",
|
|
1648
|
+
"$ref": "GenericIssueErrorType"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"name": "frameId",
|
|
1652
|
+
"optional": true,
|
|
1653
|
+
"$ref": "Page.FrameId"
|
|
1654
|
+
}
|
|
1655
|
+
]
|
|
1656
|
+
},
|
|
1633
1657
|
{
|
|
1634
1658
|
"id": "InspectorIssueCode",
|
|
1635
1659
|
"description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
|
|
@@ -1647,7 +1671,8 @@
|
|
|
1647
1671
|
"AttributionReportingIssue",
|
|
1648
1672
|
"QuirksModeIssue",
|
|
1649
1673
|
"NavigatorUserAgentIssue",
|
|
1650
|
-
"WasmCrossOriginModuleSharingIssue"
|
|
1674
|
+
"WasmCrossOriginModuleSharingIssue",
|
|
1675
|
+
"GenericIssue"
|
|
1651
1676
|
]
|
|
1652
1677
|
},
|
|
1653
1678
|
{
|
|
@@ -1719,6 +1744,11 @@
|
|
|
1719
1744
|
"name": "wasmCrossOriginModuleSharingIssue",
|
|
1720
1745
|
"optional": true,
|
|
1721
1746
|
"$ref": "WasmCrossOriginModuleSharingIssueDetails"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"name": "genericIssueDetails",
|
|
1750
|
+
"optional": true,
|
|
1751
|
+
"$ref": "GenericIssueDetails"
|
|
1722
1752
|
}
|
|
1723
1753
|
]
|
|
1724
1754
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -776,6 +776,17 @@ experimental domain Audits
|
|
|
776
776
|
string targetOrigin
|
|
777
777
|
boolean isWarning
|
|
778
778
|
|
|
779
|
+
type GenericIssueErrorType extends string
|
|
780
|
+
enum
|
|
781
|
+
CrossOriginPortalPostMessageError
|
|
782
|
+
|
|
783
|
+
# Depending on the concrete errorType, different properties are set.
|
|
784
|
+
type GenericIssueDetails extends object
|
|
785
|
+
properties
|
|
786
|
+
# Issues with the same errorType are aggregated in the frontend.
|
|
787
|
+
GenericIssueErrorType errorType
|
|
788
|
+
optional Page.FrameId frameId
|
|
789
|
+
|
|
779
790
|
# A unique identifier for the type of issue. Each type may use one of the
|
|
780
791
|
# optional fields in InspectorIssueDetails to convey more specific
|
|
781
792
|
# information about the kind of issue.
|
|
@@ -794,6 +805,7 @@ experimental domain Audits
|
|
|
794
805
|
QuirksModeIssue
|
|
795
806
|
NavigatorUserAgentIssue
|
|
796
807
|
WasmCrossOriginModuleSharingIssue
|
|
808
|
+
GenericIssue
|
|
797
809
|
|
|
798
810
|
# This struct holds a list of optional fields with additional information
|
|
799
811
|
# specific to the kind of issue. When adding a new issue code, please also
|
|
@@ -813,6 +825,7 @@ experimental domain Audits
|
|
|
813
825
|
optional QuirksModeIssueDetails quirksModeIssueDetails
|
|
814
826
|
optional NavigatorUserAgentIssueDetails navigatorUserAgentIssueDetails
|
|
815
827
|
optional WasmCrossOriginModuleSharingIssueDetails wasmCrossOriginModuleSharingIssue
|
|
828
|
+
optional GenericIssueDetails genericIssueDetails
|
|
816
829
|
|
|
817
830
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
|
818
831
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
package/types/protocol.d.ts
CHANGED
|
@@ -3383,12 +3383,25 @@ export namespace Protocol {
|
|
|
3383
3383
|
isWarning: boolean;
|
|
3384
3384
|
}
|
|
3385
3385
|
|
|
3386
|
+
export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError');
|
|
3387
|
+
|
|
3388
|
+
/**
|
|
3389
|
+
* Depending on the concrete errorType, different properties are set.
|
|
3390
|
+
*/
|
|
3391
|
+
export interface GenericIssueDetails {
|
|
3392
|
+
/**
|
|
3393
|
+
* Issues with the same errorType are aggregated in the frontend.
|
|
3394
|
+
*/
|
|
3395
|
+
errorType: GenericIssueErrorType;
|
|
3396
|
+
frameId?: Page.FrameId;
|
|
3397
|
+
}
|
|
3398
|
+
|
|
3386
3399
|
/**
|
|
3387
3400
|
* A unique identifier for the type of issue. Each type may use one of the
|
|
3388
3401
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
3389
3402
|
* information about the kind of issue.
|
|
3390
3403
|
*/
|
|
3391
|
-
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'WasmCrossOriginModuleSharingIssue');
|
|
3404
|
+
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'WasmCrossOriginModuleSharingIssue' | 'GenericIssue');
|
|
3392
3405
|
|
|
3393
3406
|
/**
|
|
3394
3407
|
* This struct holds a list of optional fields with additional information
|
|
@@ -3409,6 +3422,7 @@ export namespace Protocol {
|
|
|
3409
3422
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
|
3410
3423
|
navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails;
|
|
3411
3424
|
wasmCrossOriginModuleSharingIssue?: WasmCrossOriginModuleSharingIssueDetails;
|
|
3425
|
+
genericIssueDetails?: GenericIssueDetails;
|
|
3412
3426
|
}
|
|
3413
3427
|
|
|
3414
3428
|
/**
|