chrome-devtools-frontend 1.0.1695017 → 1.0.1696961
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 +4 -1
- package/front_end/core/common/Base64.ts +14 -4
- package/front_end/core/common/Gzip.ts +1 -1
- package/front_end/core/common/Object.ts +0 -1
- package/front_end/core/platform/Size.ts +43 -0
- package/front_end/core/platform/api/HostRuntime.ts +14 -0
- package/front_end/core/platform/browser/HostRuntime.ts +66 -0
- package/front_end/core/platform/node/HostRuntime.ts +12 -3
- package/front_end/core/platform/platform.ts +1 -0
- package/front_end/core/sdk/AccessibilityModel.ts +2 -2
- package/front_end/core/sdk/CSSMatchedStyles.ts +2 -0
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +29 -0
- package/front_end/core/sdk/CSSStyleSheetHeader.ts +2 -2
- package/front_end/core/sdk/ConsoleModel.ts +3 -3
- package/front_end/core/sdk/DOMModel.ts +10 -6
- package/front_end/core/sdk/DebuggerModel.ts +6 -0
- package/front_end/core/sdk/NetworkRequest.ts +19 -19
- package/front_end/core/sdk/RuntimeModel.ts +5 -0
- package/front_end/core/sdk/Script.ts +2 -2
- package/front_end/core/sdk/ServerTiming.ts +6 -6
- package/front_end/core/sdk/SourceMap.ts +112 -14
- package/front_end/core/sdk/SourceMapRangeMappings.ts +43 -0
- package/front_end/core/sdk/SourceMapScopeChainEntry.ts +15 -10
- package/front_end/core/sdk/SourceMapScopesInfo.ts +92 -10
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +6 -6
- package/front_end/entrypoints/main/MainImpl.ts +1 -1
- package/front_end/generated/InspectorBackendCommands.ts +6 -3
- package/front_end/generated/protocol-mapping.d.ts +7 -0
- package/front_end/generated/protocol-proxy-api.d.ts +5 -0
- package/front_end/generated/protocol.ts +36 -3
- package/front_end/models/ai_assistance/AiAgent2.ts +27 -27
- package/front_end/models/ai_assistance/agents/AiAgent.ts +4 -0
- package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/contexts/AccessibilityContext.ts +1 -0
- package/front_end/models/ai_assistance/contexts/DOMNodeContext.ts +5 -4
- package/front_end/models/ai_assistance/contexts/FileContext.ts +1 -0
- package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +1 -0
- package/front_end/models/ai_assistance/contexts/RequestContext.ts +1 -0
- package/front_end/models/ai_assistance/contexts/StorageContext.ts +1 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +5 -5
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +6 -6
- package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +5 -8
- package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +4 -8
- package/front_end/models/ai_assistance/tools/GetSourceContent.ts +7 -5
- package/front_end/models/ai_assistance/tools/GetStyles.ts +10 -6
- package/front_end/models/ai_assistance/tools/ListSources.ts +26 -7
- package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +5 -10
- package/front_end/models/ai_assistance/tools/Tool.ts +8 -1
- package/front_end/models/bindings/FileUtils.ts +18 -40
- package/front_end/models/bindings/TempFile.ts +5 -12
- package/front_end/models/comment_manager/CommentManager.ts +30 -6
- package/front_end/models/crux-manager/CrUXManager.ts +8 -5
- package/front_end/models/emulation/DeviceModeModel.ts +55 -105
- package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +1 -1
- package/front_end/models/issues_manager/CookieIssue.ts +1 -1
- package/front_end/models/issues_manager/DeprecationIssue.ts +2 -2
- package/front_end/models/javascript_metadata/NativeFunctions.ts +1 -5
- package/front_end/models/live-metrics/LiveMetrics.ts +1 -1
- package/front_end/models/persistence/IsolatedFileSystem.ts +16 -23
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -1
- package/front_end/models/trace/insights/INPBreakdown.ts +1 -1
- package/front_end/models/trace/insights/ImageDelivery.ts +3 -3
- package/front_end/models/trace/insights/LCPDiscovery.ts +2 -2
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +3 -3
- package/front_end/models/trace/insights/Viewport.ts +1 -1
- package/front_end/models/trace/types/Overlays.ts +2 -2
- package/front_end/panels/accessibility/AccessibilityNodeView.ts +2 -2
- package/front_end/panels/accessibility/AccessibilitySubPane.ts +0 -1
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +74 -18
- package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +14 -3
- package/front_end/panels/ai_assistance/components/ChatInput.ts +1 -1
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +1 -1
- package/front_end/panels/animation/AnimationUI.ts +1 -1
- package/front_end/panels/application/AppManifestView.ts +9 -11
- package/front_end/panels/application/ApplicationPanelSidebar.ts +9 -9
- package/front_end/panels/application/BackgroundServiceView.ts +1 -1
- package/front_end/panels/application/CookieItemsView.ts +1 -1
- package/front_end/panels/application/DOMStorageItemsView.ts +1 -1
- package/front_end/panels/application/DeviceBoundSessionsView.ts +2 -2
- package/front_end/panels/application/FrameDetailsView.ts +5 -5
- package/front_end/panels/application/IndexedDBViews.ts +2 -2
- package/front_end/panels/application/KeyValueStorageItemsView.ts +1 -2
- package/front_end/panels/application/ReportingApiView.ts +1 -1
- package/front_end/panels/application/ServiceWorkerCacheTreeElement.ts +1 -1
- package/front_end/panels/application/ServiceWorkersView.ts +1 -1
- package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
- package/front_end/panels/application/WebMCPView.ts +1 -1
- package/front_end/panels/application/components/AdsView.ts +136 -7
- package/front_end/panels/application/components/BackForwardCacheStrings.ts +116 -117
- package/front_end/panels/application/components/BackForwardCacheView.ts +7 -7
- package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +2 -2
- package/front_end/panels/application/components/PermissionsPolicySection.ts +2 -2
- package/front_end/panels/application/components/ProtocolHandlersView.ts +1 -1
- package/front_end/panels/application/components/ReportsGrid.ts +1 -1
- package/front_end/panels/application/components/StorageMetadataView.ts +1 -1
- package/front_end/panels/application/components/TrustTokensView.ts +3 -3
- package/front_end/panels/application/components/adScriptsTable.css +22 -0
- package/front_end/panels/application/preloading/PreloadingView.ts +20 -22
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +9 -9
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +31 -33
- package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +23 -23
- package/front_end/panels/application/preloading/components/PreloadingGrid.ts +4 -4
- package/front_end/panels/application/preloading/components/PreloadingString.ts +161 -161
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -6
- package/front_end/panels/application/preloading/components/RuleSetGrid.ts +8 -8
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +32 -32
- package/front_end/panels/application/resourcesPanel.css +17 -17
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/changes/ChangesView.ts +1 -1
- package/front_end/panels/common/AiCodeCompletionSummaryToolbar.ts +1 -1
- package/front_end/panels/common/CPUThrottlingOption.ts +0 -1
- package/front_end/panels/common/GdpSignUpDialog.ts +3 -4
- package/front_end/panels/common/GeminiRebrandPromoDialog.ts +1 -1
- package/front_end/panels/console/ConsoleInsightTeaser.ts +1 -1
- package/front_end/panels/console/ConsolePinPane.ts +0 -1
- package/front_end/panels/console/ConsoleView.ts +2 -3
- package/front_end/panels/console/ConsoleViewMessage.ts +2 -3
- package/front_end/panels/coverage/CoverageListView.ts +6 -6
- package/front_end/panels/coverage/CoverageView.ts +7 -7
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +1 -1
- package/front_end/panels/elements/CSSRuleValidator.ts +10 -10
- package/front_end/panels/elements/ElementsPanel.ts +3 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +1 -1
- package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
- package/front_end/panels/elements/LayoutPane.ts +1 -1
- package/front_end/panels/elements/StylePropertyTreeElement.ts +85 -2
- package/front_end/panels/elements/StylesSidebarPane.ts +3 -3
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +2 -1
- package/front_end/panels/emulation/DeviceModeView.ts +1 -1
- package/front_end/panels/event_listeners/EventListenersView.ts +57 -89
- package/front_end/panels/explain/components/ConsoleInsight.ts +4 -4
- package/front_end/panels/issues/AffectedPartitioningBlobURLView.ts +3 -3
- package/front_end/panels/issues/IssuesPane.ts +1 -1
- package/front_end/panels/layer_viewer/Layers3DView.ts +4 -4
- package/front_end/panels/layers/LayerTreeModel.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseController.ts +4 -4
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +10 -10
- package/front_end/panels/lighthouse/LighthouseTimespanView.ts +2 -2
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +1 -1
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +1 -1
- package/front_end/panels/media/MainView.ts +2 -2
- package/front_end/panels/mobile_throttling/CalibrationController.ts +4 -1
- package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +10 -0
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +3 -3
- package/front_end/panels/network/NetworkConfigView.ts +26 -16
- package/front_end/panels/network/NetworkItemView.ts +1 -1
- package/front_end/panels/network/NetworkLogView.ts +4 -5
- package/front_end/panels/network/NetworkPanel.ts +1 -1
- package/front_end/panels/network/RequestConditionsDrawer.ts +3 -3
- package/front_end/panels/network/RequestCookiesView.ts +2 -2
- package/front_end/panels/network/RequestPayloadView.ts +0 -2
- package/front_end/panels/network/RequestTimingView.ts +1 -1
- package/front_end/panels/network/ResourceChunkView.ts +1 -1
- package/front_end/panels/network/components/HeaderSectionRow.ts +2 -2
- package/front_end/panels/network/components/RequestHeaderSection.ts +1 -1
- package/front_end/panels/network/components/RequestTrustTokensView.ts +7 -7
- package/front_end/panels/network/components/ResponseHeaderSection.ts +3 -4
- package/front_end/panels/network/network-meta.ts +1 -1
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +10 -10
- package/front_end/panels/profiler/HeapSnapshotView.ts +1 -1
- package/front_end/panels/profiler/IsolateSelector.ts +4 -4
- package/front_end/panels/profiler/ModuleUIStrings.ts +1 -1
- package/front_end/panels/profiler/ProfilesPanel.ts +2 -3
- package/front_end/panels/recorder/RecorderPanel.ts +1 -1
- package/front_end/panels/search/SearchView.ts +6 -6
- package/front_end/panels/security/SecurityModel.ts +4 -4
- package/front_end/panels/security/SecurityPanel.ts +83 -54
- package/front_end/panels/security/SecurityPanelSidebar.ts +41 -5
- package/front_end/panels/security/sidebar.css +9 -10
- package/front_end/panels/sensors/SensorsView.ts +1 -1
- package/front_end/panels/settings/AISettingsTab.ts +9 -9
- package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +1 -1
- package/front_end/panels/settings/KeybindsSettingsTab.ts +2 -2
- package/front_end/panels/settings/SettingsScreen.ts +156 -109
- package/front_end/panels/settings/WorkspaceSettingsTab.ts +1 -1
- package/front_end/panels/settings/components/SyncSection.ts +3 -3
- package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +13 -13
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +2 -2
- package/front_end/panels/snippets/SnippetsQuickOpen.ts +1 -1
- package/front_end/panels/sources/CSSPlugin.ts +3 -3
- package/front_end/panels/sources/DebuggerPlugin.ts +4 -4
- package/front_end/panels/sources/NavigatorView.ts +3 -3
- package/front_end/panels/sources/OutlineQuickOpen.ts +1 -1
- package/front_end/panels/sources/PersistenceActions.ts +2 -2
- package/front_end/panels/sources/SourcesNavigator.ts +5 -5
- package/front_end/panels/sources/TabbedEditorContainer.ts +1 -1
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +0 -1
- package/front_end/panels/sources/components/HeadersView.ts +1 -1
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
- package/front_end/panels/timeline/TimelineUIUtils.ts +0 -1
- package/front_end/panels/timeline/components/ExportTraceOptions.ts +2 -2
- package/front_end/panels/timeline/components/FieldSettingsDialog.ts +4 -4
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +1 -1
- package/front_end/panels/timeline/components/LiveMetricsView.ts +7 -7
- package/front_end/panels/timeline/components/MetricCard.ts +3 -3
- package/front_end/panels/timeline/components/MetricCompareStrings.ts +12 -14
- package/front_end/panels/timeline/components/OriginMap.ts +3 -3
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +4 -4
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +6 -0
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +1 -1
- package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.ts +3 -1
- package/front_end/panels/timeline/timelineMiniMap.css +9 -9
- package/front_end/panels/timeline/timelineStatusDialog.css +9 -9
- package/front_end/panels/web_audio/WebAudioView.ts +1 -1
- package/front_end/panels/webauthn/WebauthnPane.ts +1 -1
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/ui/comments/CommentAnchorResolver.ts +114 -3
- package/front_end/ui/comments/CommentOverlayManager.ts +95 -16
- package/front_end/ui/components/dialogs/TypeToAllowDialog.ts +1 -1
- package/front_end/ui/components/markdown_view/codeBlock.css +3 -8
- package/front_end/ui/components/markdown_view/markdownView.css +2 -7
- package/front_end/ui/components/panel_feedback/PanelFeedback.ts +2 -2
- package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -1
- package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +1 -1
- package/front_end/ui/components/text_editor/AiCodeCompletionTeaser.ts +4 -4
- package/front_end/ui/components/text_editor/AiCodeGenerationTeaser.ts +3 -3
- package/front_end/{models → ui}/geometry/GeometryImpl.ts +4 -40
- package/front_end/ui/legacy/GlassPane.ts +1 -1
- package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +2 -2
- package/front_end/ui/legacy/SoftDropDown.ts +1 -1
- package/front_end/ui/legacy/SplitWidget.ts +1 -1
- package/front_end/ui/legacy/SuggestBox.ts +1 -1
- package/front_end/ui/legacy/TabbedPane.ts +1 -1
- package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -2
- package/front_end/ui/legacy/Treeoutline.ts +5 -1
- package/front_end/ui/legacy/UIUtils.ts +1 -1
- package/front_end/ui/legacy/Widget.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/AnimationTimingModel.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/AnimationTimingUI.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/BezierUI.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/CSSAngleUtils.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/PositionAreaEditor.ts +204 -17
- package/front_end/ui/legacy/components/inline_editor/positionAreaEditor.css +6 -0
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +7 -9
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +1 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +12 -0
- package/package.json +7 -4
- /package/front_end/{models → ui}/geometry/geometry.ts +0 -0
|
@@ -24,27 +24,27 @@ const {styleMap} = Directives;
|
|
|
24
24
|
|
|
25
25
|
const UIStrings = {
|
|
26
26
|
/**
|
|
27
|
-
* @description Column header
|
|
27
|
+
* @description Column header for the URL of a rule set.
|
|
28
28
|
*/
|
|
29
29
|
ruleSet: 'Rule set',
|
|
30
30
|
/**
|
|
31
|
-
* @description Column header
|
|
31
|
+
* @description Column header showing the number of associated preloads if valid, or error counts if invalid.
|
|
32
32
|
*/
|
|
33
33
|
status: 'Status',
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description Tooltip text for the button to reveal the rule set in the Elements panel.
|
|
36
36
|
*/
|
|
37
|
-
clickToOpenInElementsPanel: '
|
|
37
|
+
clickToOpenInElementsPanel: 'Open in Elements panel',
|
|
38
38
|
/**
|
|
39
|
-
* @description
|
|
39
|
+
* @description Tooltip text for the button to reveal the rule set in the Network panel.
|
|
40
40
|
*/
|
|
41
|
-
clickToOpenInNetworkPanel: '
|
|
41
|
+
clickToOpenInNetworkPanel: 'Open in Network panel',
|
|
42
42
|
/**
|
|
43
|
-
* @description
|
|
43
|
+
* @description Status text indicating the number of errors contained in the rule set.
|
|
44
44
|
*/
|
|
45
45
|
errors: '{errorCount, plural, =1 {# error} other {# errors}}',
|
|
46
46
|
/**
|
|
47
|
-
* @description
|
|
47
|
+
* @description Tooltip text for the button to reveal speculative loads associated with the selected rule set.
|
|
48
48
|
*/
|
|
49
49
|
buttonRevealPreloadsAssociatedWithRuleSet: 'Reveal speculative loads associated with this rule set',
|
|
50
50
|
} as const;
|
|
@@ -24,110 +24,110 @@ import usedPreloadingStyles from './usedPreloadingView.css.js';
|
|
|
24
24
|
|
|
25
25
|
const UIStrings = {
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description Section header for the speculative loading status of the current page.
|
|
28
28
|
*/
|
|
29
29
|
speculativeLoadingStatusForThisPage: 'Speculative loading status for this page',
|
|
30
30
|
/**
|
|
31
|
-
* @description Label for failure reason of
|
|
31
|
+
* @description Label for the failure reason of a speculative load attempt.
|
|
32
32
|
*/
|
|
33
33
|
detailsFailureReason: 'Failure reason',
|
|
34
34
|
/**
|
|
35
|
-
* @description Message that
|
|
35
|
+
* @description Message indicating that prerendering this page failed, but the response body was used as a prefetch.
|
|
36
36
|
*/
|
|
37
37
|
downgradedPrefetchUsed:
|
|
38
38
|
'The initiating page attempted to prerender this page’s URL. The prerender failed, but the resulting response body was still used as a prefetch.',
|
|
39
39
|
/**
|
|
40
|
-
* @description Message that
|
|
40
|
+
* @description Message indicating that this page was successfully prefetched.
|
|
41
41
|
*/
|
|
42
|
-
prefetchUsed: 'This page was successfully prefetched
|
|
42
|
+
prefetchUsed: 'This page was successfully prefetched',
|
|
43
43
|
/**
|
|
44
|
-
* @description Message that
|
|
44
|
+
* @description Message indicating that this page was successfully prerendered.
|
|
45
45
|
*/
|
|
46
|
-
prerenderUsed: 'This page was successfully prerendered
|
|
46
|
+
prerenderUsed: 'This page was successfully prerendered',
|
|
47
47
|
/**
|
|
48
|
-
* @description Message that
|
|
48
|
+
* @description Message indicating that prefetching this page failed and a full navigation was performed instead.
|
|
49
49
|
*/
|
|
50
50
|
prefetchFailed:
|
|
51
|
-
'The initiating page attempted to prefetch this page’s URL, but the prefetch failed, so a full navigation was performed instead
|
|
51
|
+
'The initiating page attempted to prefetch this page’s URL, but the prefetch failed, so a full navigation was performed instead',
|
|
52
52
|
/**
|
|
53
|
-
* @description Message that
|
|
53
|
+
* @description Message indicating that prerendering this page failed and a full navigation was performed instead.
|
|
54
54
|
*/
|
|
55
55
|
prerenderFailed:
|
|
56
|
-
'The initiating page attempted to prerender this page’s URL, but the prerender failed, so a full navigation was performed instead
|
|
56
|
+
'The initiating page attempted to prerender this page’s URL, but the prerender failed, so a full navigation was performed instead',
|
|
57
57
|
/**
|
|
58
|
-
* @description Message that
|
|
58
|
+
* @description Message indicating that the initiating page did not attempt to speculatively load this page.
|
|
59
59
|
*/
|
|
60
|
-
noPreloads: 'The initiating page
|
|
60
|
+
noPreloads: 'The initiating page didn’t attempt to speculatively load this page’s URL',
|
|
61
61
|
/**
|
|
62
|
-
* @description
|
|
62
|
+
* @description Section header for the current URL.
|
|
63
63
|
*/
|
|
64
64
|
currentURL: 'Current URL',
|
|
65
65
|
/**
|
|
66
|
-
* @description
|
|
66
|
+
* @description Section header for URLs being speculatively loaded by the initiating page.
|
|
67
67
|
*/
|
|
68
68
|
preloadedURLs: 'URLs being speculatively loaded by the initiating page',
|
|
69
69
|
/**
|
|
70
|
-
* @description
|
|
70
|
+
* @description Section header for speculations initiated by the current page.
|
|
71
71
|
*/
|
|
72
72
|
speculationsInitiatedByThisPage: 'Speculations initiated by this page',
|
|
73
73
|
/**
|
|
74
|
-
* @description Link text to
|
|
74
|
+
* @description Link text to view all speculation rules.
|
|
75
75
|
*/
|
|
76
76
|
viewAllRules: 'View all speculation rules',
|
|
77
77
|
/**
|
|
78
|
-
* @description Link text to
|
|
78
|
+
* @description Link text to view all speculations.
|
|
79
79
|
*/
|
|
80
80
|
viewAllSpeculations: 'View all speculations',
|
|
81
81
|
/**
|
|
82
|
-
* @description Link to learn more about
|
|
82
|
+
* @description Link text to learn more about speculative loading on developer.chrome.com.
|
|
83
83
|
*/
|
|
84
|
-
learnMore: 'Learn more:
|
|
84
|
+
learnMore: 'Learn more: speculative loading on developer.chrome.com',
|
|
85
85
|
/**
|
|
86
|
-
* @description
|
|
86
|
+
* @description Section header for the table of mismatched HTTP request headers.
|
|
87
87
|
*/
|
|
88
88
|
mismatchedHeadersDetail: 'Mismatched HTTP request headers',
|
|
89
89
|
/**
|
|
90
|
-
* @description
|
|
90
|
+
* @description Badge label indicating that a speculative load was successfully used for this page.
|
|
91
91
|
*/
|
|
92
92
|
badgeSuccess: 'Success',
|
|
93
93
|
/**
|
|
94
|
-
* @description
|
|
94
|
+
* @description Badge label indicating that speculative loading failed for this page.
|
|
95
95
|
*/
|
|
96
96
|
badgeFailure: 'Failure',
|
|
97
97
|
/**
|
|
98
|
-
* @description
|
|
98
|
+
* @description Badge label indicating that no speculative loads were used for this page.
|
|
99
99
|
*/
|
|
100
100
|
badgeNoSpeculativeLoads: 'No speculative loads',
|
|
101
101
|
/**
|
|
102
|
-
* @description
|
|
102
|
+
* @description Badge label showing the count of speculative loads that were not triggered.
|
|
103
103
|
*/
|
|
104
104
|
badgeNotTriggeredWithCount: '{n, plural, =1 {# not triggered} other {# not triggered}}',
|
|
105
105
|
/**
|
|
106
|
-
* @description
|
|
106
|
+
* @description Badge label showing the count of speculative loads that are in progress.
|
|
107
107
|
*/
|
|
108
108
|
badgeInProgressWithCount: '{n, plural, =1 {# in progress} other {# in progress}}',
|
|
109
109
|
/**
|
|
110
|
-
* @description
|
|
110
|
+
* @description Badge label showing the count of speculative loads that succeeded.
|
|
111
111
|
*/
|
|
112
112
|
badgeSuccessWithCount: '{n, plural, =1 {# success} other {# success}}',
|
|
113
113
|
/**
|
|
114
|
-
* @description
|
|
114
|
+
* @description Badge label showing the count of speculative loads that failed.
|
|
115
115
|
*/
|
|
116
116
|
badgeFailureWithCount: '{n, plural, =1 {# failure} other {# failures}}',
|
|
117
117
|
/**
|
|
118
|
-
* @description
|
|
118
|
+
* @description Column header for the HTTP request header name.
|
|
119
119
|
*/
|
|
120
120
|
headerName: 'Header name',
|
|
121
121
|
/**
|
|
122
|
-
* @description
|
|
122
|
+
* @description Column header for the HTTP request header value in the initial navigation.
|
|
123
123
|
*/
|
|
124
124
|
initialNavigationValue: 'Value in initial navigation',
|
|
125
125
|
/**
|
|
126
|
-
* @description
|
|
126
|
+
* @description Column header for the HTTP request header value in the activation navigation.
|
|
127
127
|
*/
|
|
128
128
|
activationNavigationValue: 'Value in activation navigation',
|
|
129
129
|
/**
|
|
130
|
-
* @description
|
|
130
|
+
* @description Text indicating that the HTTP request header value is missing.
|
|
131
131
|
*/
|
|
132
132
|
missing: '(missing)',
|
|
133
133
|
} as const;
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
.resources-toolbar {
|
|
31
|
-
border-top:
|
|
31
|
+
border-top: var(--sys-size-1) solid var(--sys-color-divider);
|
|
32
32
|
background-color: var(--sys-color-cdt-base-container);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.top-resources-toolbar {
|
|
36
|
-
border-bottom:
|
|
36
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
37
37
|
background-color: var(--sys-color-cdt-base-container);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.resources.panel .status {
|
|
41
41
|
float: right;
|
|
42
|
-
height:
|
|
43
|
-
margin-top:
|
|
44
|
-
margin-left:
|
|
42
|
+
height: var(--sys-size-8);
|
|
43
|
+
margin-top: var(--sys-size-1);
|
|
44
|
+
margin-left: var(--sys-size-3);
|
|
45
45
|
line-height: 1em;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
.storage-view .storage-table-error {
|
|
59
59
|
color: var(--sys-color-error);
|
|
60
|
-
font-size:
|
|
60
|
+
font-size: var(--sys-typescale-headline1-size);
|
|
61
61
|
font-weight: bold;
|
|
62
62
|
padding: 10px;
|
|
63
63
|
display: flex;
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.storage-view.query {
|
|
69
|
-
padding:
|
|
69
|
+
padding: var(--sys-size-2) 0;
|
|
70
70
|
overflow: hidden auto;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.storage-view .filter-bar {
|
|
74
74
|
border-top: none;
|
|
75
|
-
border-bottom:
|
|
75
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.database-query-group-messages {
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
|
|
82
82
|
.database-query-prompt-container {
|
|
83
83
|
position: relative;
|
|
84
|
-
padding:
|
|
85
|
-
min-height:
|
|
84
|
+
padding: var(--sys-size-1) var(--sys-size-10) var(--sys-size-1) var(--sys-size-11);
|
|
85
|
+
min-height: var(--sys-size-8);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.database-query-prompt {
|
|
@@ -103,14 +103,14 @@
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.database-query-prompt-container .prompt-icon {
|
|
106
|
-
top:
|
|
106
|
+
top: var(--sys-size-4);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.database-user-query {
|
|
110
110
|
position: relative;
|
|
111
|
-
border-bottom:
|
|
112
|
-
padding:
|
|
113
|
-
min-height:
|
|
111
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
112
|
+
padding: var(--sys-size-1) var(--sys-size-10) var(--sys-size-1) var(--sys-size-11);
|
|
113
|
+
min-height: var(--sys-size-8);
|
|
114
114
|
flex-shrink: 0;
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -125,9 +125,9 @@
|
|
|
125
125
|
|
|
126
126
|
.database-query-result {
|
|
127
127
|
position: relative;
|
|
128
|
-
padding:
|
|
129
|
-
min-height:
|
|
130
|
-
margin-left: -
|
|
128
|
+
padding: var(--sys-size-1) var(--sys-size-10);
|
|
129
|
+
min-height: var(--sys-size-8);
|
|
130
|
+
margin-left: calc(-1 * var(--sys-size-10));
|
|
131
131
|
padding-right: 0;
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -23,7 +23,7 @@ const UIStrings = {
|
|
|
23
23
|
/**
|
|
24
24
|
* @description Description shown when no DOM breakpoints are set.
|
|
25
25
|
*/
|
|
26
|
-
domBreakpointsDescription: 'DOM breakpoints pause on the code that changes a DOM node or its children
|
|
26
|
+
domBreakpointsDescription: 'DOM breakpoints pause on the code that changes a DOM node or its children',
|
|
27
27
|
/**
|
|
28
28
|
* @description Accessibility label for the DOM breakpoints list in the Sources panel.
|
|
29
29
|
*/
|
|
@@ -26,7 +26,7 @@ const UIStrings = {
|
|
|
26
26
|
/**
|
|
27
27
|
* @description Description text shown in the Changes panel explaining how to track code changes.
|
|
28
28
|
*/
|
|
29
|
-
changesViewDescription: 'Track code changes made within DevTools
|
|
29
|
+
changesViewDescription: 'Track code changes made within DevTools',
|
|
30
30
|
} as const;
|
|
31
31
|
const str_ = i18n.i18n.registerUIStrings('panels/changes/ChangesView.ts', UIStrings);
|
|
32
32
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -19,7 +19,7 @@ const UIStringsNotTranslate = {
|
|
|
19
19
|
/**
|
|
20
20
|
* @description Text for recitation notice
|
|
21
21
|
*/
|
|
22
|
-
generatedCodeMayBeSubjectToALicense: 'Generated code may be subject to a license
|
|
22
|
+
generatedCodeMayBeSubjectToALicense: 'Generated code may be subject to a license',
|
|
23
23
|
/**
|
|
24
24
|
* @description Text for citations
|
|
25
25
|
*/
|
|
@@ -8,7 +8,6 @@ import * as SDK from '../../core/sdk/sdk.js';
|
|
|
8
8
|
|
|
9
9
|
export type CalibratedCPUThrottling = SDK.CPUThrottlingManager.CalibratedCPUThrottling;
|
|
10
10
|
export import CalibrationError = SDK.CPUThrottlingManager.CalibrationError;
|
|
11
|
-
export import CPUPerformanceTier = SDK.CPUThrottlingManager.CPUPerformanceTier;
|
|
12
11
|
|
|
13
12
|
const UIStrings = {
|
|
14
13
|
/**
|
|
@@ -9,10 +9,10 @@ import * as Host from '../../core/host/host.js';
|
|
|
9
9
|
import * as i18n from '../../core/i18n/i18n.js';
|
|
10
10
|
import type * as Platform from '../../core/platform/platform.js';
|
|
11
11
|
import * as Badges from '../../models/badges/badges.js';
|
|
12
|
-
import * as Geometry from '../../models/geometry/geometry.js';
|
|
13
12
|
import * as Buttons from '../../ui/components/buttons/buttons.js';
|
|
14
13
|
import * as Snackbars from '../../ui/components/snackbars/snackbars.js';
|
|
15
14
|
import type * as Switch from '../../ui/components/switch/switch.js';
|
|
15
|
+
import * as Geometry from '../../ui/geometry/geometry.js';
|
|
16
16
|
import * as UIHelpers from '../../ui/helpers/helpers.js';
|
|
17
17
|
import * as uiI18n from '../../ui/i18n/i18n.js';
|
|
18
18
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
@@ -40,8 +40,7 @@ const UIStrings = {
|
|
|
40
40
|
/**
|
|
41
41
|
* @description Body for the first section of the Google Developer Program sign up dialog.
|
|
42
42
|
*/
|
|
43
|
-
designedForSuccessBody:
|
|
44
|
-
'Grow your skills, build with AI, and earn badges you can showcase in your developer profile.',
|
|
43
|
+
designedForSuccessBody: 'Grow your skills, build with AI, and earn badges you can showcase in your developer profile',
|
|
45
44
|
/**
|
|
46
45
|
* @description Title for the second section of the Google Developer Program sign up dialog.
|
|
47
46
|
*/
|
|
@@ -49,7 +48,7 @@ const UIStrings = {
|
|
|
49
48
|
/**
|
|
50
49
|
* @description Body for the second section of the Google Developer Program sign up dialog.
|
|
51
50
|
*/
|
|
52
|
-
keepUpdatedBody: 'The latest DevTools features, event invites, and tailored insights land directly in your inbox
|
|
51
|
+
keepUpdatedBody: 'The latest DevTools features, event invites, and tailored insights land directly in your inbox',
|
|
53
52
|
/**
|
|
54
53
|
* @description Title for the third section of the Google Developer Program sign up dialog.
|
|
55
54
|
*/
|
|
@@ -14,8 +14,8 @@ import * as Common from '../../core/common/common.js';
|
|
|
14
14
|
import * as Host from '../../core/host/host.js';
|
|
15
15
|
import * as i18n from '../../core/i18n/i18n.js';
|
|
16
16
|
import * as Root from '../../core/root/root.js';
|
|
17
|
-
import * as Geometry from '../../models/geometry/geometry.js';
|
|
18
17
|
import * as Buttons from '../../ui/components/buttons/buttons.js';
|
|
18
|
+
import * as Geometry from '../../ui/geometry/geometry.js';
|
|
19
19
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
20
20
|
import {html, render} from '../../ui/lit/lit.js';
|
|
21
21
|
import * as VisualLogging from '../../ui/visual_logging/visual_logging.js';
|
|
@@ -101,7 +101,7 @@ const UIStringsNotTranslate = {
|
|
|
101
101
|
/**
|
|
102
102
|
* @description Call to action for downloading an AI model
|
|
103
103
|
*/
|
|
104
|
-
toUseDownload: 'To use Chrome’s Built-in AI here and elsewhere, download the AI model (~4 GB)
|
|
104
|
+
toUseDownload: 'To use Chrome’s Built-in AI here and elsewhere, download the AI model (~4 GB)',
|
|
105
105
|
/**
|
|
106
106
|
* @description Button text to trigger model download
|
|
107
107
|
*/
|
|
@@ -13,7 +13,6 @@ import * as Buttons from '../../ui/components/buttons/buttons.js';
|
|
|
13
13
|
import * as Dialogs from '../../ui/components/dialogs/dialogs.js';
|
|
14
14
|
import * as TextEditor from '../../ui/components/text_editor/text_editor.js';
|
|
15
15
|
import * as ObjectUI from '../../ui/legacy/components/object_ui/object_ui.js';
|
|
16
|
-
// eslint-disable-next-line @devtools/es-modules-import
|
|
17
16
|
import objectValueStyles from '../../ui/legacy/components/object_ui/objectValue.css.js';
|
|
18
17
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
19
18
|
import {Directives, html, type LitTemplate, nothing, render} from '../../ui/lit/lit.js';
|
|
@@ -53,7 +53,6 @@ import * as Highlighting from '../../ui/components/highlighting/highlighting.js'
|
|
|
53
53
|
import * as IssueCounter from '../../ui/components/issue_counter/issue_counter.js';
|
|
54
54
|
import type * as TextEditor from '../../ui/components/text_editor/text_editor.js';
|
|
55
55
|
import {createIcon} from '../../ui/kit/kit.js';
|
|
56
|
-
// eslint-disable-next-line @devtools/es-modules-import
|
|
57
56
|
import objectValueStyles from '../../ui/legacy/components/object_ui/objectValue.css.js';
|
|
58
57
|
import * as SettingsUI from '../../ui/legacy/components/settings_ui/settings_ui.js';
|
|
59
58
|
import * as Components from '../../ui/legacy/components/utils/utils.js';
|
|
@@ -87,7 +86,7 @@ const UIStrings = {
|
|
|
87
86
|
/**
|
|
88
87
|
* @description Text for the tooltip of the issue counter toolbar item.
|
|
89
88
|
*/
|
|
90
|
-
issueToolbarTooltipGeneral: 'Some problems no longer generate console messages, but are surfaced in the Issues tab
|
|
89
|
+
issueToolbarTooltipGeneral: 'Some problems no longer generate console messages, but are surfaced in the Issues tab',
|
|
91
90
|
/**
|
|
92
91
|
* @description Text for the tooltip of the issue counter toolbar item. The placeholder indicates how many issues
|
|
93
92
|
* there are in the Issues tab broken down by kind.
|
|
@@ -232,7 +231,7 @@ const UIStrings = {
|
|
|
232
231
|
* @description Tooltip text of the info icon shown next to the filter drop down
|
|
233
232
|
* in the Console panels main toolbar when the sidebar is active.
|
|
234
233
|
*/
|
|
235
|
-
overriddenByFilterSidebar: 'Log levels are controlled by the Console sidebar
|
|
234
|
+
overriddenByFilterSidebar: 'Log levels are controlled by the Console sidebar',
|
|
236
235
|
/**
|
|
237
236
|
* @description Label for the custom log levels option in the filter dropdown in the Console view.
|
|
238
237
|
*/
|
|
@@ -53,7 +53,6 @@ import * as RequestLinkIcon from '../../ui/components/request_link_icon/request_
|
|
|
53
53
|
import {createIcon, Icon} from '../../ui/kit/kit.js';
|
|
54
54
|
import * as DataGrid from '../../ui/legacy/components/data_grid/data_grid.js';
|
|
55
55
|
import * as ObjectUI from '../../ui/legacy/components/object_ui/object_ui.js';
|
|
56
|
-
// eslint-disable-next-line @devtools/es-modules-import
|
|
57
56
|
import objectValueStyles from '../../ui/legacy/components/object_ui/objectValue.css.js';
|
|
58
57
|
import * as Components from '../../ui/legacy/components/utils/utils.js';
|
|
59
58
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
@@ -107,7 +106,7 @@ const UIStrings = {
|
|
|
107
106
|
/**
|
|
108
107
|
* @description Note title in Console view message of the Console panel.
|
|
109
108
|
*/
|
|
110
|
-
thisValueWillNotBeCollectedUntil: 'This value won’t be collected until console is cleared
|
|
109
|
+
thisValueWillNotBeCollectedUntil: 'This value won’t be collected until console is cleared',
|
|
111
110
|
/**
|
|
112
111
|
* @description Note title in Console view message of the Console panel.
|
|
113
112
|
*/
|
|
@@ -115,7 +114,7 @@ const UIStrings = {
|
|
|
115
114
|
/**
|
|
116
115
|
* @description Note title in Console view message of the Console panel.
|
|
117
116
|
*/
|
|
118
|
-
functionWasResolvedFromBound: 'Function was resolved from bound function
|
|
117
|
+
functionWasResolvedFromBound: 'Function was resolved from bound function',
|
|
119
118
|
/**
|
|
120
119
|
* @description Shown in the Console panel when an exception is thrown when trying to access a
|
|
121
120
|
* property on an object. Should be translated.
|
|
@@ -73,7 +73,7 @@ const UIStrings = {
|
|
|
73
73
|
* function does get run, then it is marked in the UI to indicate that it was covered.
|
|
74
74
|
*/
|
|
75
75
|
jsCoverageWithPerFunction:
|
|
76
|
-
'JS coverage with per function granularity: once a function was executed, the whole function is marked as covered
|
|
76
|
+
'JS coverage with per function granularity: once a function was executed, the whole function is marked as covered',
|
|
77
77
|
/**
|
|
78
78
|
* @description Cell title in coverage list view of the Coverage tab. The coverage tool tells
|
|
79
79
|
* developers which blocks (logical groups of lines of code, smaller than a function) were actually
|
|
@@ -81,7 +81,7 @@ const UIStrings = {
|
|
|
81
81
|
* covered.
|
|
82
82
|
*/
|
|
83
83
|
jsCoverageWithPerBlock:
|
|
84
|
-
'JS coverage with per block granularity: once a block of JavaScript was executed, that block is marked as covered
|
|
84
|
+
'JS coverage with per block granularity: once a block of JavaScript was executed, that block is marked as covered',
|
|
85
85
|
/**
|
|
86
86
|
* @description Accessible text for the value in bytes in memory allocation or coverage view.
|
|
87
87
|
*/
|
|
@@ -96,26 +96,26 @@ const UIStrings = {
|
|
|
96
96
|
* @example {1000} PH1
|
|
97
97
|
* @example {12.34%} PH2
|
|
98
98
|
*/
|
|
99
|
-
sBytesSBelongToFunctionsThatHave: '{PH1} bytes ({PH2}) belong to functions that have not (yet) been executed
|
|
99
|
+
sBytesSBelongToFunctionsThatHave: '{PH1} bytes ({PH2}) belong to functions that have not (yet) been executed',
|
|
100
100
|
/**
|
|
101
101
|
* @description Tooltip text for the bar in the coverage list view of the coverage tool that illustrates the relation between used and unused bytes.
|
|
102
102
|
* @example {1000} PH1
|
|
103
103
|
* @example {12.34%} PH2
|
|
104
104
|
*/
|
|
105
|
-
sBytesSBelongToBlocksOf: '{PH1} bytes ({PH2}) belong to blocks of JavaScript that have not (yet) been executed
|
|
105
|
+
sBytesSBelongToBlocksOf: '{PH1} bytes ({PH2}) belong to blocks of JavaScript that have not (yet) been executed',
|
|
106
106
|
/**
|
|
107
107
|
* @description Message in Coverage View of the Coverage tab.
|
|
108
108
|
* @example {1000} PH1
|
|
109
109
|
* @example {12.34%} PH2
|
|
110
110
|
*/
|
|
111
|
-
sBytesSBelongToFunctionsThatHaveExecuted: '{PH1} bytes ({PH2}) belong to functions that have executed at least once
|
|
111
|
+
sBytesSBelongToFunctionsThatHaveExecuted: '{PH1} bytes ({PH2}) belong to functions that have executed at least once',
|
|
112
112
|
/**
|
|
113
113
|
* @description Message in Coverage View of the Coverage tab.
|
|
114
114
|
* @example {1000} PH1
|
|
115
115
|
* @example {12.34%} PH2
|
|
116
116
|
*/
|
|
117
117
|
sBytesSBelongToBlocksOfJavascript:
|
|
118
|
-
'{PH1} bytes ({PH2}) belong to blocks of JavaScript that have executed at least once
|
|
118
|
+
'{PH1} bytes ({PH2}) belong to blocks of JavaScript that have executed at least once',
|
|
119
119
|
/**
|
|
120
120
|
* @description Accessible text for the visualization column of coverage tool. Contains percentage of unused bytes to used bytes.
|
|
121
121
|
* @example {12.3} PH1
|
|
@@ -33,7 +33,7 @@ const UIStrings = {
|
|
|
33
33
|
* @description Tooltip in coverage list view of the Coverage tab for selecting JavaScript coverage mode.
|
|
34
34
|
*/
|
|
35
35
|
chooseCoverageGranularityPer:
|
|
36
|
-
'Choose coverage granularity: per function has low overhead, per block has significant overhead
|
|
36
|
+
'Choose coverage granularity: per function has low overhead, per block has significant overhead',
|
|
37
37
|
/**
|
|
38
38
|
* @description Text in coverage list view of the Coverage tab.
|
|
39
39
|
*/
|
|
@@ -87,25 +87,25 @@ const UIStrings = {
|
|
|
87
87
|
* @description Message in Coverage View of the Coverage tab.
|
|
88
88
|
* @example {Reload page} PH1
|
|
89
89
|
*/
|
|
90
|
-
clickTheReloadButtonSToReloadAnd: 'Click the "{PH1}" button to reload and start capturing coverage
|
|
90
|
+
clickTheReloadButtonSToReloadAnd: 'Click the "{PH1}" button to reload and start capturing coverage',
|
|
91
91
|
/**
|
|
92
92
|
* @description Message in Coverage View of the Coverage tab.
|
|
93
93
|
* @example {Start recording} PH1
|
|
94
94
|
*/
|
|
95
|
-
clickTheRecordButtonSToStart: 'Click the "{PH1}" button to start capturing coverage
|
|
95
|
+
clickTheRecordButtonSToStart: 'Click the "{PH1}" button to start capturing coverage',
|
|
96
96
|
/**
|
|
97
97
|
* @description Message in the Coverage View explaining that DevTools could not capture coverage.
|
|
98
98
|
*/
|
|
99
|
-
bfcacheNoCapture: 'Could not capture coverage info because the page was served from the back/forward cache
|
|
99
|
+
bfcacheNoCapture: 'Could not capture coverage info because the page was served from the back/forward cache',
|
|
100
100
|
/**
|
|
101
101
|
* @description Message in the Coverage View explaining that DevTools could not capture coverage.
|
|
102
102
|
*/
|
|
103
|
-
activationNoCapture: 'Could not capture coverage info because the page was prerendered in the background
|
|
103
|
+
activationNoCapture: 'Could not capture coverage info because the page was prerendered in the background',
|
|
104
104
|
/**
|
|
105
105
|
* @description Message in the Coverage View prompting the user to reload the page.
|
|
106
106
|
* @example {reload button icon} PH1
|
|
107
107
|
*/
|
|
108
|
-
reloadPrompt: 'Click the reload button {PH1} to reload and get coverage
|
|
108
|
+
reloadPrompt: 'Click the reload button {PH1} to reload and get coverage',
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* @description Footer message in Coverage View of the Coverage tab.
|
|
@@ -120,7 +120,7 @@ const UIStrings = {
|
|
|
120
120
|
* @example {71%} PH3
|
|
121
121
|
* @example {29%} PH4
|
|
122
122
|
*/
|
|
123
|
-
sOfSSUsedSoFarSUnused: '{PH1} of {PH2} ({PH3}%) used so far, {PH4} unused
|
|
123
|
+
sOfSSUsedSoFarSUnused: '{PH1} of {PH2} ({PH3}%) used so far, {PH4} unused',
|
|
124
124
|
} as const;
|
|
125
125
|
const str_ = i18n.i18n.registerUIStrings('panels/coverage/CoverageView.ts', UIStrings);
|
|
126
126
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
@@ -11,7 +11,7 @@ import * as Platform from '../../core/platform/platform.js';
|
|
|
11
11
|
import * as SDK from '../../core/sdk/sdk.js';
|
|
12
12
|
import * as TextUtils from '../../core/text_utils/text_utils.js';
|
|
13
13
|
import type * as Protocol from '../../generated/protocol.js';
|
|
14
|
-
import * as Geometry from '../../
|
|
14
|
+
import * as Geometry from '../../ui/geometry/geometry.js';
|
|
15
15
|
import * as Components from '../../ui/legacy/components/utils/utils.js';
|
|
16
16
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
17
17
|
import {Directives, html, type LitTemplate, nothing, render, type TemplateResult} from '../../ui/lit/lit.js';
|
|
@@ -40,28 +40,28 @@ const UIStrings = {
|
|
|
40
40
|
* @example {display: flex} DISPLAY_FLEX_RULE
|
|
41
41
|
*/
|
|
42
42
|
ruleViolatedBySameElementRuleChangeFlexOrGrid:
|
|
43
|
-
'Try adding {DISPLAY_GRID_RULE} or {DISPLAY_FLEX_RULE} to make this element into a container
|
|
43
|
+
'Try adding {DISPLAY_GRID_RULE} or {DISPLAY_FLEX_RULE} to make this element into a container',
|
|
44
44
|
/**
|
|
45
45
|
* @description The message shown in the Styles tab when the user hovers over a property declaration that has no effect due to the current property value.
|
|
46
46
|
* @example {display: block} EXISTING_PROPERTY_DECLARATION
|
|
47
47
|
* @example {display: flex} TARGET_PROPERTY_DECLARATION
|
|
48
48
|
*/
|
|
49
49
|
ruleViolatedBySameElementRuleChangeSuggestion:
|
|
50
|
-
'Try setting the {EXISTING_PROPERTY_DECLARATION} property to {TARGET_PROPERTY_DECLARATION}
|
|
50
|
+
'Try setting the {EXISTING_PROPERTY_DECLARATION} property to {TARGET_PROPERTY_DECLARATION}',
|
|
51
51
|
/**
|
|
52
52
|
* @description The message shown in the Styles tab when the user hovers over a property declaration that has no effect due to properties of the parent element.
|
|
53
53
|
* @example {display: block} REASON_PROPERTY_DECLARATION_CODE
|
|
54
54
|
* @example {flex} AFFECTED_PROPERTY_DECLARATION_CODE
|
|
55
55
|
*/
|
|
56
56
|
ruleViolatedByParentElementRuleReason:
|
|
57
|
-
'The {REASON_PROPERTY_DECLARATION_CODE} property on the parent element prevents {AFFECTED_PROPERTY_DECLARATION_CODE} from having an effect
|
|
57
|
+
'The {REASON_PROPERTY_DECLARATION_CODE} property on the parent element prevents {AFFECTED_PROPERTY_DECLARATION_CODE} from having an effect',
|
|
58
58
|
/**
|
|
59
59
|
* @description The message shown in the Styles tab when the user hovers over a property declaration that has no effect due to the properties of the parent element.
|
|
60
60
|
* @example {display: block} EXISTING_PARENT_ELEMENT_RULE
|
|
61
61
|
* @example {display: flex} TARGET_PARENT_ELEMENT_RULE
|
|
62
62
|
*/
|
|
63
63
|
ruleViolatedByParentElementRuleFix:
|
|
64
|
-
'Try setting the {EXISTING_PARENT_ELEMENT_RULE} property on the parent to {TARGET_PARENT_ELEMENT_RULE}
|
|
64
|
+
'Try setting the {EXISTING_PARENT_ELEMENT_RULE} property on the parent to {TARGET_PARENT_ELEMENT_RULE}',
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* @description The warning text shown in the Elements panel when font-variation-settings don't match allowed values.
|
|
@@ -72,35 +72,35 @@ const UIStrings = {
|
|
|
72
72
|
* @example {Arial} PH5
|
|
73
73
|
*/
|
|
74
74
|
fontVariationSettingsWarning:
|
|
75
|
-
'Value for setting "{PH1}" {PH2} is outside the supported range [{PH3}, {PH4}] for font-family "{PH5}"
|
|
75
|
+
'Value for setting "{PH1}" {PH2} is outside the supported range [{PH3}, {PH4}] for font-family "{PH5}"',
|
|
76
76
|
/**
|
|
77
77
|
* @description The message shown in the Styles tab when the user hovers over a property declaration that has no effect on flex or grid child items.
|
|
78
78
|
* @example {flex} CONTAINER_DISPLAY_NAME
|
|
79
79
|
* @example {align-contents} PROPERTY_NAME
|
|
80
80
|
*/
|
|
81
81
|
flexGridContainerPropertyRuleReason:
|
|
82
|
-
'This element is a {CONTAINER_DISPLAY_NAME} item, i.e. a child of a {CONTAINER_DISPLAY_NAME} container, but {PROPERTY_NAME} only applies to containers
|
|
82
|
+
'This element is a {CONTAINER_DISPLAY_NAME} item, i.e. a child of a {CONTAINER_DISPLAY_NAME} container, but {PROPERTY_NAME} only applies to containers',
|
|
83
83
|
/**
|
|
84
84
|
* @description The message shown in the Styles tab when the user hovers over a property declaration that has no effect on flex or grid child items.
|
|
85
85
|
* @example {align-contents} PROPERTY_NAME
|
|
86
86
|
* @example {align-self} ALTERNATIVE_PROPERTY_NAME
|
|
87
87
|
*/
|
|
88
88
|
flexGridContainerPropertyRuleFix:
|
|
89
|
-
'Try setting the {PROPERTY_NAME} on the container element or use {ALTERNATIVE_PROPERTY_NAME} instead
|
|
89
|
+
'Try setting the {PROPERTY_NAME} on the container element or use {ALTERNATIVE_PROPERTY_NAME} instead',
|
|
90
90
|
/**
|
|
91
91
|
* @description The message shown in the Styles tab when the user hovers over a position-anchor declaration that has no effect on a non-anchor-positioned element.
|
|
92
92
|
* @example {relative} POSITION
|
|
93
93
|
*/
|
|
94
94
|
invalidAnchorPositioning:
|
|
95
|
-
'An anchor was defined but the element was not anchor-positioned but positioned "{POSITION}"
|
|
95
|
+
'An anchor was defined but the element was not anchor-positioned but positioned "{POSITION}"',
|
|
96
96
|
/**
|
|
97
97
|
* @description The message shown in the Styles tab when the user hovers over a position-anchor declaration that has no effect on a non-anchor-positioned element.
|
|
98
98
|
*/
|
|
99
|
-
invalidAnchorPositioningFix: 'Set position to either "fixed" or "absolute"
|
|
99
|
+
invalidAnchorPositioningFix: 'Set position to either "fixed" or "absolute"',
|
|
100
100
|
/**
|
|
101
101
|
* @description The message shown in the Styles tab when the user hovers over a position-anchor declaration that has no effect on a hidden element.
|
|
102
102
|
*/
|
|
103
|
-
unusedAnchorPositioning: 'An anchor was defined but the element is hidden
|
|
103
|
+
unusedAnchorPositioning: 'An anchor was defined but the element is hidden',
|
|
104
104
|
} as const;
|
|
105
105
|
const str_ = i18n.i18n.registerUIStrings('panels/elements/CSSRuleValidator.ts', UIStrings);
|
|
106
106
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|