chrome-devtools-frontend 1.0.1681091 → 1.0.1682249
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/eslint.config.mjs +8 -3
- package/front_end/core/sdk/ConsoleModel.ts +1 -1
- package/front_end/core/sdk/DOMModel.ts +8 -0
- package/front_end/core/sdk/NetworkManager.ts +9 -4
- package/front_end/core/sdk/OverlayModel.ts +3 -2
- package/front_end/core/sdk/PreloadingModel.ts +44 -22
- package/front_end/core/sdk/RemoteObject.ts +4 -1
- package/front_end/core/sdk/RuntimeModel.ts +5 -5
- package/front_end/core/sdk/SDKSettings.ts +19 -0
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +3 -1
- package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +1 -5
- package/front_end/entrypoints/main/MainImpl.ts +9 -10
- package/front_end/entrypoints/main/main-meta.ts +82 -0
- package/front_end/entrypoints/shell/shell.ts +0 -5
- package/front_end/entrypoints/trace_app/trace_app.ts +0 -5
- package/front_end/generated/InspectorBackendCommands.ts +2 -0
- package/front_end/generated/protocol-mapping.d.ts +16 -0
- package/front_end/generated/protocol-proxy-api.d.ts +12 -0
- package/front_end/generated/protocol.ts +12 -0
- package/front_end/models/ai_assistance/ExtensionScope.ts +11 -12
- package/front_end/models/ai_assistance/agents/AiAgent.ts +1 -1
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +2 -1
- package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +1 -1
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +2 -1
- package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +2 -1
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +8 -8
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +8 -8
- package/front_end/models/ai_code_completion/debug.ts +6 -3
- package/front_end/models/ai_code_generation/debug.ts +6 -3
- package/front_end/models/badges/UserBadges.ts +9 -2
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +1 -0
- package/front_end/models/emulation/DeviceModeModel.ts +16 -27
- package/front_end/models/emulation/EmulatedDevices.ts +30 -125
- package/front_end/models/extensions/ExtensionAPI.ts +34 -23
- package/front_end/models/formatter/ScriptFormatter.ts +1 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +5 -1
- package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +4 -4
- package/front_end/models/logs/NetworkLog.ts +11 -4
- package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +4 -2
- package/front_end/models/persistence/NetworkPersistenceManager.ts +7 -1
- package/front_end/models/stack_trace/StackTraceImpl.ts +1 -0
- package/front_end/models/trace/Name.ts +5 -5
- package/front_end/models/trace/Styles.ts +115 -115
- package/front_end/models/trace/extras/TraceTree.ts +2 -1
- package/front_end/models/trace/helpers/Network.ts +4 -1
- package/front_end/models/trace/insights/CLSCulprits.ts +4 -2
- package/front_end/models/trace/insights/CharacterSet.ts +3 -3
- package/front_end/models/trace/insights/DOMSize.ts +1 -1
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +6 -2
- package/front_end/models/trace/insights/FontDisplay.ts +9 -3
- package/front_end/models/trace/insights/ForcedReflow.ts +4 -4
- package/front_end/models/trace/insights/INPBreakdown.ts +3 -4
- package/front_end/models/trace/insights/ImageDelivery.ts +2 -2
- package/front_end/models/trace/insights/LCPBreakdown.ts +1 -1
- package/front_end/models/trace/insights/LCPDiscovery.ts +5 -5
- package/front_end/models/trace/insights/LegacyJavaScript.ts +7 -3
- package/front_end/models/trace/insights/ModernHTTP.ts +3 -3
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +13 -9
- package/front_end/models/trace/insights/RenderBlocking.ts +1 -1
- package/front_end/models/trace/insights/SlowCSSSelector.ts +29 -25
- package/front_end/models/trace/insights/ThirdParties.ts +13 -5
- package/front_end/models/trace/insights/Viewport.ts +4 -2
- package/front_end/models/workspace/IgnoreListManager.ts +53 -17
- package/front_end/panels/accessibility/ARIAAttributesView.ts +11 -2
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +67 -53
- package/front_end/panels/ai_assistance/components/ChatView.ts +2 -2
- package/front_end/panels/ai_assistance/components/StylingAgentMarkdownRenderer.ts +2 -2
- package/front_end/panels/ai_assistance/components/WalkthroughView.ts +5 -5
- package/front_end/panels/animation/AnimationTimeline.ts +2 -0
- package/front_end/panels/application/ServiceWorkersView.ts +1 -1
- package/front_end/panels/application/StorageView.ts +2 -0
- package/front_end/panels/application/preloading/PreloadingView.ts +9 -3
- package/front_end/panels/application/preloading/components/components.ts +2 -0
- package/front_end/panels/browser_debugger/ObjectEventListenersSidebarPane.ts +10 -11
- package/front_end/panels/changes/CombinedDiffView.ts +1 -1
- package/front_end/panels/common/BadgeNotification.ts +1 -1
- package/front_end/panels/common/ExtensionPanel.ts +12 -7
- package/front_end/panels/common/ExtensionServer.ts +85 -26
- package/front_end/panels/common/GdpSignUpDialog.ts +1 -1
- package/front_end/panels/console/ConsoleView.ts +2 -1
- package/front_end/panels/console/ConsoleViewMessage.ts +3 -2
- package/front_end/panels/console/console-meta.ts +9 -0
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -4
- package/front_end/panels/elements/CSSRuleValidator.ts +12 -12
- package/front_end/panels/elements/CSSSpecificityBreakdown.ts +1 -1
- package/front_end/panels/elements/ClassesPaneWidget.ts +6 -6
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +1 -1
- package/front_end/panels/elements/ComputedStyleWidget.ts +4 -5
- package/front_end/panels/elements/DOMTreeContextMenu.ts +3 -6
- package/front_end/panels/elements/ElementIssueUtils.ts +20 -20
- package/front_end/panels/elements/ElementStatePaneWidget.ts +9 -6
- package/front_end/panels/elements/ElementsPanel.ts +10 -10
- package/front_end/panels/elements/ElementsTreeElement.ts +35 -29
- package/front_end/panels/elements/ElementsTreeOutline.ts +5 -20
- package/front_end/panels/elements/EventListenersWidget.ts +18 -19
- package/front_end/panels/elements/LayersWidget.ts +4 -4
- package/front_end/panels/elements/LayoutPane.ts +11 -11
- package/front_end/panels/elements/MarkerDecorator.ts +3 -3
- package/front_end/panels/elements/PlatformFontsWidget.ts +8 -8
- package/front_end/panels/elements/PropertiesWidget.ts +4 -4
- package/front_end/panels/elements/PropertyRenderer.ts +2 -2
- package/front_end/panels/elements/ShortcutTreeElement.ts +1 -1
- package/front_end/panels/elements/StylePropertiesSection.ts +14 -14
- package/front_end/panels/elements/StylePropertyTreeElement.ts +21 -21
- package/front_end/panels/elements/StylesSidebarPane.ts +12 -13
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +1 -1
- package/front_end/panels/elements/components/CSSHintDetailsView.ts +1 -1
- package/front_end/panels/elements/components/CSSVariableValueView.ts +3 -3
- package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +2 -2
- package/front_end/panels/elements/components/ElementsTreeExpandButton.ts +1 -1
- package/front_end/panels/elements/elements-meta.ts +13 -13
- package/front_end/panels/issues/AffectedCookiesView.ts +2 -0
- package/front_end/panels/issues/AffectedElementsView.ts +5 -0
- package/front_end/panels/issues/IssueView.ts +12 -8
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +11 -7
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +2 -0
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryViewer.ts +1 -1
- package/front_end/panels/media/PlayerPropertiesView.ts +309 -416
- package/front_end/panels/media/playerPropertiesView.css +1 -1
- package/front_end/panels/network/NetworkLogView.ts +5 -2
- package/front_end/panels/network/NetworkOverview.ts +11 -5
- package/front_end/panels/network/NetworkPanel.ts +4 -2
- package/front_end/panels/network/NetworkWaterfallColumn.ts +16 -3
- package/front_end/panels/network/RequestHeadersView.ts +4 -4
- package/front_end/panels/network/components/ResponseHeaderSection.ts +7 -4
- package/front_end/panels/network/network-meta.ts +63 -0
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +2 -1
- package/front_end/panels/recorder/RecordingView.ts +89 -73
- package/front_end/panels/recorder/ReplaySection.ts +59 -40
- package/front_end/panels/recorder/injected/injected.ts +4 -0
- package/front_end/panels/security/SecurityPanel.ts +5 -6
- package/front_end/panels/security/SecurityPanelSidebar.ts +244 -204
- package/front_end/panels/security/security.ts +0 -4
- package/front_end/panels/settings/EditFileSystemView.ts +8 -7
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +20 -14
- package/front_end/panels/settings/components/SyncSection.ts +1 -1
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +0 -3
- package/front_end/panels/snippets/ScriptSnippetFileSystem.ts +10 -11
- package/front_end/panels/sources/NavigatorView.ts +6 -2
- package/front_end/panels/sources/SourcesNavigator.ts +8 -4
- package/front_end/panels/sources/SourcesPanel.ts +4 -2
- package/front_end/panels/sources/SourcesSearchScope.ts +3 -1
- package/front_end/panels/sources/UISourceCodeFrame.ts +2 -2
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +3 -3
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +5 -5
- package/front_end/panels/timeline/components/CWVMetrics.ts +1 -2
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +5 -5
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +2 -3
- package/front_end/panels/timeline/components/LiveMetricsView.ts +2 -2
- package/front_end/panels/timeline/components/Sidebar.ts +3 -3
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +1 -2
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +3 -1
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +1 -2
- package/front_end/panels/timeline/components/insights/Cache.ts +1 -2
- package/front_end/panels/timeline/components/insights/CharacterSet.ts +1 -2
- package/front_end/panels/timeline/components/insights/DOMSize.ts +1 -2
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +2 -2
- package/front_end/panels/timeline/components/insights/DuplicatedJavaScript.ts +2 -2
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +1 -2
- package/front_end/panels/timeline/components/insights/ForcedReflow.ts +1 -2
- package/front_end/panels/timeline/components/insights/INPBreakdown.ts +1 -2
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +1 -2
- package/front_end/panels/timeline/components/insights/LCPBreakdown.ts +13 -13
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +1 -2
- package/front_end/panels/timeline/components/insights/LegacyJavaScript.ts +4 -4
- package/front_end/panels/timeline/components/insights/ModernHTTP.ts +1 -2
- package/front_end/panels/timeline/components/insights/NetworkDependencyTree.ts +10 -8
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +2 -2
- package/front_end/panels/timeline/components/insights/SidebarInsight.ts +3 -1
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +2 -2
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +1 -2
- package/front_end/panels/timeline/components/insights/Viewport.ts +1 -2
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +1 -2
- package/front_end/panels/timeline/timeline.ts +0 -2
- package/front_end/panels/web_audio/WebAudioView.ts +14 -6
- package/front_end/panels/webauthn/WebauthnPane.ts +9 -9
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/web-vitals/rebuild.sh +1 -1
- package/front_end/ui/components/diff_view/DiffView.ts +2 -1
- package/front_end/ui/components/report_view/ReportView.docs.ts +2 -2
- package/front_end/ui/components/text_editor/javascript.ts +12 -13
- package/front_end/ui/legacy/GlassPane.ts +38 -14
- package/front_end/ui/legacy/Treeoutline.ts +14 -3
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +11 -11
- package/front_end/ui/legacy/components/color_picker/FormatPickerContextMenu.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +19 -20
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +3 -3
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +185 -355
- package/front_end/ui/legacy/components/object_ui/RemoteObjectPreviewFormatter.ts +3 -8
- package/front_end/ui/legacy/components/utils/ImagePreview.ts +15 -16
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +4 -4
- package/front_end/ui/legacy/components/utils/Linkifier.ts +8 -10
- package/front_end/ui/settings/InspectorMainSettings.ts +12 -0
- package/front_end/ui/settings/settings.ts +2 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +32 -0
- package/mcp/mcp.ts +0 -9
- package/package.json +1 -1
- package/front_end/core/sdk/sdk-meta.ts +0 -40
- package/front_end/models/badges/badges-meta.ts +0 -27
- package/front_end/models/logs/logs-meta.ts +0 -84
- package/front_end/models/persistence/persistence-meta.ts +0 -69
- package/front_end/models/workspace/workspace-meta.ts +0 -40
- package/front_end/panels/security/OriginTreeElement.ts +0 -60
- package/front_end/panels/security/SecurityPanelSidebarTreeElement.ts +0 -30
|
@@ -11,21 +11,16 @@ import {Directives, html, type LitTemplate, nothing, render} from '../../../lit/
|
|
|
11
11
|
const {ifDefined, repeat} = Directives;
|
|
12
12
|
const UIStrings = {
|
|
13
13
|
/**
|
|
14
|
-
* @description
|
|
15
|
-
* JavaScript object and there are multiple empty properties on the object (x =
|
|
16
|
-
* 'times'/'multiply').
|
|
14
|
+
* @description Placeholder text shown in an object preview when there are multiple consecutive empty slots in an array.
|
|
17
15
|
* @example {3} PH1
|
|
18
16
|
*/
|
|
19
17
|
emptyD: 'empty × {PH1}',
|
|
20
18
|
/**
|
|
21
|
-
* @description
|
|
22
|
-
* an empty property on the object..
|
|
19
|
+
* @description Placeholder text shown in an object preview when there is a single empty slot in an array.
|
|
23
20
|
*/
|
|
24
21
|
empty: 'empty',
|
|
25
22
|
/**
|
|
26
|
-
* @description
|
|
27
|
-
* is not immediately available because it is a JavaScript 'getter' function, which means we have
|
|
28
|
-
* to run some code first in order to compute this property.
|
|
23
|
+
* @description Tooltip text for an accessor property in an object preview when its value needs to be evaluated via a getter.
|
|
29
24
|
*/
|
|
30
25
|
thePropertyIsComputedWithAGetter: 'The property is computed with a getter',
|
|
31
26
|
} as const;
|
|
@@ -13,39 +13,38 @@ import imagePreviewStyles from './imagePreview.css.js';
|
|
|
13
13
|
|
|
14
14
|
const UIStrings = {
|
|
15
15
|
/**
|
|
16
|
-
* @description
|
|
16
|
+
* @description Fallback text used in image preview alt text when the image source is unknown.
|
|
17
17
|
*/
|
|
18
|
-
unknownSource: '
|
|
18
|
+
unknownSource: 'Unknown source',
|
|
19
19
|
/**
|
|
20
|
-
* @description
|
|
20
|
+
* @description Alt text for an image preview displaying its source.
|
|
21
21
|
* @example {example.com} PH1
|
|
22
22
|
*/
|
|
23
23
|
imageFromS: 'Image from {PH1}',
|
|
24
24
|
/**
|
|
25
|
-
* @description
|
|
25
|
+
* @description Label for the file size row in an image preview.
|
|
26
26
|
*/
|
|
27
|
-
fileSize: 'File size
|
|
27
|
+
fileSize: 'File size',
|
|
28
28
|
/**
|
|
29
|
-
* @description
|
|
29
|
+
* @description Label for the intrinsic dimensions row in an image preview.
|
|
30
30
|
*/
|
|
31
|
-
intrinsicSize: 'Intrinsic size
|
|
31
|
+
intrinsicSize: 'Intrinsic size',
|
|
32
32
|
/**
|
|
33
|
-
* @description
|
|
33
|
+
* @description Label for the rendered dimensions row in an image preview.
|
|
34
34
|
*/
|
|
35
|
-
renderedSize: 'Rendered size
|
|
35
|
+
renderedSize: 'Rendered size',
|
|
36
36
|
/**
|
|
37
|
-
* @description
|
|
38
|
-
* https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-currentsrc.
|
|
37
|
+
* @description Label for the source URL row in an image preview.
|
|
39
38
|
*/
|
|
40
|
-
currentSource: 'Current source
|
|
39
|
+
currentSource: 'Current source',
|
|
41
40
|
/**
|
|
42
|
-
* @description
|
|
41
|
+
* @description Label for the rendered aspect ratio row in an image preview.
|
|
43
42
|
*/
|
|
44
|
-
renderedAspectRatio: 'Rendered aspect ratio
|
|
43
|
+
renderedAspectRatio: 'Rendered aspect ratio',
|
|
45
44
|
/**
|
|
46
|
-
* @description
|
|
45
|
+
* @description Label for the intrinsic aspect ratio row in an image preview.
|
|
47
46
|
*/
|
|
48
|
-
intrinsicAspectRatio: 'Intrinsic aspect ratio
|
|
47
|
+
intrinsicAspectRatio: 'Intrinsic aspect ratio',
|
|
49
48
|
} as const;
|
|
50
49
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/utils/ImagePreview.ts', UIStrings);
|
|
51
50
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -49,19 +49,19 @@ const {classMap} = Directives;
|
|
|
49
49
|
|
|
50
50
|
const UIStrings = {
|
|
51
51
|
/**
|
|
52
|
-
* @description
|
|
52
|
+
* @description Context menu item on a stack trace link to remove the script from the ignore list.
|
|
53
53
|
*/
|
|
54
54
|
removeFromIgnore: 'Remove from ignore list',
|
|
55
55
|
/**
|
|
56
|
-
* @description
|
|
56
|
+
* @description Context menu item on a stack trace link to add the script to the ignore list.
|
|
57
57
|
*/
|
|
58
58
|
addToIgnore: 'Add script to ignore list',
|
|
59
59
|
/**
|
|
60
|
-
* @description
|
|
60
|
+
* @description Link text in a stack trace preview to show ignore-listed frames.
|
|
61
61
|
*/
|
|
62
62
|
showMoreFrames: 'Show ignore-listed frames',
|
|
63
63
|
/**
|
|
64
|
-
* @description
|
|
64
|
+
* @description Link text in a stack trace preview to hide ignore-listed frames.
|
|
65
65
|
*/
|
|
66
66
|
showLess: 'Show less',
|
|
67
67
|
} as const;
|
|
@@ -25,33 +25,31 @@ const {ref, ifDefined, classMap} = Directives;
|
|
|
25
25
|
|
|
26
26
|
const UIStrings = {
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description Fallback text displayed for a link when the URL or text is unknown.
|
|
29
29
|
*/
|
|
30
30
|
unknown: '(unknown)',
|
|
31
31
|
/**
|
|
32
|
-
* @description
|
|
32
|
+
* @description Option in the link handling dropdown to automatically select the handler.
|
|
33
33
|
*/
|
|
34
|
-
auto: '
|
|
34
|
+
auto: 'Auto',
|
|
35
35
|
/**
|
|
36
|
-
* @description
|
|
36
|
+
* @description Context menu item to reveal an item in a specific destination panel or tool.
|
|
37
37
|
* @example {Sources panel} PH1
|
|
38
38
|
*/
|
|
39
39
|
revealInS: 'Reveal in {PH1}',
|
|
40
40
|
/**
|
|
41
|
-
* @description
|
|
41
|
+
* @description Context menu item to reveal an item in its destination.
|
|
42
42
|
*/
|
|
43
43
|
reveal: 'Reveal',
|
|
44
44
|
/**
|
|
45
|
-
* @description
|
|
45
|
+
* @description Context menu item to open a link or resource using a registered extension.
|
|
46
46
|
* @example {Extension} PH1
|
|
47
47
|
*/
|
|
48
48
|
openUsingS: 'Open using {PH1}',
|
|
49
49
|
/**
|
|
50
|
-
* @description
|
|
51
|
-
* refers to the ability of extensions to DevTools to be able to intercept link clicks so that they
|
|
52
|
-
* can react to them.
|
|
50
|
+
* @description Label for the setting that controls how links are handled in the UI.
|
|
53
51
|
*/
|
|
54
|
-
linkHandling: 'Link handling
|
|
52
|
+
linkHandling: 'Link handling',
|
|
55
53
|
} as const;
|
|
56
54
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/utils/Linkifier.ts', UIStrings);
|
|
57
55
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -0,0 +1,12 @@
|
|
|
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 Common from '../../core/common/common.js';
|
|
6
|
+
|
|
7
|
+
export const adBlockingEnabledSettingDescriptor: Common.Settings.SettingDescriptor<boolean> = {
|
|
8
|
+
name: 'network.ad-blocking-enabled',
|
|
9
|
+
type: Common.Settings.SettingType.BOOLEAN,
|
|
10
|
+
defaultValue: false,
|
|
11
|
+
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
12
|
+
};
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
+
import * as InspectorMainSettings from './InspectorMainSettings.js';
|
|
5
6
|
import * as SettingUIRegistration from './SettingUIRegistration.js';
|
|
6
7
|
|
|
7
8
|
export {
|
|
9
|
+
InspectorMainSettings,
|
|
8
10
|
SettingUIRegistration,
|
|
9
11
|
};
|
|
@@ -350,11 +350,16 @@ export const knownContextValues = new Set([
|
|
|
350
350
|
'adorner-settings',
|
|
351
351
|
'ads',
|
|
352
352
|
'af',
|
|
353
|
+
'affected-cookie',
|
|
353
354
|
'affected-cookies',
|
|
354
355
|
'affected-documents',
|
|
356
|
+
'affected-element',
|
|
355
357
|
'affected-elements',
|
|
358
|
+
'affected-raw-cookie',
|
|
356
359
|
'affected-raw-cookies',
|
|
360
|
+
'affected-request',
|
|
357
361
|
'affected-requests',
|
|
362
|
+
'affected-resources',
|
|
358
363
|
'affected-sources',
|
|
359
364
|
'ai-annotations-enabled',
|
|
360
365
|
'ai-assistance-enabled',
|
|
@@ -469,6 +474,7 @@ export const knownContextValues = new Set([
|
|
|
469
474
|
'animation-fill-mode',
|
|
470
475
|
'animation-iteration-count',
|
|
471
476
|
'animation-name',
|
|
477
|
+
'animation-node-row',
|
|
472
478
|
'animation-play-state',
|
|
473
479
|
'animation-range',
|
|
474
480
|
'animation-range-end',
|
|
@@ -509,6 +515,7 @@ export const knownContextValues = new Set([
|
|
|
509
515
|
'apply-to-page-tree',
|
|
510
516
|
'ar',
|
|
511
517
|
'architecture',
|
|
518
|
+
'aria-attribute',
|
|
512
519
|
'aria-attributes',
|
|
513
520
|
'aria-live-recording',
|
|
514
521
|
'arial',
|
|
@@ -528,9 +535,12 @@ export const knownContextValues = new Set([
|
|
|
528
535
|
'audio-context',
|
|
529
536
|
'audio-context-closed',
|
|
530
537
|
'audio-context-created',
|
|
538
|
+
'audio-context-details',
|
|
531
539
|
'audio-context-resumed',
|
|
540
|
+
'audio-context-summary',
|
|
532
541
|
'audio-context-suspended',
|
|
533
542
|
'authenticator',
|
|
543
|
+
'authenticator-field',
|
|
534
544
|
'authored',
|
|
535
545
|
'authored-deployed-grouping',
|
|
536
546
|
'authored-deployed-grouping-documentation',
|
|
@@ -849,10 +859,12 @@ export const knownContextValues = new Set([
|
|
|
849
859
|
'color-format',
|
|
850
860
|
'color-interpolation',
|
|
851
861
|
'color-interpolation-filters',
|
|
862
|
+
'color-item',
|
|
852
863
|
'color-rendering',
|
|
853
864
|
'color-scheme',
|
|
854
865
|
'color/* color: red */',
|
|
855
866
|
'colorPicker',
|
|
867
|
+
'colors',
|
|
856
868
|
'colorz',
|
|
857
869
|
'column-count',
|
|
858
870
|
'column-fill',
|
|
@@ -994,6 +1006,7 @@ export const knownContextValues = new Set([
|
|
|
994
1006
|
'continue-to-here',
|
|
995
1007
|
'continuous',
|
|
996
1008
|
'contrast',
|
|
1009
|
+
'contrast-issue',
|
|
997
1010
|
'contrast-issues',
|
|
998
1011
|
'contrast-issues-documentation',
|
|
999
1012
|
'contrast-ratio',
|
|
@@ -1157,6 +1170,7 @@ export const knownContextValues = new Set([
|
|
|
1157
1170
|
'create-recording',
|
|
1158
1171
|
'create-recording-view',
|
|
1159
1172
|
'creator-ad-script-ancestry',
|
|
1173
|
+
'credential',
|
|
1160
1174
|
'credential-id',
|
|
1161
1175
|
'credentialId',
|
|
1162
1176
|
'critical',
|
|
@@ -1179,6 +1193,7 @@ export const knownContextValues = new Set([
|
|
|
1179
1193
|
'css-overview.colors',
|
|
1180
1194
|
'css-overview.contrast',
|
|
1181
1195
|
'css-overview.font-info',
|
|
1196
|
+
'css-overview.group-item',
|
|
1182
1197
|
'css-overview.media-queries',
|
|
1183
1198
|
'css-overview.quick-start',
|
|
1184
1199
|
'css-overview.summary',
|
|
@@ -1396,6 +1411,7 @@ export const knownContextValues = new Set([
|
|
|
1396
1411
|
'devtools',
|
|
1397
1412
|
'devtools-override',
|
|
1398
1413
|
'dialog-close',
|
|
1414
|
+
'diff-view',
|
|
1399
1415
|
'direct-socket-chunks',
|
|
1400
1416
|
'direct-socket-messages',
|
|
1401
1417
|
'direction',
|
|
@@ -1777,6 +1793,7 @@ export const knownContextValues = new Set([
|
|
|
1777
1793
|
'font-editor-documentation',
|
|
1778
1794
|
'font-family',
|
|
1779
1795
|
'font-feature-settings',
|
|
1796
|
+
'font-info',
|
|
1780
1797
|
'font-kerning',
|
|
1781
1798
|
'font-language-override',
|
|
1782
1799
|
'font-optical-sizing',
|
|
@@ -2181,6 +2198,7 @@ export const knownContextValues = new Set([
|
|
|
2181
2198
|
'isolates',
|
|
2182
2199
|
'isolation',
|
|
2183
2200
|
'issue',
|
|
2201
|
+
'issue-description',
|
|
2184
2202
|
'issuer',
|
|
2185
2203
|
'issues',
|
|
2186
2204
|
'issues-pane',
|
|
@@ -2344,6 +2362,8 @@ export const knownContextValues = new Set([
|
|
|
2344
2362
|
'latency',
|
|
2345
2363
|
'latitude',
|
|
2346
2364
|
'layer',
|
|
2365
|
+
'layer-details',
|
|
2366
|
+
'layer-item',
|
|
2347
2367
|
'layers',
|
|
2348
2368
|
'layers-3d-view',
|
|
2349
2369
|
'layers-details',
|
|
@@ -2627,6 +2647,7 @@ export const knownContextValues = new Set([
|
|
|
2627
2647
|
'linear-memory-inspector.toggle-value-settings',
|
|
2628
2648
|
'linear-memory-inspector.value-type-mode',
|
|
2629
2649
|
'linear-memory-inspector.viewer',
|
|
2650
|
+
'linear-memory-row',
|
|
2630
2651
|
'link',
|
|
2631
2652
|
'link-in-explanation',
|
|
2632
2653
|
'linux',
|
|
@@ -2748,7 +2769,9 @@ export const knownContextValues = new Set([
|
|
|
2748
2769
|
'max-width',
|
|
2749
2770
|
'measure-performance',
|
|
2750
2771
|
'media',
|
|
2772
|
+
'media-attributes',
|
|
2751
2773
|
'media-flame-chart-group-expansion',
|
|
2774
|
+
'media-queries',
|
|
2752
2775
|
'media-queries-enable',
|
|
2753
2776
|
'media-query',
|
|
2754
2777
|
'medias',
|
|
@@ -3118,6 +3141,8 @@ export const knownContextValues = new Set([
|
|
|
3118
3141
|
'payment-handler',
|
|
3119
3142
|
'perf-panel-annotations',
|
|
3120
3143
|
'perfmon-active-indicators2',
|
|
3144
|
+
'perfmon-canvas',
|
|
3145
|
+
'perfmon-chart',
|
|
3121
3146
|
'performance-default',
|
|
3122
3147
|
'performance-full-default',
|
|
3123
3148
|
'performance-insights',
|
|
@@ -3259,6 +3284,7 @@ export const knownContextValues = new Set([
|
|
|
3259
3284
|
'prop2',
|
|
3260
3285
|
'properties',
|
|
3261
3286
|
'property',
|
|
3287
|
+
'property-row',
|
|
3262
3288
|
'protanopia',
|
|
3263
3289
|
'protocol',
|
|
3264
3290
|
'protocol-handlers',
|
|
@@ -3680,6 +3706,7 @@ export const knownContextValues = new Set([
|
|
|
3680
3706
|
'serious',
|
|
3681
3707
|
'server',
|
|
3682
3708
|
'server-timing-api',
|
|
3709
|
+
'service-worker',
|
|
3683
3710
|
'service-worker-update-on-reload',
|
|
3684
3711
|
'service-workers',
|
|
3685
3712
|
'session',
|
|
@@ -3996,6 +4023,7 @@ export const knownContextValues = new Set([
|
|
|
3996
4023
|
'storage-items-view.delete-selected',
|
|
3997
4024
|
'storage-items-view.refresh',
|
|
3998
4025
|
'storage-key',
|
|
4026
|
+
'storage-usage',
|
|
3999
4027
|
'storage.clear-site-data',
|
|
4000
4028
|
'store-as-global-variable',
|
|
4001
4029
|
'stroke',
|
|
@@ -4023,6 +4051,8 @@ export const knownContextValues = new Set([
|
|
|
4023
4051
|
'subtree-modified',
|
|
4024
4052
|
'suffix',
|
|
4025
4053
|
'suggestion',
|
|
4054
|
+
'summary',
|
|
4055
|
+
'summary-item',
|
|
4026
4056
|
'supports',
|
|
4027
4057
|
'surface-duo',
|
|
4028
4058
|
'surface-pro-10',
|
|
@@ -4467,6 +4497,7 @@ export const knownContextValues = new Set([
|
|
|
4467
4497
|
'unload',
|
|
4468
4498
|
'unregister',
|
|
4469
4499
|
'unset',
|
|
4500
|
+
'unused-declarations',
|
|
4470
4501
|
'unused-size',
|
|
4471
4502
|
'update',
|
|
4472
4503
|
'update-settings',
|
|
@@ -4479,6 +4510,7 @@ export const knownContextValues = new Set([
|
|
|
4479
4510
|
'url-pattern',
|
|
4480
4511
|
'url-pattern-warning',
|
|
4481
4512
|
'usage',
|
|
4513
|
+
'usage-breakdown',
|
|
4482
4514
|
'usb',
|
|
4483
4515
|
'use-code-with-caution',
|
|
4484
4516
|
'use-custom-accepted-encodings',
|
package/mcp/mcp.ts
CHANGED
|
@@ -2,15 +2,6 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
-
// Instantiating a DevTools universe requires settings from these meta files.
|
|
6
|
-
// Until settings registration is handled differently, the easiest solution is to
|
|
7
|
-
// just import relevant meta files (as long as they don't contain any UI related code)
|
|
8
|
-
import '../front_end/core/sdk/sdk-meta.js';
|
|
9
|
-
import '../front_end/models/workspace/workspace-meta.js';
|
|
10
|
-
import '../front_end/models/persistence/persistence-meta.js';
|
|
11
|
-
import '../front_end/models/logs/logs-meta.js';
|
|
12
|
-
import '../front_end/models/badges/badges-meta.js';
|
|
13
|
-
|
|
14
5
|
/**
|
|
15
6
|
* IMPORTANT! Make sure that any class that is exported here has related unit
|
|
16
7
|
* tests added to foundation_unittests. See front_end/core/i18n/BUILD.gn as an
|
package/package.json
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Copyright 2020 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 Common from '../common/common.js';
|
|
6
|
-
import * as i18n from '../i18n/i18n.js';
|
|
7
|
-
|
|
8
|
-
const UIStrings = {
|
|
9
|
-
/**
|
|
10
|
-
* @description Title of a setting under the Console category in Settings.
|
|
11
|
-
*/
|
|
12
|
-
logXmlhttprequests: 'Log XMLHttpRequests',
|
|
13
|
-
/**
|
|
14
|
-
* @description Title of a setting under the Appearance category in Settings. When the webpage is
|
|
15
|
-
* paused by devtools, an overlay is shown on top of the page to indicate that it is paused. The
|
|
16
|
-
* overlay is a pause/unpause button and some text, which appears on top of the paused page. This
|
|
17
|
-
* setting turns off this overlay.
|
|
18
|
-
*/
|
|
19
|
-
disablePaused: 'Disable paused state overlay',
|
|
20
|
-
} as const;
|
|
21
|
-
const str_ = i18n.i18n.registerUIStrings('core/sdk/sdk-meta.ts', UIStrings);
|
|
22
|
-
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
23
|
-
|
|
24
|
-
Common.Settings.registerSettingExtension({
|
|
25
|
-
category: Common.Settings.SettingCategory.CONSOLE,
|
|
26
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
27
|
-
title: i18nLazyString(UIStrings.logXmlhttprequests),
|
|
28
|
-
settingName: 'monitoring-xhr-enabled',
|
|
29
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
30
|
-
defaultValue: false,
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
Common.Settings.registerSettingExtension({
|
|
34
|
-
category: Common.Settings.SettingCategory.APPEARANCE,
|
|
35
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
36
|
-
title: i18nLazyString(UIStrings.disablePaused),
|
|
37
|
-
settingName: 'disable-paused-state-overlay',
|
|
38
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
39
|
-
defaultValue: false,
|
|
40
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
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 Common from '../../core/common/common.js';
|
|
6
|
-
import * as i18n from '../../core/i18n/i18n.js';
|
|
7
|
-
|
|
8
|
-
const UIStrings = {
|
|
9
|
-
/**
|
|
10
|
-
* @description Label for a checkbox in the settings UI. Allows developers to opt-in/opt-out
|
|
11
|
-
* of receiving Google Developer Program (GDP) badges based on their activity in Chrome DevTools.
|
|
12
|
-
*/
|
|
13
|
-
earnBadges: 'Earn badges',
|
|
14
|
-
} as const;
|
|
15
|
-
|
|
16
|
-
const str_ = i18n.i18n.registerUIStrings('models/badges/badges-meta.ts', UIStrings);
|
|
17
|
-
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
18
|
-
|
|
19
|
-
Common.Settings.registerSettingExtension({
|
|
20
|
-
category: Common.Settings.SettingCategory.ACCOUNT,
|
|
21
|
-
settingName: 'receive-gdp-badges',
|
|
22
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
23
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
24
|
-
title: i18nLazyString(UIStrings.earnBadges),
|
|
25
|
-
defaultValue: false,
|
|
26
|
-
reloadRequired: true,
|
|
27
|
-
});
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// Copyright 2020 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 Common from '../../core/common/common.js';
|
|
6
|
-
import * as i18n from '../../core/i18n/i18n.js';
|
|
7
|
-
|
|
8
|
-
const UIStrings = {
|
|
9
|
-
/**
|
|
10
|
-
* @description Text to keep the log after refreshing.
|
|
11
|
-
*/
|
|
12
|
-
keepLog: 'Keep log',
|
|
13
|
-
/**
|
|
14
|
-
* @description A term that can be used to search in the command menu, and will find the search
|
|
15
|
-
* result 'Keep log on page reload / navigation'. This is an additional search term to help
|
|
16
|
-
* the user find the setting even when they don't know the exact name of it.
|
|
17
|
-
*/
|
|
18
|
-
keep: 'keep',
|
|
19
|
-
/**
|
|
20
|
-
* @description A term that can be used to search in the command menu, and will find the search
|
|
21
|
-
* result 'Keep log on page reload / navigation'. This is an additional search term to help
|
|
22
|
-
* the user find the setting even when they don't know the exact name of it.
|
|
23
|
-
*/
|
|
24
|
-
preserve: 'preserve',
|
|
25
|
-
/**
|
|
26
|
-
* @description A term that can be used to search in the command menu, and will find the search
|
|
27
|
-
* result 'Keep log on page reload / navigation'. This is an additional search term to help
|
|
28
|
-
* the user find the setting even when they don't know the exact name of it.
|
|
29
|
-
*/
|
|
30
|
-
clear: 'clear',
|
|
31
|
-
/**
|
|
32
|
-
* @description A term that can be used to search in the command menu, and will find the search
|
|
33
|
-
* result 'Keep log on page reload / navigation'. This is an additional search term to help
|
|
34
|
-
* the user find the setting even when they don't know the exact name of it.
|
|
35
|
-
*/
|
|
36
|
-
reset: 'reset',
|
|
37
|
-
/**
|
|
38
|
-
* @description Title of a setting under the Network category that can be invoked through the Command Menu.
|
|
39
|
-
*/
|
|
40
|
-
keepLogOnPageReload: 'Keep log on page reload / navigation',
|
|
41
|
-
/**
|
|
42
|
-
* @description Title of a setting under the Network category that can be invoked through the Command Menu.
|
|
43
|
-
*/
|
|
44
|
-
doNotKeepLogOnPageReload: 'Don’t keep log on page reload / navigation',
|
|
45
|
-
/**
|
|
46
|
-
* @description Title of an action in the network tool to toggle recording.
|
|
47
|
-
*/
|
|
48
|
-
recordNetworkLog: 'Record network log',
|
|
49
|
-
} as const;
|
|
50
|
-
const str_ = i18n.i18n.registerUIStrings('models/logs/logs-meta.ts', UIStrings);
|
|
51
|
-
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
52
|
-
|
|
53
|
-
Common.Settings.registerSettingExtension({
|
|
54
|
-
category: Common.Settings.SettingCategory.NETWORK,
|
|
55
|
-
title: i18nLazyString(UIStrings.keepLog),
|
|
56
|
-
settingName: 'network-log.preserve-log',
|
|
57
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
58
|
-
defaultValue: false,
|
|
59
|
-
tags: [
|
|
60
|
-
i18nLazyString(UIStrings.keep),
|
|
61
|
-
i18nLazyString(UIStrings.preserve),
|
|
62
|
-
i18nLazyString(UIStrings.clear),
|
|
63
|
-
i18nLazyString(UIStrings.reset),
|
|
64
|
-
],
|
|
65
|
-
options: [
|
|
66
|
-
{
|
|
67
|
-
value: true,
|
|
68
|
-
title: i18nLazyString(UIStrings.keepLogOnPageReload),
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
value: false,
|
|
72
|
-
title: i18nLazyString(UIStrings.doNotKeepLogOnPageReload),
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
Common.Settings.registerSettingExtension({
|
|
78
|
-
category: Common.Settings.SettingCategory.NETWORK,
|
|
79
|
-
title: i18nLazyString(UIStrings.recordNetworkLog),
|
|
80
|
-
settingName: 'network-log.record-log',
|
|
81
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
82
|
-
defaultValue: true,
|
|
83
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
84
|
-
});
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// Copyright 2020 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 Common from '../../core/common/common.js';
|
|
6
|
-
import * as i18n from '../../core/i18n/i18n.js';
|
|
7
|
-
|
|
8
|
-
const UIStrings = {
|
|
9
|
-
/**
|
|
10
|
-
* @description Title of a setting under the Persistence category in Settings.
|
|
11
|
-
*/
|
|
12
|
-
localOverrides: 'Local overrides',
|
|
13
|
-
/**
|
|
14
|
-
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
15
|
-
*/
|
|
16
|
-
interception: 'interception',
|
|
17
|
-
/**
|
|
18
|
-
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
19
|
-
*/
|
|
20
|
-
override: 'override',
|
|
21
|
-
/**
|
|
22
|
-
* @description A tag of group network by frame setting that can be searched in the command menu.
|
|
23
|
-
*/
|
|
24
|
-
network: 'network',
|
|
25
|
-
/**
|
|
26
|
-
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
27
|
-
*/
|
|
28
|
-
rewrite: 'rewrite',
|
|
29
|
-
/**
|
|
30
|
-
* @description A tag of enable local overrides setting that can be searched in the command menu.
|
|
31
|
-
* Noun for network request.
|
|
32
|
-
*/
|
|
33
|
-
request: 'request',
|
|
34
|
-
/**
|
|
35
|
-
* @description Title of an option under the Persistence category that can be invoked through the command menu.
|
|
36
|
-
*/
|
|
37
|
-
enableOverrideNetworkRequests: 'Enable override network requests',
|
|
38
|
-
/**
|
|
39
|
-
* @description Title of an option under the Persistence category that can be invoked through the command menu.
|
|
40
|
-
*/
|
|
41
|
-
disableOverrideNetworkRequests: 'Disable override network requests',
|
|
42
|
-
} as const;
|
|
43
|
-
const str_ = i18n.i18n.registerUIStrings('models/persistence/persistence-meta.ts', UIStrings);
|
|
44
|
-
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
45
|
-
|
|
46
|
-
Common.Settings.registerSettingExtension({
|
|
47
|
-
category: Common.Settings.SettingCategory.PERSISTENCE,
|
|
48
|
-
title: i18nLazyString(UIStrings.localOverrides),
|
|
49
|
-
settingName: 'persistence-network-overrides-enabled',
|
|
50
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
51
|
-
defaultValue: false,
|
|
52
|
-
tags: [
|
|
53
|
-
i18nLazyString(UIStrings.interception),
|
|
54
|
-
i18nLazyString(UIStrings.override),
|
|
55
|
-
i18nLazyString(UIStrings.network),
|
|
56
|
-
i18nLazyString(UIStrings.rewrite),
|
|
57
|
-
i18nLazyString(UIStrings.request),
|
|
58
|
-
],
|
|
59
|
-
options: [
|
|
60
|
-
{
|
|
61
|
-
value: true,
|
|
62
|
-
title: i18nLazyString(UIStrings.enableOverrideNetworkRequests),
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
value: false,
|
|
66
|
-
title: i18nLazyString(UIStrings.disableOverrideNetworkRequests),
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
});
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 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 Common from '../../core/common/common.js';
|
|
6
|
-
|
|
7
|
-
Common.Settings.registerSettingExtension({
|
|
8
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
9
|
-
settingName: 'skip-stack-frames-pattern',
|
|
10
|
-
settingType: Common.Settings.SettingType.REGEX,
|
|
11
|
-
defaultValue: '/node_modules/|^node:',
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
Common.Settings.registerSettingExtension({
|
|
15
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
16
|
-
settingName: 'skip-content-scripts',
|
|
17
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
18
|
-
defaultValue: true,
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
Common.Settings.registerSettingExtension({
|
|
22
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
23
|
-
settingName: 'automatically-ignore-list-known-third-party-scripts',
|
|
24
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
25
|
-
defaultValue: true,
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
Common.Settings.registerSettingExtension({
|
|
29
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
30
|
-
settingName: 'skip-anonymous-scripts',
|
|
31
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
32
|
-
defaultValue: false,
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
Common.Settings.registerSettingExtension({
|
|
36
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
37
|
-
settingName: 'enable-ignore-listing',
|
|
38
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
39
|
-
defaultValue: true,
|
|
40
|
-
});
|