chrome-devtools-frontend 1.0.1593959 → 1.0.1595925
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/docs/contributing/settings-experiments-features.md +25 -5
- package/front_end/core/common/README.md +126 -0
- package/front_end/core/sdk/CSSModel.ts +22 -0
- package/front_end/core/sdk/CSSNavigation.ts +33 -0
- package/front_end/core/sdk/CSSRule.ts +12 -2
- package/front_end/core/sdk/sdk-meta.ts +22 -18
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/design_system_tokens.css +538 -259
- package/front_end/entrypoints/main/main-meta.ts +2 -2
- package/front_end/generated/InspectorBackendCommands.ts +3 -5
- package/front_end/generated/SupportedCSSProperties.js +12 -0
- package/front_end/generated/protocol-mapping.d.ts +0 -8
- package/front_end/generated/protocol-proxy-api.d.ts +0 -6
- package/front_end/generated/protocol.ts +1 -19
- package/front_end/models/issues_manager/Issue.ts +1 -0
- package/front_end/models/issues_manager/IssueAggregator.ts +9 -0
- package/front_end/models/issues_manager/IssuesManager.ts +5 -0
- package/front_end/models/issues_manager/SelectivePermissionsInterventionIssue.ts +65 -0
- package/front_end/models/issues_manager/descriptions/selectivePermissionsIntervention.md +7 -0
- package/front_end/models/issues_manager/issues_manager.ts +2 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +49 -10
- package/front_end/models/persistence/persistence-meta.ts +4 -4
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +12 -1
- package/front_end/panels/ai_assistance/components/ChatInput.ts +37 -30
- package/front_end/panels/ai_assistance/components/ChatView.ts +4 -2
- package/front_end/panels/ai_assistance/components/WalkthroughView.ts +10 -7
- package/front_end/panels/ai_assistance/components/chatInput.css +26 -1
- package/front_end/panels/ai_assistance/components/walkthroughView.css +15 -0
- package/front_end/panels/application/StorageView.ts +8 -2
- package/front_end/panels/application/preloading/PreloadingView.ts +105 -7
- package/front_end/panels/application/preloading/preloadingView.css +4 -0
- package/front_end/panels/console/ConsoleView.ts +2 -2
- package/front_end/panels/console/console-meta.ts +18 -14
- package/front_end/panels/elements/ComputedStyleWidget.ts +12 -7
- package/front_end/panels/elements/ElementsPanel.ts +1 -1
- package/front_end/panels/elements/ElementsTreeOutline.ts +4 -6
- package/front_end/panels/elements/ImagePreviewPopover.ts +6 -9
- package/front_end/panels/elements/StylePropertiesSection.ts +30 -0
- package/front_end/panels/elements/StylesSidebarPane.ts +13 -7
- package/front_end/panels/elements/elements-meta.ts +12 -8
- package/front_end/panels/issues/AffectedSelectivePermissionsInterventionView.ts +120 -0
- package/front_end/panels/issues/IssueView.ts +2 -0
- package/front_end/panels/issues/IssuesPane.ts +6 -0
- package/front_end/panels/issues/issues.ts +2 -0
- package/front_end/panels/lighthouse/LighthouseStartView.ts +99 -38
- package/front_end/panels/lighthouse/LighthouseTimespanView.ts +53 -14
- package/front_end/panels/lighthouse/RadioSetting.ts +33 -19
- package/front_end/panels/lighthouse/lighthouse.ts +2 -0
- package/front_end/panels/media/PlayerMessagesView.ts +62 -49
- package/front_end/panels/media/media.ts +2 -0
- package/front_end/panels/media/playerMessagesView.css +1 -1
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +49 -24
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +2 -2
- package/front_end/panels/sources/sources-meta.ts +8 -4
- package/front_end/panels/utils/utils.ts +11 -5
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/lit/lib/async-directive.d.ts +465 -0
- package/front_end/third_party/lit/lib/async-directive.js +23 -0
- package/front_end/third_party/lit/lib/async-directive.js.map +1 -0
- package/front_end/third_party/lit/lib/decorators.d.ts +7 -1
- package/front_end/third_party/lit/lib/decorators.js +2 -2
- package/front_end/third_party/lit/lib/decorators.js.map +1 -1
- package/front_end/third_party/lit/lib/directive.js.map +1 -1
- package/front_end/third_party/lit/lib/directives.d.ts +27 -8
- package/front_end/third_party/lit/lib/directives.js +8 -8
- package/front_end/third_party/lit/lib/directives.js.map +1 -1
- package/front_end/third_party/lit/lib/lit.d.ts +15 -5
- package/front_end/third_party/lit/lib/lit.js +4 -4
- package/front_end/third_party/lit/lib/lit.js.map +1 -1
- package/front_end/third_party/lit/lib/static-html.js +2 -2
- package/front_end/third_party/lit/lib/static-html.js.map +1 -1
- package/front_end/third_party/lit/lit.ts +2 -1
- package/front_end/third_party/lit/rollup.config.mjs +1 -1
- package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +5 -0
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +27 -23
- package/front_end/ui/lit/lit.ts +1 -0
- package/front_end/ui/visual_logging/Debugging.ts +1 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +4 -0
- package/package.json +1 -1
|
@@ -135,11 +135,11 @@ const UIStrings = {
|
|
|
135
135
|
/**
|
|
136
136
|
* @description Title of a setting under the Appearance category in Settings
|
|
137
137
|
*/
|
|
138
|
-
enableCtrlShortcutToSwitchPanels: '
|
|
138
|
+
enableCtrlShortcutToSwitchPanels: 'Use Ctrl + 1-9 to switch panels',
|
|
139
139
|
/**
|
|
140
140
|
* @description (Mac only) Title of a setting under the Appearance category in Settings
|
|
141
141
|
*/
|
|
142
|
-
enableShortcutToSwitchPanels: '
|
|
142
|
+
enableShortcutToSwitchPanels: 'Use ⌘ + 1-9 to switch panels',
|
|
143
143
|
/**
|
|
144
144
|
* @description A drop-down menu option to dock to right
|
|
145
145
|
*/
|
|
@@ -93,13 +93,12 @@ inspectorBackend.registerEnum("Audits.StyleSheetLoadingIssueReason", {LateImport
|
|
|
93
93
|
inspectorBackend.registerEnum("Audits.PropertyRuleIssueReason", {InvalidSyntax: "InvalidSyntax", InvalidInitialValue: "InvalidInitialValue", InvalidInherits: "InvalidInherits", InvalidName: "InvalidName"});
|
|
94
94
|
inspectorBackend.registerEnum("Audits.UserReidentificationIssueType", {BlockedFrameNavigation: "BlockedFrameNavigation", BlockedSubresource: "BlockedSubresource", NoisedCanvasReadback: "NoisedCanvasReadback"});
|
|
95
95
|
inspectorBackend.registerEnum("Audits.PermissionElementIssueType", {InvalidType: "InvalidType", FencedFrameDisallowed: "FencedFrameDisallowed", CspFrameAncestorsMissing: "CspFrameAncestorsMissing", PermissionsPolicyBlocked: "PermissionsPolicyBlocked", PaddingRightUnsupported: "PaddingRightUnsupported", PaddingBottomUnsupported: "PaddingBottomUnsupported", InsetBoxShadowUnsupported: "InsetBoxShadowUnsupported", RequestInProgress: "RequestInProgress", UntrustedEvent: "UntrustedEvent", RegistrationFailed: "RegistrationFailed", TypeNotSupported: "TypeNotSupported", InvalidTypeActivation: "InvalidTypeActivation", SecurityChecksFailed: "SecurityChecksFailed", ActivationDisabled: "ActivationDisabled", GeolocationDeprecated: "GeolocationDeprecated", InvalidDisplayStyle: "InvalidDisplayStyle", NonOpaqueColor: "NonOpaqueColor", LowContrast: "LowContrast", FontSizeTooSmall: "FontSizeTooSmall", FontSizeTooLarge: "FontSizeTooLarge", InvalidSizeValue: "InvalidSizeValue"});
|
|
96
|
-
inspectorBackend.registerEnum("Audits.InspectorIssueCode", {CookieIssue: "CookieIssue", MixedContentIssue: "MixedContentIssue", BlockedByResponseIssue: "BlockedByResponseIssue", HeavyAdIssue: "HeavyAdIssue", ContentSecurityPolicyIssue: "ContentSecurityPolicyIssue", SharedArrayBufferIssue: "SharedArrayBufferIssue",
|
|
96
|
+
inspectorBackend.registerEnum("Audits.InspectorIssueCode", {CookieIssue: "CookieIssue", MixedContentIssue: "MixedContentIssue", BlockedByResponseIssue: "BlockedByResponseIssue", HeavyAdIssue: "HeavyAdIssue", ContentSecurityPolicyIssue: "ContentSecurityPolicyIssue", SharedArrayBufferIssue: "SharedArrayBufferIssue", CorsIssue: "CorsIssue", AttributionReportingIssue: "AttributionReportingIssue", QuirksModeIssue: "QuirksModeIssue", PartitioningBlobURLIssue: "PartitioningBlobURLIssue", NavigatorUserAgentIssue: "NavigatorUserAgentIssue", GenericIssue: "GenericIssue", DeprecationIssue: "DeprecationIssue", ClientHintIssue: "ClientHintIssue", FederatedAuthRequestIssue: "FederatedAuthRequestIssue", BounceTrackingIssue: "BounceTrackingIssue", CookieDeprecationMetadataIssue: "CookieDeprecationMetadataIssue", StylesheetLoadingIssue: "StylesheetLoadingIssue", FederatedAuthUserInfoRequestIssue: "FederatedAuthUserInfoRequestIssue", PropertyRuleIssue: "PropertyRuleIssue", SharedDictionaryIssue: "SharedDictionaryIssue", ElementAccessibilityIssue: "ElementAccessibilityIssue", SRIMessageSignatureIssue: "SRIMessageSignatureIssue", UnencodedDigestIssue: "UnencodedDigestIssue", ConnectionAllowlistIssue: "ConnectionAllowlistIssue", UserReidentificationIssue: "UserReidentificationIssue", PermissionElementIssue: "PermissionElementIssue", PerformanceIssue: "PerformanceIssue", SelectivePermissionsInterventionIssue: "SelectivePermissionsInterventionIssue"});
|
|
97
97
|
inspectorBackend.registerEvent("Audits.issueAdded", ["issue"]);
|
|
98
98
|
inspectorBackend.registerEnum("Audits.GetEncodedResponseRequestEncoding", {Webp: "webp", Jpeg: "jpeg", Png: "png"});
|
|
99
99
|
inspectorBackend.registerCommand("Audits.getEncodedResponse", [{"name": "requestId", "type": "string", "optional": false, "description": "Identifier of the network request to get content for.", "typeRef": "Network.RequestId"}, {"name": "encoding", "type": "string", "optional": false, "description": "The encoding to use.", "typeRef": "Audits.GetEncodedResponseRequestEncoding"}, {"name": "quality", "type": "number", "optional": true, "description": "The quality of the encoding (0-1). (defaults to 1)", "typeRef": null}, {"name": "sizeOnly", "type": "boolean", "optional": true, "description": "Whether to only return the size information (defaults to false).", "typeRef": null}], ["body", "originalSize", "encodedSize"], "Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.");
|
|
100
100
|
inspectorBackend.registerCommand("Audits.disable", [], [], "Disables issues domain, prevents further issues from being reported to the client.");
|
|
101
101
|
inspectorBackend.registerCommand("Audits.enable", [], [], "Enables issues domain, sends the issues collected so far to the client by means of the `issueAdded` event.");
|
|
102
|
-
inspectorBackend.registerCommand("Audits.checkContrast", [{"name": "reportAAA", "type": "boolean", "optional": true, "description": "Whether to report WCAG AAA level issues. Default is false.", "typeRef": null}], [], "Runs the contrast check for the target page. Found issues are reported using Audits.issueAdded event.");
|
|
103
102
|
inspectorBackend.registerCommand("Audits.checkFormsIssues", [], ["formIssues"], "Runs the form issues check for the target page. Found issues are reported using Audits.issueAdded event.");
|
|
104
103
|
inspectorBackend.registerType("Audits.AffectedCookie", [{"name": "name", "type": "string", "optional": false, "description": "The following three properties uniquely identify a cookie", "typeRef": null}, {"name": "path", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "domain", "type": "string", "optional": false, "description": "", "typeRef": null}]);
|
|
105
104
|
inspectorBackend.registerType("Audits.AffectedRequest", [{"name": "requestId", "type": "string", "optional": true, "description": "The unique request id.", "typeRef": "Network.RequestId"}, {"name": "url", "type": "string", "optional": false, "description": "", "typeRef": null}]);
|
|
@@ -113,7 +112,6 @@ inspectorBackend.registerType("Audits.HeavyAdIssueDetails", [{"name": "resolutio
|
|
|
113
112
|
inspectorBackend.registerType("Audits.SourceCodeLocation", [{"name": "scriptId", "type": "string", "optional": true, "description": "", "typeRef": "Runtime.ScriptId"}, {"name": "url", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "lineNumber", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "columnNumber", "type": "number", "optional": false, "description": "", "typeRef": null}]);
|
|
114
113
|
inspectorBackend.registerType("Audits.ContentSecurityPolicyIssueDetails", [{"name": "blockedURL", "type": "string", "optional": true, "description": "The url not included in allowed sources.", "typeRef": null}, {"name": "violatedDirective", "type": "string", "optional": false, "description": "Specific directive that is violated, causing the CSP issue.", "typeRef": null}, {"name": "isReportOnly", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "contentSecurityPolicyViolationType", "type": "string", "optional": false, "description": "", "typeRef": "Audits.ContentSecurityPolicyViolationType"}, {"name": "frameAncestor", "type": "object", "optional": true, "description": "", "typeRef": "Audits.AffectedFrame"}, {"name": "sourceCodeLocation", "type": "object", "optional": true, "description": "", "typeRef": "Audits.SourceCodeLocation"}, {"name": "violatingNodeId", "type": "number", "optional": true, "description": "", "typeRef": "DOM.BackendNodeId"}]);
|
|
115
114
|
inspectorBackend.registerType("Audits.SharedArrayBufferIssueDetails", [{"name": "sourceCodeLocation", "type": "object", "optional": false, "description": "", "typeRef": "Audits.SourceCodeLocation"}, {"name": "isWarning", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "type", "type": "string", "optional": false, "description": "", "typeRef": "Audits.SharedArrayBufferIssueType"}]);
|
|
116
|
-
inspectorBackend.registerType("Audits.LowTextContrastIssueDetails", [{"name": "violatingNodeId", "type": "number", "optional": false, "description": "", "typeRef": "DOM.BackendNodeId"}, {"name": "violatingNodeSelector", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "contrastRatio", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "thresholdAA", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "thresholdAAA", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "fontSize", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "fontWeight", "type": "string", "optional": false, "description": "", "typeRef": null}]);
|
|
117
115
|
inspectorBackend.registerType("Audits.CorsIssueDetails", [{"name": "corsErrorStatus", "type": "object", "optional": false, "description": "", "typeRef": "Network.CorsErrorStatus"}, {"name": "isWarning", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "request", "type": "object", "optional": false, "description": "", "typeRef": "Audits.AffectedRequest"}, {"name": "location", "type": "object", "optional": true, "description": "", "typeRef": "Audits.SourceCodeLocation"}, {"name": "initiatorOrigin", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "resourceIPAddressSpace", "type": "string", "optional": true, "description": "", "typeRef": "Network.IPAddressSpace"}, {"name": "clientSecurityState", "type": "object", "optional": true, "description": "", "typeRef": "Network.ClientSecurityState"}]);
|
|
118
116
|
inspectorBackend.registerType("Audits.AttributionReportingIssueDetails", [{"name": "violationType", "type": "string", "optional": false, "description": "", "typeRef": "Audits.AttributionReportingIssueType"}, {"name": "request", "type": "object", "optional": true, "description": "", "typeRef": "Audits.AffectedRequest"}, {"name": "violatingNodeId", "type": "number", "optional": true, "description": "", "typeRef": "DOM.BackendNodeId"}, {"name": "invalidParameter", "type": "string", "optional": true, "description": "", "typeRef": null}]);
|
|
119
117
|
inspectorBackend.registerType("Audits.QuirksModeIssueDetails", [{"name": "isLimitedQuirksMode", "type": "boolean", "optional": false, "description": "If false, it means the document's mode is \\\"quirks\\\" instead of \\\"limited-quirks\\\".", "typeRef": null}, {"name": "documentNodeId", "type": "number", "optional": false, "description": "", "typeRef": "DOM.BackendNodeId"}, {"name": "url", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "frameId", "type": "string", "optional": false, "description": "", "typeRef": "Page.FrameId"}, {"name": "loaderId", "type": "string", "optional": false, "description": "", "typeRef": "Network.LoaderId"}]);
|
|
@@ -139,7 +137,7 @@ inspectorBackend.registerType("Audits.PermissionElementIssueDetails", [{"name":
|
|
|
139
137
|
inspectorBackend.registerType("Audits.AdScriptIdentifier", [{"name": "scriptId", "type": "string", "optional": false, "description": "The script's v8 identifier.", "typeRef": "Runtime.ScriptId"}, {"name": "debuggerId", "type": "string", "optional": false, "description": "v8's debugging id for the v8::Context.", "typeRef": "Runtime.UniqueDebuggerId"}, {"name": "name", "type": "string", "optional": false, "description": "The script's url (or generated name based on id if inline script).", "typeRef": null}]);
|
|
140
138
|
inspectorBackend.registerType("Audits.AdAncestry", [{"name": "adAncestryChain", "type": "array", "optional": false, "description": "The ad-script in the stack when the offending script was loaded. This is recursive down to the root script that was tagged due to the filterlist rule.", "typeRef": "Audits.AdScriptIdentifier"}, {"name": "rootScriptFilterlistRule", "type": "string", "optional": true, "description": "The filterlist rule that caused the root (last) script in `adAncestry` to be ad-tagged.", "typeRef": null}]);
|
|
141
139
|
inspectorBackend.registerType("Audits.SelectivePermissionsInterventionIssueDetails", [{"name": "apiName", "type": "string", "optional": false, "description": "Which API was intervened on.", "typeRef": null}, {"name": "adAncestry", "type": "object", "optional": false, "description": "Why the ad script using the API is considered an ad.", "typeRef": "Audits.AdAncestry"}, {"name": "stackTrace", "type": "object", "optional": true, "description": "The stack trace at the time of the intervention.", "typeRef": "Runtime.StackTrace"}]);
|
|
142
|
-
inspectorBackend.registerType("Audits.InspectorIssueDetails", [{"name": "cookieIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.CookieIssueDetails"}, {"name": "mixedContentIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.MixedContentIssueDetails"}, {"name": "blockedByResponseIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.BlockedByResponseIssueDetails"}, {"name": "heavyAdIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.HeavyAdIssueDetails"}, {"name": "contentSecurityPolicyIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.ContentSecurityPolicyIssueDetails"}, {"name": "sharedArrayBufferIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.SharedArrayBufferIssueDetails"}, {"name": "
|
|
140
|
+
inspectorBackend.registerType("Audits.InspectorIssueDetails", [{"name": "cookieIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.CookieIssueDetails"}, {"name": "mixedContentIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.MixedContentIssueDetails"}, {"name": "blockedByResponseIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.BlockedByResponseIssueDetails"}, {"name": "heavyAdIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.HeavyAdIssueDetails"}, {"name": "contentSecurityPolicyIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.ContentSecurityPolicyIssueDetails"}, {"name": "sharedArrayBufferIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.SharedArrayBufferIssueDetails"}, {"name": "corsIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.CorsIssueDetails"}, {"name": "attributionReportingIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.AttributionReportingIssueDetails"}, {"name": "quirksModeIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.QuirksModeIssueDetails"}, {"name": "partitioningBlobURLIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.PartitioningBlobURLIssueDetails"}, {"name": "navigatorUserAgentIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.NavigatorUserAgentIssueDetails"}, {"name": "genericIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.GenericIssueDetails"}, {"name": "deprecationIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.DeprecationIssueDetails"}, {"name": "clientHintIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.ClientHintIssueDetails"}, {"name": "federatedAuthRequestIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.FederatedAuthRequestIssueDetails"}, {"name": "bounceTrackingIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.BounceTrackingIssueDetails"}, {"name": "cookieDeprecationMetadataIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.CookieDeprecationMetadataIssueDetails"}, {"name": "stylesheetLoadingIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.StylesheetLoadingIssueDetails"}, {"name": "propertyRuleIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.PropertyRuleIssueDetails"}, {"name": "federatedAuthUserInfoRequestIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.FederatedAuthUserInfoRequestIssueDetails"}, {"name": "sharedDictionaryIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.SharedDictionaryIssueDetails"}, {"name": "elementAccessibilityIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.ElementAccessibilityIssueDetails"}, {"name": "sriMessageSignatureIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.SRIMessageSignatureIssueDetails"}, {"name": "unencodedDigestIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.UnencodedDigestIssueDetails"}, {"name": "connectionAllowlistIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.ConnectionAllowlistIssueDetails"}, {"name": "userReidentificationIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.UserReidentificationIssueDetails"}, {"name": "permissionElementIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.PermissionElementIssueDetails"}, {"name": "performanceIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.PerformanceIssueDetails"}, {"name": "selectivePermissionsInterventionIssueDetails", "type": "object", "optional": true, "description": "", "typeRef": "Audits.SelectivePermissionsInterventionIssueDetails"}]);
|
|
143
141
|
inspectorBackend.registerType("Audits.InspectorIssue", [{"name": "code", "type": "string", "optional": false, "description": "", "typeRef": "Audits.InspectorIssueCode"}, {"name": "details", "type": "object", "optional": false, "description": "", "typeRef": "Audits.InspectorIssueDetails"}, {"name": "issueId", "type": "string", "optional": true, "description": "A unique id for this issue. May be omitted if no other entity (e.g. exception, CDP message, etc.) is referencing this issue.", "typeRef": "Audits.IssueId"}]);
|
|
144
142
|
|
|
145
143
|
// Autofill.
|
|
@@ -1039,7 +1037,7 @@ inspectorBackend.registerEnum("Page.ClientNavigationReason", {AnchorClick: "anch
|
|
|
1039
1037
|
inspectorBackend.registerEnum("Page.ClientNavigationDisposition", {CurrentTab: "currentTab", NewTab: "newTab", NewWindow: "newWindow", Download: "download"});
|
|
1040
1038
|
inspectorBackend.registerEnum("Page.ReferrerPolicy", {NoReferrer: "noReferrer", NoReferrerWhenDowngrade: "noReferrerWhenDowngrade", Origin: "origin", OriginWhenCrossOrigin: "originWhenCrossOrigin", SameOrigin: "sameOrigin", StrictOrigin: "strictOrigin", StrictOriginWhenCrossOrigin: "strictOriginWhenCrossOrigin", UnsafeUrl: "unsafeUrl"});
|
|
1041
1039
|
inspectorBackend.registerEnum("Page.NavigationType", {Navigation: "Navigation", BackForwardCacheRestore: "BackForwardCacheRestore"});
|
|
1042
|
-
inspectorBackend.registerEnum("Page.BackForwardCacheNotRestoredReason", {NotPrimaryMainFrame: "NotPrimaryMainFrame", BackForwardCacheDisabled: "BackForwardCacheDisabled", RelatedActiveContentsExist: "RelatedActiveContentsExist", HTTPStatusNotOK: "HTTPStatusNotOK", SchemeNotHTTPOrHTTPS: "SchemeNotHTTPOrHTTPS", Loading: "Loading", WasGrantedMediaAccess: "WasGrantedMediaAccess", DisableForRenderFrameHostCalled: "DisableForRenderFrameHostCalled", DomainNotAllowed: "DomainNotAllowed", HTTPMethodNotGET: "HTTPMethodNotGET", SubframeIsNavigating: "SubframeIsNavigating", Timeout: "Timeout", CacheLimit: "CacheLimit", JavaScriptExecution: "JavaScriptExecution", RendererProcessKilled: "RendererProcessKilled", RendererProcessCrashed: "RendererProcessCrashed", SchedulerTrackedFeatureUsed: "SchedulerTrackedFeatureUsed", ConflictingBrowsingInstance: "ConflictingBrowsingInstance", CacheFlushed: "CacheFlushed", ServiceWorkerVersionActivation: "ServiceWorkerVersionActivation", SessionRestored: "SessionRestored", ServiceWorkerPostMessage: "ServiceWorkerPostMessage", EnteredBackForwardCacheBeforeServiceWorkerHostAdded: "EnteredBackForwardCacheBeforeServiceWorkerHostAdded", RenderFrameHostReused_SameSite: "RenderFrameHostReused_SameSite", RenderFrameHostReused_CrossSite: "RenderFrameHostReused_CrossSite", ServiceWorkerClaim: "ServiceWorkerClaim", IgnoreEventAndEvict: "IgnoreEventAndEvict", HaveInnerContents: "HaveInnerContents", TimeoutPuttingInCache: "TimeoutPuttingInCache", BackForwardCacheDisabledByLowMemory: "BackForwardCacheDisabledByLowMemory", BackForwardCacheDisabledByCommandLine: "BackForwardCacheDisabledByCommandLine", NetworkRequestDatAPIpeDrainedAsBytesConsumer: "NetworkRequestDatapipeDrainedAsBytesConsumer", NetworkRequestRedirected: "NetworkRequestRedirected", NetworkRequestTimeout: "NetworkRequestTimeout", NetworkExceedsBufferLimit: "NetworkExceedsBufferLimit", NavigationCancelledWhileRestoring: "NavigationCancelledWhileRestoring", NotMostRecentNavigationEntry: "NotMostRecentNavigationEntry", BackForwardCacheDisabledForPrerender: "BackForwardCacheDisabledForPrerender", UserAgentOverrideDiffers: "UserAgentOverrideDiffers", ForegroundCacheLimit: "ForegroundCacheLimit", BrowsingInstanceNotSwapped: "BrowsingInstanceNotSwapped", BackForwardCacheDisabledForDelegate: "BackForwardCacheDisabledForDelegate", UnloadHandlerExistsInMainFrame: "UnloadHandlerExistsInMainFrame", UnloadHandlerExistsInSubFrame: "UnloadHandlerExistsInSubFrame", ServiceWorkerUnregistration: "ServiceWorkerUnregistration", CacheControlNoStore: "CacheControlNoStore", CacheControlNoStoreCookieModified: "CacheControlNoStoreCookieModified", CacheControlNoStoreHTTPOnlyCookieModified: "CacheControlNoStoreHTTPOnlyCookieModified", NoResponseHead: "NoResponseHead", Unknown: "Unknown", ActivationNavigationsDisallowedForBug1234857: "ActivationNavigationsDisallowedForBug1234857", ErrorDocument: "ErrorDocument", FencedFramesEmbedder: "FencedFramesEmbedder", CookieDisabled: "CookieDisabled", HTTPAuthRequired: "HTTPAuthRequired", CookieFlushed: "CookieFlushed", BroadcastChannelOnMessage: "BroadcastChannelOnMessage", WebViewSettingsChanged: "WebViewSettingsChanged", WebViewJavaScriptObjectChanged: "WebViewJavaScriptObjectChanged", WebViewMessageListenerInjected: "WebViewMessageListenerInjected", WebViewSafeBrowsingAllowlistChanged: "WebViewSafeBrowsingAllowlistChanged", WebViewDocumentStartJavascriptChanged: "WebViewDocumentStartJavascriptChanged", WebSocket: "WebSocket", WebTransport: "WebTransport", WebRTC: "WebRTC", MainResourceHasCacheControlNoStore: "MainResourceHasCacheControlNoStore", MainResourceHasCacheControlNoCache: "MainResourceHasCacheControlNoCache", SubresourceHasCacheControlNoStore: "SubresourceHasCacheControlNoStore", SubresourceHasCacheControlNoCache: "SubresourceHasCacheControlNoCache", ContainsPlugins: "ContainsPlugins", DocumentLoaded: "DocumentLoaded", OutstandingNetworkRequestOthers: "OutstandingNetworkRequestOthers", RequestedMIDIPermission: "RequestedMIDIPermission", RequestedAudioCapturePermission: "RequestedAudioCapturePermission", RequestedVideoCapturePermission: "RequestedVideoCapturePermission", RequestedBackForwardCacheBlockedSensors: "RequestedBackForwardCacheBlockedSensors", RequestedBackgroundWorkPermission: "RequestedBackgroundWorkPermission", BroadcastChannel: "BroadcastChannel", WebXR: "WebXR", SharedWorker: "SharedWorker", SharedWorkerMessage: "SharedWorkerMessage", SharedWorkerWithNoActiveClient: "SharedWorkerWithNoActiveClient", WebLocks: "WebLocks", WebLocksContention: "WebLocksContention", WebHID: "WebHID", WebBluetooth: "WebBluetooth", WebShare: "WebShare", RequestedStorageAccessGrant: "RequestedStorageAccessGrant", WebNfc: "WebNfc", OutstandingNetworkRequestFetch: "OutstandingNetworkRequestFetch", OutstandingNetworkRequestXHR: "OutstandingNetworkRequestXHR", AppBanner: "AppBanner", Printing: "Printing", WebDatabase: "WebDatabase", PictureInPicture: "PictureInPicture", SpeechRecognizer: "SpeechRecognizer", IdleManager: "IdleManager", PaymentManager: "PaymentManager", SpeechSynthesis: "SpeechSynthesis", KeyboardLock: "KeyboardLock", WebOTPService: "WebOTPService", OutstandingNetworkRequestDirectSocket: "OutstandingNetworkRequestDirectSocket", InjectedJavascript: "InjectedJavascript", InjectedStyleSheet: "InjectedStyleSheet", KeepaliveRequest: "KeepaliveRequest", IndexedDBEvent: "IndexedDBEvent", Dummy: "Dummy", JsNetworkRequestReceivedCacheControlNoStoreResource: "JsNetworkRequestReceivedCacheControlNoStoreResource", WebRTCUsedWithCCNS: "WebRTCUsedWithCCNS", WebTransportUsedWithCCNS: "WebTransportUsedWithCCNS", WebSocketUsedWithCCNS: "WebSocketUsedWithCCNS", SmartCard: "SmartCard", LiveMediaStreamTrack: "LiveMediaStreamTrack", UnloadHandler: "UnloadHandler", ParserAborted: "ParserAborted", ContentSecurityHandler: "ContentSecurityHandler", ContentWebAuthenticationAPI: "ContentWebAuthenticationAPI", ContentFileChooser: "ContentFileChooser", ContentSerial: "ContentSerial", ContentFileSystemAccess: "ContentFileSystemAccess", ContentMediaDevicesDispatcherHost: "ContentMediaDevicesDispatcherHost", ContentWebBluetooth: "ContentWebBluetooth", ContentWebUSB: "ContentWebUSB", ContentMediaSessionService: "ContentMediaSessionService", ContentScreenReader: "ContentScreenReader", ContentDiscarded: "ContentDiscarded", EmbedderPopupBlockerTabHelper: "EmbedderPopupBlockerTabHelper", EmbedderSafeBrowsingTriggeredPopupBlocker: "EmbedderSafeBrowsingTriggeredPopupBlocker", EmbedderSafeBrowsingThreatDetails: "EmbedderSafeBrowsingThreatDetails", EmbedderAppBannerManager: "EmbedderAppBannerManager", EmbedderDomDistillerViewerSource: "EmbedderDomDistillerViewerSource", EmbedderDomDistillerSelfDeletingRequestDelegate: "EmbedderDomDistillerSelfDeletingRequestDelegate", EmbedderOomInterventionTabHelper: "EmbedderOomInterventionTabHelper", EmbedderOfflinePage: "EmbedderOfflinePage", EmbedderChromePasswordManagerClientBindCredentialManager: "EmbedderChromePasswordManagerClientBindCredentialManager", EmbedderPermissionRequestManager: "EmbedderPermissionRequestManager", EmbedderModalDialog: "EmbedderModalDialog", EmbedderExtensions: "EmbedderExtensions", EmbedderExtensionMessaging: "EmbedderExtensionMessaging", EmbedderExtensionMessagingForOpenPort: "EmbedderExtensionMessagingForOpenPort", EmbedderExtensionSentMessageToCachedFrame: "EmbedderExtensionSentMessageToCachedFrame", RequestedByWebViewClient: "RequestedByWebViewClient", PostMessageByWebViewClient: "PostMessageByWebViewClient", CacheControlNoStoreDeviceBoundSessionTerminated: "CacheControlNoStoreDeviceBoundSessionTerminated", CacheLimitPrunedOnModerateMemoryPressure: "CacheLimitPrunedOnModerateMemoryPressure", CacheLimitPrunedOnCriticalMemoryPressure: "CacheLimitPrunedOnCriticalMemoryPressure"});
|
|
1040
|
+
inspectorBackend.registerEnum("Page.BackForwardCacheNotRestoredReason", {NotPrimaryMainFrame: "NotPrimaryMainFrame", BackForwardCacheDisabled: "BackForwardCacheDisabled", RelatedActiveContentsExist: "RelatedActiveContentsExist", HTTPStatusNotOK: "HTTPStatusNotOK", SchemeNotHTTPOrHTTPS: "SchemeNotHTTPOrHTTPS", Loading: "Loading", WasGrantedMediaAccess: "WasGrantedMediaAccess", DisableForRenderFrameHostCalled: "DisableForRenderFrameHostCalled", DomainNotAllowed: "DomainNotAllowed", HTTPMethodNotGET: "HTTPMethodNotGET", SubframeIsNavigating: "SubframeIsNavigating", Timeout: "Timeout", CacheLimit: "CacheLimit", JavaScriptExecution: "JavaScriptExecution", RendererProcessKilled: "RendererProcessKilled", RendererProcessCrashed: "RendererProcessCrashed", SchedulerTrackedFeatureUsed: "SchedulerTrackedFeatureUsed", ConflictingBrowsingInstance: "ConflictingBrowsingInstance", CacheFlushed: "CacheFlushed", ServiceWorkerVersionActivation: "ServiceWorkerVersionActivation", SessionRestored: "SessionRestored", ServiceWorkerPostMessage: "ServiceWorkerPostMessage", EnteredBackForwardCacheBeforeServiceWorkerHostAdded: "EnteredBackForwardCacheBeforeServiceWorkerHostAdded", RenderFrameHostReused_SameSite: "RenderFrameHostReused_SameSite", RenderFrameHostReused_CrossSite: "RenderFrameHostReused_CrossSite", ServiceWorkerClaim: "ServiceWorkerClaim", IgnoreEventAndEvict: "IgnoreEventAndEvict", HaveInnerContents: "HaveInnerContents", TimeoutPuttingInCache: "TimeoutPuttingInCache", BackForwardCacheDisabledByLowMemory: "BackForwardCacheDisabledByLowMemory", BackForwardCacheDisabledByCommandLine: "BackForwardCacheDisabledByCommandLine", NetworkRequestDatAPIpeDrainedAsBytesConsumer: "NetworkRequestDatapipeDrainedAsBytesConsumer", NetworkRequestRedirected: "NetworkRequestRedirected", NetworkRequestTimeout: "NetworkRequestTimeout", NetworkExceedsBufferLimit: "NetworkExceedsBufferLimit", NavigationCancelledWhileRestoring: "NavigationCancelledWhileRestoring", NotMostRecentNavigationEntry: "NotMostRecentNavigationEntry", BackForwardCacheDisabledForPrerender: "BackForwardCacheDisabledForPrerender", UserAgentOverrideDiffers: "UserAgentOverrideDiffers", ForegroundCacheLimit: "ForegroundCacheLimit", ForwardCacheDisabled: "ForwardCacheDisabled", BrowsingInstanceNotSwapped: "BrowsingInstanceNotSwapped", BackForwardCacheDisabledForDelegate: "BackForwardCacheDisabledForDelegate", UnloadHandlerExistsInMainFrame: "UnloadHandlerExistsInMainFrame", UnloadHandlerExistsInSubFrame: "UnloadHandlerExistsInSubFrame", ServiceWorkerUnregistration: "ServiceWorkerUnregistration", CacheControlNoStore: "CacheControlNoStore", CacheControlNoStoreCookieModified: "CacheControlNoStoreCookieModified", CacheControlNoStoreHTTPOnlyCookieModified: "CacheControlNoStoreHTTPOnlyCookieModified", NoResponseHead: "NoResponseHead", Unknown: "Unknown", ActivationNavigationsDisallowedForBug1234857: "ActivationNavigationsDisallowedForBug1234857", ErrorDocument: "ErrorDocument", FencedFramesEmbedder: "FencedFramesEmbedder", CookieDisabled: "CookieDisabled", HTTPAuthRequired: "HTTPAuthRequired", CookieFlushed: "CookieFlushed", BroadcastChannelOnMessage: "BroadcastChannelOnMessage", WebViewSettingsChanged: "WebViewSettingsChanged", WebViewJavaScriptObjectChanged: "WebViewJavaScriptObjectChanged", WebViewMessageListenerInjected: "WebViewMessageListenerInjected", WebViewSafeBrowsingAllowlistChanged: "WebViewSafeBrowsingAllowlistChanged", WebViewDocumentStartJavascriptChanged: "WebViewDocumentStartJavascriptChanged", WebSocket: "WebSocket", WebTransport: "WebTransport", WebRTC: "WebRTC", MainResourceHasCacheControlNoStore: "MainResourceHasCacheControlNoStore", MainResourceHasCacheControlNoCache: "MainResourceHasCacheControlNoCache", SubresourceHasCacheControlNoStore: "SubresourceHasCacheControlNoStore", SubresourceHasCacheControlNoCache: "SubresourceHasCacheControlNoCache", ContainsPlugins: "ContainsPlugins", DocumentLoaded: "DocumentLoaded", OutstandingNetworkRequestOthers: "OutstandingNetworkRequestOthers", RequestedMIDIPermission: "RequestedMIDIPermission", RequestedAudioCapturePermission: "RequestedAudioCapturePermission", RequestedVideoCapturePermission: "RequestedVideoCapturePermission", RequestedBackForwardCacheBlockedSensors: "RequestedBackForwardCacheBlockedSensors", RequestedBackgroundWorkPermission: "RequestedBackgroundWorkPermission", BroadcastChannel: "BroadcastChannel", WebXR: "WebXR", SharedWorker: "SharedWorker", SharedWorkerMessage: "SharedWorkerMessage", SharedWorkerWithNoActiveClient: "SharedWorkerWithNoActiveClient", WebLocks: "WebLocks", WebLocksContention: "WebLocksContention", WebHID: "WebHID", WebBluetooth: "WebBluetooth", WebShare: "WebShare", RequestedStorageAccessGrant: "RequestedStorageAccessGrant", WebNfc: "WebNfc", OutstandingNetworkRequestFetch: "OutstandingNetworkRequestFetch", OutstandingNetworkRequestXHR: "OutstandingNetworkRequestXHR", AppBanner: "AppBanner", Printing: "Printing", WebDatabase: "WebDatabase", PictureInPicture: "PictureInPicture", SpeechRecognizer: "SpeechRecognizer", IdleManager: "IdleManager", PaymentManager: "PaymentManager", SpeechSynthesis: "SpeechSynthesis", KeyboardLock: "KeyboardLock", WebOTPService: "WebOTPService", OutstandingNetworkRequestDirectSocket: "OutstandingNetworkRequestDirectSocket", InjectedJavascript: "InjectedJavascript", InjectedStyleSheet: "InjectedStyleSheet", KeepaliveRequest: "KeepaliveRequest", IndexedDBEvent: "IndexedDBEvent", Dummy: "Dummy", JsNetworkRequestReceivedCacheControlNoStoreResource: "JsNetworkRequestReceivedCacheControlNoStoreResource", WebRTCUsedWithCCNS: "WebRTCUsedWithCCNS", WebTransportUsedWithCCNS: "WebTransportUsedWithCCNS", WebSocketUsedWithCCNS: "WebSocketUsedWithCCNS", SmartCard: "SmartCard", LiveMediaStreamTrack: "LiveMediaStreamTrack", UnloadHandler: "UnloadHandler", ParserAborted: "ParserAborted", ContentSecurityHandler: "ContentSecurityHandler", ContentWebAuthenticationAPI: "ContentWebAuthenticationAPI", ContentFileChooser: "ContentFileChooser", ContentSerial: "ContentSerial", ContentFileSystemAccess: "ContentFileSystemAccess", ContentMediaDevicesDispatcherHost: "ContentMediaDevicesDispatcherHost", ContentWebBluetooth: "ContentWebBluetooth", ContentWebUSB: "ContentWebUSB", ContentMediaSessionService: "ContentMediaSessionService", ContentScreenReader: "ContentScreenReader", ContentDiscarded: "ContentDiscarded", EmbedderPopupBlockerTabHelper: "EmbedderPopupBlockerTabHelper", EmbedderSafeBrowsingTriggeredPopupBlocker: "EmbedderSafeBrowsingTriggeredPopupBlocker", EmbedderSafeBrowsingThreatDetails: "EmbedderSafeBrowsingThreatDetails", EmbedderAppBannerManager: "EmbedderAppBannerManager", EmbedderDomDistillerViewerSource: "EmbedderDomDistillerViewerSource", EmbedderDomDistillerSelfDeletingRequestDelegate: "EmbedderDomDistillerSelfDeletingRequestDelegate", EmbedderOomInterventionTabHelper: "EmbedderOomInterventionTabHelper", EmbedderOfflinePage: "EmbedderOfflinePage", EmbedderChromePasswordManagerClientBindCredentialManager: "EmbedderChromePasswordManagerClientBindCredentialManager", EmbedderPermissionRequestManager: "EmbedderPermissionRequestManager", EmbedderModalDialog: "EmbedderModalDialog", EmbedderExtensions: "EmbedderExtensions", EmbedderExtensionMessaging: "EmbedderExtensionMessaging", EmbedderExtensionMessagingForOpenPort: "EmbedderExtensionMessagingForOpenPort", EmbedderExtensionSentMessageToCachedFrame: "EmbedderExtensionSentMessageToCachedFrame", RequestedByWebViewClient: "RequestedByWebViewClient", PostMessageByWebViewClient: "PostMessageByWebViewClient", CacheControlNoStoreDeviceBoundSessionTerminated: "CacheControlNoStoreDeviceBoundSessionTerminated", CacheLimitPrunedOnModerateMemoryPressure: "CacheLimitPrunedOnModerateMemoryPressure", CacheLimitPrunedOnCriticalMemoryPressure: "CacheLimitPrunedOnCriticalMemoryPressure"});
|
|
1043
1041
|
inspectorBackend.registerEnum("Page.BackForwardCacheNotRestoredReasonType", {SupportPending: "SupportPending", PageSupportNeeded: "PageSupportNeeded", Circumstantial: "Circumstantial"});
|
|
1044
1042
|
inspectorBackend.registerEvent("Page.domContentEventFired", ["timestamp"]);
|
|
1045
1043
|
inspectorBackend.registerEnum("Page.FileChooserOpenedEventMode", {SelectSingle: "selectSingle", SelectMultiple: "selectMultiple"});
|
|
@@ -623,6 +623,7 @@ export const generatedProperties = [
|
|
|
623
623
|
"page-margin-safety",
|
|
624
624
|
"page-orientation",
|
|
625
625
|
"paint-order",
|
|
626
|
+
"path-length",
|
|
626
627
|
"pathname",
|
|
627
628
|
"pattern",
|
|
628
629
|
"perspective",
|
|
@@ -3574,6 +3575,12 @@ export const generatedProperties = [
|
|
|
3574
3575
|
],
|
|
3575
3576
|
"name": "paint-order"
|
|
3576
3577
|
},
|
|
3578
|
+
{
|
|
3579
|
+
"keywords": [
|
|
3580
|
+
"none"
|
|
3581
|
+
],
|
|
3582
|
+
"name": "path-length"
|
|
3583
|
+
},
|
|
3577
3584
|
{
|
|
3578
3585
|
"name": "pathname"
|
|
3579
3586
|
},
|
|
@@ -6590,6 +6597,11 @@ export const generatedPropertyValues = {
|
|
|
6590
6597
|
"markers"
|
|
6591
6598
|
]
|
|
6592
6599
|
},
|
|
6600
|
+
"path-length": {
|
|
6601
|
+
"values": [
|
|
6602
|
+
"none"
|
|
6603
|
+
]
|
|
6604
|
+
},
|
|
6593
6605
|
"perspective": {
|
|
6594
6606
|
"values": [
|
|
6595
6607
|
"none"
|
|
@@ -1170,14 +1170,6 @@ export namespace ProtocolMapping {
|
|
|
1170
1170
|
paramsType: [];
|
|
1171
1171
|
returnType: void;
|
|
1172
1172
|
};
|
|
1173
|
-
/**
|
|
1174
|
-
* Runs the contrast check for the target page. Found issues are reported
|
|
1175
|
-
* using Audits.issueAdded event.
|
|
1176
|
-
*/
|
|
1177
|
-
'Audits.checkContrast': {
|
|
1178
|
-
paramsType: [Protocol.Audits.CheckContrastRequest?];
|
|
1179
|
-
returnType: void;
|
|
1180
|
-
};
|
|
1181
1173
|
/**
|
|
1182
1174
|
* Runs the form issues check for the target page. Found issues are reported
|
|
1183
1175
|
* using Audits.issueAdded event.
|
|
@@ -393,12 +393,6 @@ declare namespace ProtocolProxyApi {
|
|
|
393
393
|
*/
|
|
394
394
|
invoke_enable(): Promise<Protocol.ProtocolResponseWithError>;
|
|
395
395
|
|
|
396
|
-
/**
|
|
397
|
-
* Runs the contrast check for the target page. Found issues are reported
|
|
398
|
-
* using Audits.issueAdded event.
|
|
399
|
-
*/
|
|
400
|
-
invoke_checkContrast(params: Protocol.Audits.CheckContrastRequest): Promise<Protocol.ProtocolResponseWithError>;
|
|
401
|
-
|
|
402
396
|
/**
|
|
403
397
|
* Runs the form issues check for the target page. Found issues are reported
|
|
404
398
|
* using Audits.issueAdded event.
|
|
@@ -1032,16 +1032,6 @@ export namespace Audits {
|
|
|
1032
1032
|
type: SharedArrayBufferIssueType;
|
|
1033
1033
|
}
|
|
1034
1034
|
|
|
1035
|
-
export interface LowTextContrastIssueDetails {
|
|
1036
|
-
violatingNodeId: DOM.BackendNodeId;
|
|
1037
|
-
violatingNodeSelector: string;
|
|
1038
|
-
contrastRatio: number;
|
|
1039
|
-
thresholdAA: number;
|
|
1040
|
-
thresholdAAA: number;
|
|
1041
|
-
fontSize: string;
|
|
1042
|
-
fontWeight: string;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
1035
|
/**
|
|
1046
1036
|
* Details for a CORS related issue, e.g. a warning or error related to
|
|
1047
1037
|
* CORS RFC1918 enforcement.
|
|
@@ -1612,7 +1602,6 @@ export namespace Audits {
|
|
|
1612
1602
|
HeavyAdIssue = 'HeavyAdIssue',
|
|
1613
1603
|
ContentSecurityPolicyIssue = 'ContentSecurityPolicyIssue',
|
|
1614
1604
|
SharedArrayBufferIssue = 'SharedArrayBufferIssue',
|
|
1615
|
-
LowTextContrastIssue = 'LowTextContrastIssue',
|
|
1616
1605
|
CorsIssue = 'CorsIssue',
|
|
1617
1606
|
AttributionReportingIssue = 'AttributionReportingIssue',
|
|
1618
1607
|
QuirksModeIssue = 'QuirksModeIssue',
|
|
@@ -1650,7 +1639,6 @@ export namespace Audits {
|
|
|
1650
1639
|
heavyAdIssueDetails?: HeavyAdIssueDetails;
|
|
1651
1640
|
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
|
|
1652
1641
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
|
1653
|
-
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
|
1654
1642
|
corsIssueDetails?: CorsIssueDetails;
|
|
1655
1643
|
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|
|
1656
1644
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
|
@@ -1738,13 +1726,6 @@ export namespace Audits {
|
|
|
1738
1726
|
encodedSize: integer;
|
|
1739
1727
|
}
|
|
1740
1728
|
|
|
1741
|
-
export interface CheckContrastRequest {
|
|
1742
|
-
/**
|
|
1743
|
-
* Whether to report WCAG AAA level issues. Default is false.
|
|
1744
|
-
*/
|
|
1745
|
-
reportAAA?: boolean;
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
1729
|
export interface CheckFormsIssuesResponse extends ProtocolResponseWithError {
|
|
1749
1730
|
formIssues: GenericIssueDetails[];
|
|
1750
1731
|
}
|
|
@@ -15276,6 +15257,7 @@ export namespace Page {
|
|
|
15276
15257
|
BackForwardCacheDisabledForPrerender = 'BackForwardCacheDisabledForPrerender',
|
|
15277
15258
|
UserAgentOverrideDiffers = 'UserAgentOverrideDiffers',
|
|
15278
15259
|
ForegroundCacheLimit = 'ForegroundCacheLimit',
|
|
15260
|
+
ForwardCacheDisabled = 'ForwardCacheDisabled',
|
|
15279
15261
|
BrowsingInstanceNotSwapped = 'BrowsingInstanceNotSwapped',
|
|
15280
15262
|
BackForwardCacheDisabledForDelegate = 'BackForwardCacheDisabledForDelegate',
|
|
15281
15263
|
UnloadHandlerExistsInMainFrame = 'UnloadHandlerExistsInMainFrame',
|
|
@@ -52,6 +52,7 @@ export const enum IssueCategory {
|
|
|
52
52
|
ATTRIBUTION_REPORTING = 'AttributionReporting',
|
|
53
53
|
QUIRKS_MODE = 'QuirksMode',
|
|
54
54
|
PERMISSION_ELEMENT = 'PermissionElement',
|
|
55
|
+
SELECTIVE_PERMISSIONS_INTERVENTION = 'SelectivePermissionsIntervention',
|
|
55
56
|
OTHER = 'Other',
|
|
56
57
|
}
|
|
57
58
|
|
|
@@ -22,6 +22,7 @@ import {MixedContentIssue} from './MixedContentIssue.js';
|
|
|
22
22
|
import {PartitioningBlobURLIssue} from './PartitioningBlobURLIssue.js';
|
|
23
23
|
import {PermissionElementIssue} from './PermissionElementIssue.js';
|
|
24
24
|
import {QuirksModeIssue} from './QuirksModeIssue.js';
|
|
25
|
+
import {SelectivePermissionsInterventionIssue} from './SelectivePermissionsInterventionIssue.js';
|
|
25
26
|
import {SharedArrayBufferIssue} from './SharedArrayBufferIssue.js';
|
|
26
27
|
|
|
27
28
|
export interface IssuesProvider extends Common.EventTarget.EventTarget<IssuesManagerEventsTypes> {
|
|
@@ -67,6 +68,7 @@ export class AggregatedIssue extends Issue {
|
|
|
67
68
|
#mixedContentIssues = new Set<MixedContentIssue>();
|
|
68
69
|
#partitioningBlobURLIssues = new Set<PartitioningBlobURLIssue>();
|
|
69
70
|
#permissionElementIssues = new Set<PermissionElementIssue>();
|
|
71
|
+
#selectivePermissionsInterventionIssues = new Set<SelectivePermissionsInterventionIssue>();
|
|
70
72
|
#sharedArrayBufferIssues = new Set<SharedArrayBufferIssue>();
|
|
71
73
|
#quirksModeIssues = new Set<QuirksModeIssue>();
|
|
72
74
|
#attributionReportingIssues = new Set<AttributionReportingIssue>();
|
|
@@ -144,6 +146,10 @@ export class AggregatedIssue extends Issue {
|
|
|
144
146
|
return this.#affectedRequests.values();
|
|
145
147
|
}
|
|
146
148
|
|
|
149
|
+
getSelectivePermissionsInterventionIssues(): Iterable<SelectivePermissionsInterventionIssue> {
|
|
150
|
+
return this.#selectivePermissionsInterventionIssues;
|
|
151
|
+
}
|
|
152
|
+
|
|
147
153
|
getSharedArrayBufferIssues(): Iterable<SharedArrayBufferIssue> {
|
|
148
154
|
return this.#sharedArrayBufferIssues;
|
|
149
155
|
}
|
|
@@ -282,6 +288,9 @@ export class AggregatedIssue extends Issue {
|
|
|
282
288
|
if (issue instanceof PermissionElementIssue) {
|
|
283
289
|
this.#permissionElementIssues.add(issue);
|
|
284
290
|
}
|
|
291
|
+
if (issue instanceof SelectivePermissionsInterventionIssue) {
|
|
292
|
+
this.#selectivePermissionsInterventionIssues.add(issue);
|
|
293
|
+
}
|
|
285
294
|
}
|
|
286
295
|
|
|
287
296
|
getKind(): IssueKind {
|
|
@@ -27,6 +27,7 @@ import {PartitioningBlobURLIssue} from './PartitioningBlobURLIssue.js';
|
|
|
27
27
|
import {PermissionElementIssue} from './PermissionElementIssue.js';
|
|
28
28
|
import {PropertyRuleIssue} from './PropertyRuleIssue.js';
|
|
29
29
|
import {QuirksModeIssue} from './QuirksModeIssue.js';
|
|
30
|
+
import {SelectivePermissionsInterventionIssue} from './SelectivePermissionsInterventionIssue.js';
|
|
30
31
|
import {SharedArrayBufferIssue} from './SharedArrayBufferIssue.js';
|
|
31
32
|
import {SharedDictionaryIssue} from './SharedDictionaryIssue.js';
|
|
32
33
|
import {SourceFrameIssuesManager} from './SourceFrameIssuesManager.js';
|
|
@@ -148,6 +149,10 @@ const issueCodeHandlers = new Map<
|
|
|
148
149
|
Protocol.Audits.InspectorIssueCode.PermissionElementIssue,
|
|
149
150
|
PermissionElementIssue.fromInspectorIssue,
|
|
150
151
|
],
|
|
152
|
+
[
|
|
153
|
+
Protocol.Audits.InspectorIssueCode.SelectivePermissionsInterventionIssue,
|
|
154
|
+
SelectivePermissionsInterventionIssue.fromInspectorIssue,
|
|
155
|
+
],
|
|
151
156
|
]);
|
|
152
157
|
|
|
153
158
|
/**
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// Copyright 2026 The Chromium Authors
|
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
+
// found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
import * as i18n from '../../core/i18n/i18n.js';
|
|
6
|
+
import type * as SDK from '../../core/sdk/sdk.js';
|
|
7
|
+
import * as Protocol from '../../generated/protocol.js';
|
|
8
|
+
|
|
9
|
+
import {Issue, IssueCategory, IssueKind} from './Issue.js';
|
|
10
|
+
import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
|
|
11
|
+
|
|
12
|
+
const UIStrings = {
|
|
13
|
+
/**
|
|
14
|
+
* @description Title for a learn more link in Selective Permissions Intervention issue description
|
|
15
|
+
*/
|
|
16
|
+
selectivePermissionsIntervention: 'Selective Permissions Intervention',
|
|
17
|
+
} as const;
|
|
18
|
+
const str_ = i18n.i18n.registerUIStrings('models/issues_manager/SelectivePermissionsInterventionIssue.ts', UIStrings);
|
|
19
|
+
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
20
|
+
|
|
21
|
+
export class SelectivePermissionsInterventionIssue extends
|
|
22
|
+
Issue<Protocol.Audits.SelectivePermissionsInterventionIssueDetails> {
|
|
23
|
+
constructor(
|
|
24
|
+
issueDetails: Protocol.Audits.SelectivePermissionsInterventionIssueDetails,
|
|
25
|
+
issuesModel: SDK.IssuesModel.IssuesModel|null) {
|
|
26
|
+
super(Protocol.Audits.InspectorIssueCode.SelectivePermissionsInterventionIssue, issueDetails, issuesModel);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
primaryKey(): string {
|
|
30
|
+
return `${Protocol.Audits.InspectorIssueCode.SelectivePermissionsInterventionIssue}-${
|
|
31
|
+
JSON.stringify(this.details())}`;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
getDescription(): MarkdownIssueDescription {
|
|
35
|
+
return {
|
|
36
|
+
file: 'selectivePermissionsIntervention.md',
|
|
37
|
+
links: [
|
|
38
|
+
{
|
|
39
|
+
link: 'https://crbug.com/435223477',
|
|
40
|
+
linkTitle: i18nString(UIStrings.selectivePermissionsIntervention),
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
getCategory(): IssueCategory {
|
|
47
|
+
return IssueCategory.SELECTIVE_PERMISSIONS_INTERVENTION;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
getKind(): IssueKind {
|
|
51
|
+
return IssueKind.PAGE_ERROR;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static fromInspectorIssue(
|
|
55
|
+
issuesModel: SDK.IssuesModel.IssuesModel|null,
|
|
56
|
+
inspectorIssue: Protocol.Audits.InspectorIssue): SelectivePermissionsInterventionIssue[] {
|
|
57
|
+
const selectivePermissionsInterventionIssueDetails =
|
|
58
|
+
inspectorIssue.details.selectivePermissionsInterventionIssueDetails;
|
|
59
|
+
if (!selectivePermissionsInterventionIssueDetails) {
|
|
60
|
+
console.warn('Selective Permissions Intervention issue without details received.');
|
|
61
|
+
return [];
|
|
62
|
+
}
|
|
63
|
+
return [new SelectivePermissionsInterventionIssue(selectivePermissionsInterventionIssueDetails, issuesModel)];
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Selective Permissions Intervention
|
|
2
|
+
|
|
3
|
+
The Selective Permissions Intervention blocks calls to privacy-sensitive APIs when they are called from ad scripts in order to align the permission grant with the user's intent. The particular API that was blocked, the call-stack that triggered the intervention, and why the script that called the API is considered ad-related is shown below.
|
|
4
|
+
|
|
5
|
+
Note that Chrome considers any script with a URL that matches a rule in the [filterlist](ChromeFilterlistRepository) as ad script, and the matching rule is shown in the Ad Ancestry section. In addition, any script loaded while an ad script is in the JavaScript stack will also be considered an ad script by Chrome and is also shown in Ad Ancestry.
|
|
6
|
+
|
|
7
|
+
If you believe this intervention was in error (e.g., this call would occur even when loading the page with an ad blocker enabled), then please [file a bug](SelectivePermissionsInterventionIssue).
|
|
@@ -27,6 +27,7 @@ import * as PermissionElementIssue from './PermissionElementIssue.js';
|
|
|
27
27
|
import * as PropertyRuleIssue from './PropertyRuleIssue.js';
|
|
28
28
|
import * as QuirksModeIssue from './QuirksModeIssue.js';
|
|
29
29
|
import * as RelatedIssue from './RelatedIssue.js';
|
|
30
|
+
import * as SelectivePermissionsInterventionIssue from './SelectivePermissionsInterventionIssue.js';
|
|
30
31
|
import * as SharedArrayBufferIssue from './SharedArrayBufferIssue.js';
|
|
31
32
|
import * as SharedDictionaryIssue from './SharedDictionaryIssue.js';
|
|
32
33
|
import * as SourceFrameIssuesManager from './SourceFrameIssuesManager.js';
|
|
@@ -60,6 +61,7 @@ export {
|
|
|
60
61
|
PropertyRuleIssue,
|
|
61
62
|
QuirksModeIssue,
|
|
62
63
|
RelatedIssue,
|
|
64
|
+
SelectivePermissionsInterventionIssue,
|
|
63
65
|
SharedArrayBufferIssue,
|
|
64
66
|
SharedDictionaryIssue,
|
|
65
67
|
SourceFrameIssuesManager,
|
|
@@ -226,7 +226,7 @@ export const NativeFunctions = [
|
|
|
226
226
|
{
|
|
227
227
|
name: "create",
|
|
228
228
|
signatures: [["?options"]],
|
|
229
|
-
receivers: ["CredentialsContainer"]
|
|
229
|
+
receivers: ["CredentialsContainer","Classifier"]
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
232
|
name: "defineProperty",
|
|
@@ -2485,6 +2485,11 @@ export const NativeFunctions = [
|
|
|
2485
2485
|
signatures: [["qualifiedName"],["name"]],
|
|
2486
2486
|
receivers: ["Element"]
|
|
2487
2487
|
},
|
|
2488
|
+
{
|
|
2489
|
+
name: "getAttribute",
|
|
2490
|
+
signatures: [["name"]],
|
|
2491
|
+
receivers: ["ProcessingInstruction"]
|
|
2492
|
+
},
|
|
2488
2493
|
{
|
|
2489
2494
|
name: "getAttribute",
|
|
2490
2495
|
signatures: [["tag"]],
|
|
@@ -2508,7 +2513,13 @@ export const NativeFunctions = [
|
|
|
2508
2513
|
},
|
|
2509
2514
|
{
|
|
2510
2515
|
name: "hasAttribute",
|
|
2511
|
-
signatures: [["qualifiedName"],["name"]]
|
|
2516
|
+
signatures: [["qualifiedName"],["name"]],
|
|
2517
|
+
receivers: ["Element"]
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
name: "hasAttribute",
|
|
2521
|
+
signatures: [["name"]],
|
|
2522
|
+
receivers: ["ProcessingInstruction"]
|
|
2512
2523
|
},
|
|
2513
2524
|
{
|
|
2514
2525
|
name: "hasAttributeNS",
|
|
@@ -2543,6 +2554,11 @@ export const NativeFunctions = [
|
|
|
2543
2554
|
signatures: [["qualifiedName"],["name"]],
|
|
2544
2555
|
receivers: ["Element"]
|
|
2545
2556
|
},
|
|
2557
|
+
{
|
|
2558
|
+
name: "removeAttribute",
|
|
2559
|
+
signatures: [["name"]],
|
|
2560
|
+
receivers: ["ProcessingInstruction"]
|
|
2561
|
+
},
|
|
2546
2562
|
{
|
|
2547
2563
|
name: "removeAttribute",
|
|
2548
2564
|
signatures: [["attribute"]],
|
|
@@ -2586,6 +2602,11 @@ export const NativeFunctions = [
|
|
|
2586
2602
|
signatures: [["qualifiedName","value"],["name","value"]],
|
|
2587
2603
|
receivers: ["Element"]
|
|
2588
2604
|
},
|
|
2605
|
+
{
|
|
2606
|
+
name: "setAttribute",
|
|
2607
|
+
signatures: [["name","value"]],
|
|
2608
|
+
receivers: ["ProcessingInstruction"]
|
|
2609
|
+
},
|
|
2589
2610
|
{
|
|
2590
2611
|
name: "setAttribute",
|
|
2591
2612
|
signatures: [["tag","value"]],
|
|
@@ -2619,7 +2640,13 @@ export const NativeFunctions = [
|
|
|
2619
2640
|
},
|
|
2620
2641
|
{
|
|
2621
2642
|
name: "toggleAttribute",
|
|
2622
|
-
signatures: [["qualifiedName","?force"]]
|
|
2643
|
+
signatures: [["qualifiedName","?force"]],
|
|
2644
|
+
receivers: ["Element"]
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
name: "toggleAttribute",
|
|
2648
|
+
signatures: [["name","?force"]],
|
|
2649
|
+
receivers: ["ProcessingInstruction"]
|
|
2623
2650
|
},
|
|
2624
2651
|
{
|
|
2625
2652
|
name: "webkitMatchesSelector",
|
|
@@ -3149,7 +3176,7 @@ export const NativeFunctions = [
|
|
|
3149
3176
|
},
|
|
3150
3177
|
{
|
|
3151
3178
|
name: "initKeyboardEvent",
|
|
3152
|
-
signatures: [["typeArg","?bubblesArg","?cancelableArg","?viewArg","?keyArg","?locationArg","?ctrlKey","?altKey","?shiftKey","?metaKey"]]
|
|
3179
|
+
signatures: [["typeArg","?bubblesArg","?cancelableArg","?viewArg","?keyArg","?locationArg","?ctrlKey","?altKey","?shiftKey","?metaKey"],["type","?bubbles","?cancelable","?view","?keyIdentifier","?location","?ctrlKey","?altKey","?shiftKey","?metaKey"]]
|
|
3153
3180
|
},
|
|
3154
3181
|
{
|
|
3155
3182
|
name: "setKeyframes",
|
|
@@ -4183,7 +4210,7 @@ export const NativeFunctions = [
|
|
|
4183
4210
|
},
|
|
4184
4211
|
{
|
|
4185
4212
|
name: "initUIEvent",
|
|
4186
|
-
signatures: [["typeArg","?bubblesArg","?cancelableArg","?viewArg","?detailArg"]
|
|
4213
|
+
signatures: [["typeArg","?bubblesArg","?cancelableArg","?viewArg","?detailArg"]]
|
|
4187
4214
|
},
|
|
4188
4215
|
{
|
|
4189
4216
|
name: "getTranslatedShaderSource",
|
|
@@ -6817,6 +6844,10 @@ export const NativeFunctions = [
|
|
|
6817
6844
|
name: "ErrorEvent",
|
|
6818
6845
|
signatures: [["type","?eventInitDict"]]
|
|
6819
6846
|
},
|
|
6847
|
+
{
|
|
6848
|
+
name: "FocusEvent",
|
|
6849
|
+
signatures: [["type","?eventInitDict"]]
|
|
6850
|
+
},
|
|
6820
6851
|
{
|
|
6821
6852
|
name: "HashChangeEvent",
|
|
6822
6853
|
signatures: [["type","?eventInitDict"]]
|
|
@@ -6829,6 +6860,10 @@ export const NativeFunctions = [
|
|
|
6829
6860
|
name: "InterestEvent",
|
|
6830
6861
|
signatures: [["type","?eventInitDict"]]
|
|
6831
6862
|
},
|
|
6863
|
+
{
|
|
6864
|
+
name: "KeyboardEvent",
|
|
6865
|
+
signatures: [["type","?eventInitDict"]]
|
|
6866
|
+
},
|
|
6832
6867
|
{
|
|
6833
6868
|
name: "MessageEvent",
|
|
6834
6869
|
signatures: [["type","?eventInitDict"]]
|
|
@@ -6866,7 +6901,7 @@ export const NativeFunctions = [
|
|
|
6866
6901
|
signatures: [["type","?eventInitDict"]]
|
|
6867
6902
|
},
|
|
6868
6903
|
{
|
|
6869
|
-
name: "
|
|
6904
|
+
name: "TouchEvent",
|
|
6870
6905
|
signatures: [["type","?eventInitDict"]]
|
|
6871
6906
|
},
|
|
6872
6907
|
{
|
|
@@ -7325,10 +7360,6 @@ export const NativeFunctions = [
|
|
|
7325
7360
|
name: "TaskPriorityChangeEvent",
|
|
7326
7361
|
signatures: [["type","eventInitDict"]]
|
|
7327
7362
|
},
|
|
7328
|
-
{
|
|
7329
|
-
name: "provideContext",
|
|
7330
|
-
signatures: [["?options"]]
|
|
7331
|
-
},
|
|
7332
7363
|
{
|
|
7333
7364
|
name: "registerTool",
|
|
7334
7365
|
signatures: [["tool"]]
|
|
@@ -7489,6 +7520,10 @@ export const NativeFunctions = [
|
|
|
7489
7520
|
name: "queryFeatureSupport",
|
|
7490
7521
|
signatures: [["feature"]]
|
|
7491
7522
|
},
|
|
7523
|
+
{
|
|
7524
|
+
name: "classify",
|
|
7525
|
+
signatures: [["input","?options"]]
|
|
7526
|
+
},
|
|
7492
7527
|
{
|
|
7493
7528
|
name: "LanguageModelToolCall",
|
|
7494
7529
|
signatures: [["init"]]
|
|
@@ -9254,6 +9289,10 @@ export const NativeFunctions = [
|
|
|
9254
9289
|
name: "MIDIMessageEvent",
|
|
9255
9290
|
signatures: [["type","?eventInitDict"]]
|
|
9256
9291
|
},
|
|
9292
|
+
{
|
|
9293
|
+
name: "startDiagnosticLogging",
|
|
9294
|
+
signatures: [["?options"]]
|
|
9295
|
+
},
|
|
9257
9296
|
{
|
|
9258
9297
|
name: "CloseEvent",
|
|
9259
9298
|
signatures: [["type","?eventInitDict"]]
|
|
@@ -9,7 +9,7 @@ const UIStrings = {
|
|
|
9
9
|
/**
|
|
10
10
|
* @description Title of a setting under the Persistence category in Settings
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
localOverrides: 'Local overrides',
|
|
13
13
|
/**
|
|
14
14
|
* @description A tag of Enable Local Overrides setting that can be searched in the command menu
|
|
15
15
|
*/
|
|
@@ -32,11 +32,11 @@ const UIStrings = {
|
|
|
32
32
|
*/
|
|
33
33
|
request: 'request',
|
|
34
34
|
/**
|
|
35
|
-
* @description Title of
|
|
35
|
+
* @description Title of an option under the Persistence category that can be invoked through the Command Menu
|
|
36
36
|
*/
|
|
37
37
|
enableOverrideNetworkRequests: 'Enable override network requests',
|
|
38
38
|
/**
|
|
39
|
-
* @description Title of
|
|
39
|
+
* @description Title of an option under the Persistence category that can be invoked through the Command Menu
|
|
40
40
|
*/
|
|
41
41
|
disableOverrideNetworkRequests: 'Disable override network requests',
|
|
42
42
|
} as const;
|
|
@@ -45,7 +45,7 @@ const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined
|
|
|
45
45
|
|
|
46
46
|
Common.Settings.registerSettingExtension({
|
|
47
47
|
category: Common.Settings.SettingCategory.PERSISTENCE,
|
|
48
|
-
title: i18nLazyString(UIStrings.
|
|
48
|
+
title: i18nLazyString(UIStrings.localOverrides),
|
|
49
49
|
settingName: 'persistence-network-overrides-enabled',
|
|
50
50
|
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
51
51
|
defaultValue: false,
|