devtools-protocol 0.0.970590 → 0.0.972468
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.
@@ -1082,6 +1082,7 @@
|
|
1082
1082
|
"id": "MixedContentResourceType",
|
1083
1083
|
"type": "string",
|
1084
1084
|
"enum": [
|
1085
|
+
"AttributionSrc",
|
1085
1086
|
"Audio",
|
1086
1087
|
"Beacon",
|
1087
1088
|
"CSPReport",
|
@@ -1603,7 +1604,7 @@
|
|
1603
1604
|
},
|
1604
1605
|
{
|
1605
1606
|
"id": "FederatedAuthRequestIssueReason",
|
1606
|
-
"description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/
|
1607
|
+
"description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/devtools/inspector_issue.mojom to include\nall cases except for success.",
|
1607
1608
|
"type": "string",
|
1608
1609
|
"enum": [
|
1609
1610
|
"ApprovalDeclined",
|
@@ -3818,6 +3819,32 @@
|
|
3818
3819
|
}
|
3819
3820
|
]
|
3820
3821
|
},
|
3822
|
+
{
|
3823
|
+
"name": "setSupportsText",
|
3824
|
+
"description": "Modifies the expression of a supports at-rule.",
|
3825
|
+
"experimental": true,
|
3826
|
+
"parameters": [
|
3827
|
+
{
|
3828
|
+
"name": "styleSheetId",
|
3829
|
+
"$ref": "StyleSheetId"
|
3830
|
+
},
|
3831
|
+
{
|
3832
|
+
"name": "range",
|
3833
|
+
"$ref": "SourceRange"
|
3834
|
+
},
|
3835
|
+
{
|
3836
|
+
"name": "text",
|
3837
|
+
"type": "string"
|
3838
|
+
}
|
3839
|
+
],
|
3840
|
+
"returns": [
|
3841
|
+
{
|
3842
|
+
"name": "supports",
|
3843
|
+
"description": "The resulting CSS Supports rule after modification.",
|
3844
|
+
"$ref": "CSSSupports"
|
3845
|
+
}
|
3846
|
+
]
|
3847
|
+
},
|
3821
3848
|
{
|
3822
3849
|
"name": "setRuleSelector",
|
3823
3850
|
"description": "Modifies the rule selector.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -526,6 +526,7 @@ experimental domain Audits
|
|
526
526
|
|
527
527
|
type MixedContentResourceType extends string
|
528
528
|
enum
|
529
|
+
AttributionSrc
|
529
530
|
Audio
|
530
531
|
Beacon
|
531
532
|
CSPReport
|
@@ -779,7 +780,7 @@ experimental domain Audits
|
|
779
780
|
|
780
781
|
# Represents the failure reason when a federated authentication reason fails.
|
781
782
|
# Should be updated alongside RequestIdTokenStatus in
|
782
|
-
# third_party/blink/public/mojom/
|
783
|
+
# third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
783
784
|
# all cases except for success.
|
784
785
|
type FederatedAuthRequestIssueReason extends string
|
785
786
|
enum
|
@@ -1792,6 +1793,16 @@ experimental domain CSS
|
|
1792
1793
|
# The resulting CSS container query rule after modification.
|
1793
1794
|
CSSContainerQuery containerQuery
|
1794
1795
|
|
1796
|
+
# Modifies the expression of a supports at-rule.
|
1797
|
+
experimental command setSupportsText
|
1798
|
+
parameters
|
1799
|
+
StyleSheetId styleSheetId
|
1800
|
+
SourceRange range
|
1801
|
+
string text
|
1802
|
+
returns
|
1803
|
+
# The resulting CSS Supports rule after modification.
|
1804
|
+
CSSSupports supports
|
1805
|
+
|
1795
1806
|
# Modifies the rule selector.
|
1796
1807
|
command setRuleSelector
|
1797
1808
|
parameters
|
@@ -1682,6 +1682,13 @@ export namespace ProtocolMapping {
|
|
1682
1682
|
paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
|
1683
1683
|
returnType: Protocol.CSS.SetContainerQueryTextResponse;
|
1684
1684
|
};
|
1685
|
+
/**
|
1686
|
+
* Modifies the expression of a supports at-rule.
|
1687
|
+
*/
|
1688
|
+
'CSS.setSupportsText': {
|
1689
|
+
paramsType: [Protocol.CSS.SetSupportsTextRequest];
|
1690
|
+
returnType: Protocol.CSS.SetSupportsTextResponse;
|
1691
|
+
};
|
1685
1692
|
/**
|
1686
1693
|
* Modifies the rule selector.
|
1687
1694
|
*/
|
@@ -999,6 +999,11 @@ export namespace ProtocolProxyApi {
|
|
999
999
|
*/
|
1000
1000
|
setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<Protocol.CSS.SetContainerQueryTextResponse>;
|
1001
1001
|
|
1002
|
+
/**
|
1003
|
+
* Modifies the expression of a supports at-rule.
|
1004
|
+
*/
|
1005
|
+
setSupportsText(params: Protocol.CSS.SetSupportsTextRequest): Promise<Protocol.CSS.SetSupportsTextResponse>;
|
1006
|
+
|
1002
1007
|
/**
|
1003
1008
|
* Modifies the rule selector.
|
1004
1009
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -3109,7 +3109,7 @@ export namespace Protocol {
|
|
3109
3109
|
|
3110
3110
|
export type MixedContentResolutionStatus = ('MixedContentBlocked' | 'MixedContentAutomaticallyUpgraded' | 'MixedContentWarning');
|
3111
3111
|
|
3112
|
-
export type MixedContentResourceType = ('Audio' | 'Beacon' | 'CSPReport' | 'Download' | 'EventSource' | 'Favicon' | 'Font' | 'Form' | 'Frame' | 'Image' | 'Import' | 'Manifest' | 'Ping' | 'PluginData' | 'PluginResource' | 'Prefetch' | 'Resource' | 'Script' | 'ServiceWorker' | 'SharedWorker' | 'Stylesheet' | 'Track' | 'Video' | 'Worker' | 'XMLHttpRequest' | 'XSLT');
|
3112
|
+
export type MixedContentResourceType = ('AttributionSrc' | 'Audio' | 'Beacon' | 'CSPReport' | 'Download' | 'EventSource' | 'Favicon' | 'Font' | 'Form' | 'Frame' | 'Image' | 'Import' | 'Manifest' | 'Ping' | 'PluginData' | 'PluginResource' | 'Prefetch' | 'Resource' | 'Script' | 'ServiceWorker' | 'SharedWorker' | 'Stylesheet' | 'Track' | 'Video' | 'Worker' | 'XMLHttpRequest' | 'XSLT');
|
3113
3113
|
|
3114
3114
|
export interface MixedContentIssueDetails {
|
3115
3115
|
/**
|
@@ -3339,7 +3339,7 @@ export namespace Protocol {
|
|
3339
3339
|
/**
|
3340
3340
|
* Represents the failure reason when a federated authentication reason fails.
|
3341
3341
|
* Should be updated alongside RequestIdTokenStatus in
|
3342
|
-
* third_party/blink/public/mojom/
|
3342
|
+
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
3343
3343
|
* all cases except for success.
|
3344
3344
|
*/
|
3345
3345
|
export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'ManifestHttpNotFound' | 'ManifestNoResponse' | 'ManifestInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
|
@@ -4749,6 +4749,19 @@ export namespace Protocol {
|
|
4749
4749
|
containerQuery: CSSContainerQuery;
|
4750
4750
|
}
|
4751
4751
|
|
4752
|
+
export interface SetSupportsTextRequest {
|
4753
|
+
styleSheetId: StyleSheetId;
|
4754
|
+
range: SourceRange;
|
4755
|
+
text: string;
|
4756
|
+
}
|
4757
|
+
|
4758
|
+
export interface SetSupportsTextResponse {
|
4759
|
+
/**
|
4760
|
+
* The resulting CSS Supports rule after modification.
|
4761
|
+
*/
|
4762
|
+
supports: CSSSupports;
|
4763
|
+
}
|
4764
|
+
|
4752
4765
|
export interface SetRuleSelectorRequest {
|
4753
4766
|
styleSheetId: StyleSheetId;
|
4754
4767
|
range: SourceRange;
|