chrome-devtools-frontend 1.0.1675430 → 1.0.1678416
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/AUTHORS +1 -0
- package/WATCHLISTS +0 -4
- package/front_end/core/common/EventTarget.ts +0 -5
- package/front_end/core/common/Settings.ts +0 -66
- package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -0
- package/front_end/core/host/UserMetrics.ts +5 -0
- package/front_end/core/root/Runtime.ts +5 -5
- package/front_end/core/sdk/CSSMetadata.ts +5 -9
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +16 -34
- package/front_end/core/sdk/DebuggerModel.ts +92 -57
- package/front_end/core/sdk/EmulationModel.ts +2 -1
- package/front_end/core/sdk/NetworkManager.ts +16 -2
- package/front_end/core/sdk/OverlayModel.ts +19 -9
- package/front_end/core/sdk/OverlayPersistentHighlighter.ts +10 -4
- package/front_end/core/sdk/ResourceTreeModel.ts +20 -1
- package/front_end/core/sdk/SDKSettings.ts +117 -0
- package/front_end/core/sdk/Script.ts +9 -53
- package/front_end/core/sdk/sdk-meta.ts +0 -431
- package/front_end/devtools_compatibility.js +1 -0
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +213 -23
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +6 -5
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +14 -15
- package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +157 -0
- package/front_end/entrypoints/main/MainImpl.ts +32 -0
- package/front_end/entrypoints/shell/shell.ts +0 -1
- package/front_end/foundation/Universe.ts +8 -0
- package/front_end/generated/InspectorBackendCommands.ts +8 -8
- package/front_end/generated/SupportedCSSProperties.ts +53 -4
- package/front_end/generated/protocol-mapping.d.ts +27 -21
- package/front_end/generated/protocol-proxy-api.d.ts +22 -17
- package/front_end/generated/protocol.ts +43 -18
- package/front_end/models/ai_assistance/AiAgent2.ts +47 -2
- package/front_end/models/ai_assistance/AiConversation.ts +22 -5
- package/front_end/models/ai_assistance/README.md +52 -26
- package/front_end/models/ai_assistance/agents/AiAgent.ts +54 -8
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +1 -1
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +7 -194
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +21 -87
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -1
- package/front_end/models/ai_assistance/ai_assistance.ts +24 -0
- package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +124 -0
- package/front_end/models/ai_assistance/contexts/StorageContext.ts +100 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +69 -1
- package/front_end/models/ai_assistance/skills/README.md +63 -1
- package/front_end/models/ai_assistance/skills/Skill.ts +1 -1
- package/front_end/models/ai_assistance/skills/SkillRegistry.ts +4 -0
- package/front_end/models/ai_assistance/skills/accessibility.md +7 -0
- package/front_end/models/ai_assistance/skills/performance.md +15 -1
- package/front_end/models/ai_assistance/skills/sources.md +16 -0
- package/front_end/models/ai_assistance/skills/storage.md +31 -0
- package/front_end/models/ai_assistance/tools/GetDetailedCallTree.ts +107 -0
- package/front_end/models/ai_assistance/tools/GetFunctionCode.ts +122 -0
- package/front_end/models/ai_assistance/tools/GetResourceContent.ts +127 -0
- package/front_end/models/ai_assistance/tools/GetSourceContent.ts +101 -0
- package/front_end/models/ai_assistance/tools/GetTraceEventByKey.ts +83 -0
- package/front_end/models/ai_assistance/tools/GetTraceMainThreadSummary.ts +106 -0
- package/front_end/models/ai_assistance/tools/GetTraceNetworkSummary.ts +104 -0
- package/front_end/models/ai_assistance/tools/ListPageOrigins.ts +95 -0
- package/front_end/models/ai_assistance/tools/ListSources.ts +116 -0
- package/front_end/models/ai_assistance/tools/RunLighthouse.ts +89 -0
- package/front_end/models/ai_assistance/tools/SelectTraceEventByKey.ts +90 -0
- package/front_end/models/ai_assistance/tools/Tool.ts +26 -1
- package/front_end/models/ai_assistance/tools/ToolRegistry.ts +22 -0
- package/front_end/models/bindings/CSSWorkspaceBinding.ts +4 -0
- package/front_end/models/bindings/CompilerScriptMapping.ts +4 -0
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +8 -0
- package/front_end/models/bindings/ResourceScriptMapping.ts +3 -201
- package/front_end/models/bindings/SASSSourceMapping.ts +6 -0
- package/front_end/models/breakpoints/BreakpointManager.ts +2 -49
- package/front_end/models/comment_manager/CommentManager.ts +141 -0
- package/front_end/models/comment_manager/comment_manager.ts +9 -0
- package/front_end/models/heap_snapshot/HeapSnapshotModel.ts +27 -0
- package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +10 -2
- package/front_end/models/issues_manager/descriptions/connectionAllowlistEmbeddingRequirementNotSatisfied.md +26 -0
- package/front_end/models/issues_manager/descriptions/connectionAllowlistIFrameAttributeLoosensEmbeddingRequirement.md +19 -0
- package/front_end/models/issues_manager/descriptions/connectionAllowlistInvalidAllowConnectionAllowlistFrom.md +21 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +6 -6
- package/front_end/models/persistence/IsolatedFileSystem.ts +7 -8
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +2 -2
- package/front_end/models/persistence/PlatformFileSystem.ts +1 -1
- package/front_end/models/persistence/persistence-meta.ts +9 -9
- package/front_end/models/trace/types/TraceEvents.ts +36 -0
- package/front_end/panels/accessibility/ARIAAttributesView.ts +3 -3
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +25 -0
- package/front_end/panels/accessibility/AccessibilityNodeView.ts +36 -36
- package/front_end/panels/accessibility/AccessibilitySidebarView.ts +9 -0
- package/front_end/panels/accessibility/AccessibilityStrings.ts +168 -168
- package/front_end/panels/accessibility/SourceOrderView.ts +7 -7
- package/front_end/panels/accessibility/accessibility-meta.ts +2 -2
- package/front_end/panels/accessibility/accessibility.ts +2 -0
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +5 -5
- package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +2 -3
- package/front_end/panels/ai_assistance/components/ChatInput.ts +2 -2
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +92 -12
- package/front_end/panels/ai_assistance/components/chatMessage.css +6 -0
- package/front_end/panels/application/ApplicationPanelSidebar.ts +10 -4
- package/front_end/panels/application/IndexedDBViews.ts +65 -63
- package/front_end/panels/application/StorageView.ts +116 -45
- package/front_end/panels/application/WebMCPView.ts +16 -7
- package/front_end/panels/application/application-meta.ts +11 -0
- package/front_end/panels/application/components/AdsView.ts +1 -1
- package/front_end/panels/common/AiCodeCompletionSummaryToolbar.ts +5 -5
- package/front_end/panels/common/BadgeNotification.ts +8 -8
- package/front_end/panels/common/ExtensionPanel.ts +9 -8
- package/front_end/panels/common/ExtensionServer.ts +21 -1
- package/front_end/panels/common/GdpSignUpDialog.ts +16 -16
- package/front_end/panels/common/GeminiRebrandPromoDialog.ts +5 -6
- package/front_end/panels/common/PersistenceUtils.ts +2 -2
- package/front_end/panels/common/common.ts +0 -97
- package/front_end/panels/console/ConsoleInsightTeaser.ts +2 -2
- package/front_end/panels/console/ConsolePanel.ts +4 -0
- package/front_end/panels/console/ConsolePinPane.ts +2 -2
- package/front_end/panels/console/ConsolePrompt.ts +12 -0
- package/front_end/panels/console/ConsoleView.ts +31 -20
- package/front_end/panels/console/ConsoleViewMessage.ts +37 -13
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewModel.ts +1 -1
- package/front_end/panels/elements/ElementStatePaneWidget.ts +2 -1
- package/front_end/panels/elements/ElementsTreeElement.ts +455 -372
- package/front_end/panels/elements/LayoutPane.ts +2 -8
- package/front_end/panels/elements/StylePropertyTreeElement.ts +16 -15
- package/front_end/panels/elements/elements-meta.ts +152 -10
- package/front_end/panels/elements/elements.ts +0 -2
- package/front_end/panels/emulation/DeviceModeView.ts +9 -1
- package/front_end/panels/event_listeners/EventListenersView.ts +8 -4
- package/front_end/panels/issues/AffectedTrackingSitesView.ts +25 -14
- package/front_end/panels/lighthouse/LighthouseController.ts +3 -2
- package/front_end/panels/media/PlayerMessagesView.ts +149 -68
- package/front_end/panels/network/BinaryResourceView.ts +134 -81
- package/front_end/panels/network/EventSourceMessagesView.ts +10 -10
- package/front_end/panels/network/FetchHeaderCommenting.ts +291 -0
- package/front_end/panels/network/NetworkConfigView.ts +10 -10
- package/front_end/panels/network/NetworkDataGridNode.ts +14 -14
- package/front_end/panels/network/NetworkItemView.ts +27 -28
- package/front_end/panels/network/NetworkLogView.ts +137 -38
- package/front_end/panels/network/NetworkLogViewColumns.ts +35 -35
- package/front_end/panels/network/NetworkManageCustomHeadersView.ts +1 -1
- package/front_end/panels/network/NetworkPanel.ts +2 -2
- package/front_end/panels/network/RequestConditionsDrawer.ts +5 -5
- package/front_end/panels/network/RequestCookiesView.ts +4 -4
- package/front_end/panels/network/RequestHeadersView.ts +5 -5
- package/front_end/panels/network/RequestPayloadView.ts +4 -3
- package/front_end/panels/network/RequestTimingView.ts +8 -8
- package/front_end/panels/network/ResourceChunkView.ts +1 -1
- package/front_end/panels/network/ResourceDirectSocketChunkView.ts +1 -1
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +16 -16
- package/front_end/panels/network/binaryResourceView.css +14 -12
- package/front_end/panels/network/components/DirectSocketConnectionView.ts +2 -2
- package/front_end/panels/network/components/HeaderSectionRow.ts +1 -1
- package/front_end/panels/network/components/RequestTrustTokensView.ts +2 -2
- package/front_end/panels/network/network-meta.ts +1 -1
- package/front_end/panels/network/network.ts +2 -0
- package/front_end/panels/profiler/HeapDetachedElementsDataGrid.ts +0 -1
- package/front_end/panels/profiler/HeapSnapshotView.ts +0 -2
- package/front_end/panels/profiler/heapProfiler.css +0 -9
- package/front_end/panels/recorder/RecorderPanel.ts +2 -3
- package/front_end/panels/screencast/ScreencastView.ts +148 -138
- package/front_end/panels/sources/AiCodeCompletionPlugin.ts +2 -2
- package/front_end/panels/sources/BreakpointsView.ts +2 -2
- package/front_end/panels/sources/DebuggerPlugin.ts +10 -59
- package/front_end/panels/sources/NavigatorView.ts +2 -1
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +1 -1
- package/front_end/panels/sources/SourcesPanel.ts +23 -73
- package/front_end/panels/sources/SourcesView.ts +248 -157
- package/front_end/panels/sources/TabbedEditorContainer.ts +118 -23
- package/front_end/panels/sources/UISourceCodeFrame.ts +5 -9
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +4 -2
- package/front_end/panels/sources/sources-meta.ts +52 -0
- package/front_end/panels/timeline/TimelineController.ts +36 -64
- package/front_end/panels/timeline/TimelinePanel.ts +11 -8
- package/front_end/panels/timeline/TimelineUIUtils.ts +5 -2
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +2 -2
- package/front_end/panels/timeline/timelinePanel.css +0 -10
- package/front_end/panels/utils/utils.ts +7 -7
- package/front_end/services/tracing/PerformanceTracing.ts +5 -17
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
- package/front_end/third_party/codemirror.next/package.json +2 -2
- package/front_end/third_party/codemirror.next/rebuild.sh +4 -1
- package/front_end/ui/comments/CommentAnchorResolver.ts +430 -35
- package/front_end/ui/comments/CommentOverlayManager.ts +635 -0
- package/front_end/ui/comments/CommentsOverlayWidget.ts +134 -0
- package/front_end/ui/comments/comments.ts +4 -0
- package/front_end/ui/comments/commentsOverlay.css +49 -0
- package/front_end/{panels/common → ui/components/dialogs}/FreDialog.ts +6 -6
- package/front_end/ui/components/dialogs/TypeToAllowDialog.ts +96 -0
- package/front_end/ui/components/dialogs/dialogs.ts +4 -0
- package/front_end/ui/components/settings/SettingCheckbox.ts +3 -3
- package/front_end/{panels/common → ui/components/text_editor}/AiCodeCompletionDisclaimer.ts +13 -13
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +7 -6
- package/front_end/{panels/common → ui/components/text_editor}/AiCodeCompletionTeaser.ts +43 -46
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +22 -26
- package/front_end/{panels/common → ui/components/text_editor}/AiCodeGenerationTeaser.ts +10 -10
- package/front_end/{panels/common → ui/components/text_editor}/AiCodeGenerationUpgradeDialog.ts +5 -5
- package/front_end/ui/components/text_editor/text_editor.ts +4 -0
- package/front_end/ui/legacy/Toolbar.ts +1 -1
- package/front_end/ui/legacy/UIUtils.ts +0 -56
- package/front_end/ui/legacy/View.ts +10 -4
- package/front_end/ui/legacy/Widget.ts +10 -1
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +2 -1
- package/front_end/ui/legacy/components/color_picker/ContrastOverlay.ts +5 -4
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +11 -3
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +507 -209
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +5 -0
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +11 -16
- package/front_end/ui/legacy/components/settings_ui/SettingsUI.ts +5 -12
- package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +38 -20
- package/front_end/ui/legacy/components/source_frame/JSONView.ts +12 -2
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +3 -3
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +37 -6
- package/front_end/ui/legacy/components/source_frame/StreamingContentHexView.ts +22 -4
- package/front_end/ui/settings/SettingUIRegistration.ts +55 -6
- package/front_end/ui/visual_logging/KnownContextValues.ts +3 -0
- package/mcp/mcp.ts +6 -1
- package/package.json +6 -6
- package/front_end/Images/toolbarResizerVertical.png +0 -0
- package/front_end/emulated_devices/MotoG4-landscape.svg +0 -155
- package/front_end/emulated_devices/MotoG4-portrait.svg +0 -155
- package/front_end/emulated_devices/Nexus5X-landscape.svg +0 -19
- package/front_end/emulated_devices/Nexus5X-portrait.svg +0 -19
- package/front_end/emulated_devices/Nexus6P-landscape.svg +0 -50
- package/front_end/emulated_devices/Nexus6P-portrait.svg +0 -54
- package/front_end/emulated_devices/google-nest-hub-horizontal.png +0 -0
- package/front_end/emulated_devices/google-nest-hub-max-horizontal.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-default-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-default-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-keyboard-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-navigation-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-horizontal-navigation-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-default-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-default-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-keyboard-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-keyboard-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-navigation-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5-vertical-navigation-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-default-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-default-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-keyboard-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-keyboard-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-navigation-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-horizontal-navigation-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-default-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-default-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-keyboard-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-keyboard-2x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-navigation-1x.png +0 -0
- package/front_end/emulated_devices/google-nexus-5x-vertical-navigation-2x.png +0 -0
- package/front_end/emulated_devices/iPad-landscape.svg +0 -73
- package/front_end/emulated_devices/iPad-portrait.svg +0 -76
- package/front_end/emulated_devices/iPhone5-landscape.svg +0 -99
- package/front_end/emulated_devices/iPhone5-portrait.svg +0 -83
- package/front_end/emulated_devices/iPhone6-landscape.svg +0 -111
- package/front_end/emulated_devices/iPhone6-portrait.svg +0 -116
- package/front_end/emulated_devices/iPhone6Plus-landscape.svg +0 -118
- package/front_end/emulated_devices/iPhone6Plus-portrait.svg +0 -116
- package/front_end/emulated_devices/optimized/MotoG4-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/MotoG4-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/Nexus5X-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/Nexus5X-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/Nexus6P-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/Nexus6P-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/README.md +0 -9
- package/front_end/emulated_devices/optimized/google-nest-hub-horizontal.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nest-hub-max-horizontal.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-default-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-default-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-navigation-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-horizontal-navigation-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-default-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-default-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-keyboard-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-keyboard-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-navigation-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5-vertical-navigation-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-default-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-default-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-default-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-default-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-navigation-1x.avif +0 -0
- package/front_end/emulated_devices/optimized/google-nexus-5x-vertical-navigation-2x.avif +0 -0
- package/front_end/emulated_devices/optimized/iPad-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/iPad-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone5-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone5-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone6-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone6-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone6Plus-landscape.avif +0 -0
- package/front_end/emulated_devices/optimized/iPhone6Plus-portrait.avif +0 -0
- package/front_end/emulated_devices/optimized/optimized_images.gni +0 -53
- package/front_end/models/ai_assistance/agents/README.md +0 -136
- package/front_end/panels/elements/ElementsTreeOutlineRenderer.ts +0 -89
- package/front_end/ui/legacy/components/object_ui/object_ui-meta.ts +0 -27
- /package/front_end/{panels/common → ui/components/dialogs}/freDialog.css +0 -0
- /package/front_end/{panels/common/common.css → ui/components/dialogs/typeToAllowDialog.css} +0 -0
- /package/front_end/{panels/common → ui/components/text_editor}/aiCodeCompletionDisclaimer.css +0 -0
- /package/front_end/{panels/common → ui/components/text_editor}/aiCodeCompletionTeaser.css +0 -0
- /package/front_end/{panels/common → ui/components/text_editor}/aiCodeGenerationTeaser.css +0 -0
- /package/front_end/{panels/common → ui/components/text_editor}/aiCodeGenerationUpgradeDialog.css +0 -0
|
@@ -461,15 +461,9 @@ export class LayoutPane extends UI.Widget.Widget {
|
|
|
461
461
|
const mappedSetting = {
|
|
462
462
|
type: settingType,
|
|
463
463
|
name: setting.name,
|
|
464
|
-
title: uiDescriptor?.title
|
|
464
|
+
title: uiDescriptor?.title ?? '',
|
|
465
465
|
};
|
|
466
|
-
const options = uiDescriptor?.options
|
|
467
|
-
value: opt.value,
|
|
468
|
-
title: opt.title(),
|
|
469
|
-
text: typeof opt.text === 'function' ? opt.text() : opt.text,
|
|
470
|
-
raw: opt.raw,
|
|
471
|
-
})) ??
|
|
472
|
-
setting.options();
|
|
466
|
+
const options = uiDescriptor?.options ?? [];
|
|
473
467
|
|
|
474
468
|
if (typeof settingValue === 'boolean') {
|
|
475
469
|
settings.push({
|
|
@@ -983,22 +983,23 @@ export class ColorMixRenderer extends rendererBase(SDK.CSSPropertyParserMatchers
|
|
|
983
983
|
return false;
|
|
984
984
|
};
|
|
985
985
|
|
|
986
|
-
const childTracingContexts =
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
986
|
+
const childTracingContexts = context.tracing?.evaluation(
|
|
987
|
+
match.space.length ? [match.color1, match.color2, match.space] : [match.color1, match.color2],
|
|
988
|
+
{match, context});
|
|
989
|
+
const color1RenderingContext = childTracingContexts?.at(0)?.renderingContext(context) ?? context;
|
|
990
|
+
const color2RenderingContext = childTracingContexts?.at(1)?.renderingContext(context) ?? context;
|
|
991
|
+
const spaceRenderingContext = childTracingContexts?.at(2)?.renderingContext(context) ?? context;
|
|
990
992
|
|
|
991
993
|
const contentChild = document.createElement('span');
|
|
992
|
-
const color1 = Renderer.renderInto(match.color1,
|
|
993
|
-
const color2 = Renderer.renderInto(match.color2,
|
|
994
|
-
render(
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
contentChild);
|
|
994
|
+
const color1 = Renderer.renderInto(match.color1, color1RenderingContext, contentChild);
|
|
995
|
+
const color2 = Renderer.renderInto(match.color2, color2RenderingContext, contentChild);
|
|
996
|
+
render(html`${
|
|
997
|
+
this.#treeElement?.getTracingTooltip('color-mix', match.node, this.#matchedStyles, this.#computedStyles,
|
|
998
|
+
this.#computedStyleExtraFields, context) ??
|
|
999
|
+
'color-mix'}(${
|
|
1000
|
+
match.space.length ? html`${Renderer.render(match.space, spaceRenderingContext).nodes}, ` :
|
|
1001
|
+
''}${color1.nodes}, ${color2.nodes})`,
|
|
1002
|
+
contentChild);
|
|
1002
1003
|
|
|
1003
1004
|
const color1Controls = color1.cssControls.get('color') ?? [];
|
|
1004
1005
|
const color2Controls = color2.cssControls.get('color') ?? [];
|
|
@@ -1011,7 +1012,7 @@ export class ColorMixRenderer extends rendererBase(SDK.CSSPropertyParserMatchers
|
|
|
1011
1012
|
const space = match.space.map(space => context.matchedResult.getComputedText(space)).join(' ');
|
|
1012
1013
|
const color1Text = match.color1.map(color => context.matchedResult.getComputedText(color)).join(' ');
|
|
1013
1014
|
const color2Text = match.color2.map(color => context.matchedResult.getComputedText(color)).join(' ');
|
|
1014
|
-
const colorMixText = `color-mix(${space}, ${color1Text}, ${color2Text})`;
|
|
1015
|
+
const colorMixText = `color-mix(${space ? `${space}, ` : ''}${color1Text}, ${color2Text})`;
|
|
1015
1016
|
|
|
1016
1017
|
const nodeId = this.#stylesContainer.node()?.id;
|
|
1017
1018
|
if (nodeId !== undefined && childTracingContexts) {
|
|
@@ -7,10 +7,75 @@ import * as i18n from '../../core/i18n/i18n.js';
|
|
|
7
7
|
import * as Root from '../../core/root/root.js';
|
|
8
8
|
import * as SDK from '../../core/sdk/sdk.js';
|
|
9
9
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
10
|
+
import * as SettingsUI from '../../ui/settings/settings.js';
|
|
10
11
|
|
|
11
12
|
import * as Elements from './elements.js';
|
|
12
13
|
|
|
13
14
|
const UIStrings = {
|
|
15
|
+
/**
|
|
16
|
+
* @description Text of a setting that turn on the measuring rulers when hover over a target.
|
|
17
|
+
*/
|
|
18
|
+
rulersOnHover: 'Rulers on hover',
|
|
19
|
+
/**
|
|
20
|
+
* @description Text of an option that turn on the measuring rulers when hover over a target through the Command Menu.
|
|
21
|
+
*/
|
|
22
|
+
showRulersOnHover: 'Show rulers on hover',
|
|
23
|
+
/**
|
|
24
|
+
* @description Text of a setting that do turn off the measuring rulers when hover over a target.
|
|
25
|
+
*/
|
|
26
|
+
doNotShowRulersOnHover: 'Don’t show rulers on hover',
|
|
27
|
+
/**
|
|
28
|
+
* @description Title of a setting under the Elements category in Settings.
|
|
29
|
+
*/
|
|
30
|
+
apca: 'Advanced Perceptual Contrast Algorithm (APCA) replacing previous contrast ratio and AA/AAA guidelines',
|
|
31
|
+
/**
|
|
32
|
+
* @description Title of a setting that turns on grid area name labels.
|
|
33
|
+
*/
|
|
34
|
+
showAreaNames: 'Show area names',
|
|
35
|
+
/**
|
|
36
|
+
* @description Title of a setting under the Grid category that turns CSS Grid Area highlighting on.
|
|
37
|
+
*/
|
|
38
|
+
showGridNamedAreas: 'Show grid named areas',
|
|
39
|
+
/**
|
|
40
|
+
* @description Title of a setting under the Grid category that turns CSS Grid Area highlighting off.
|
|
41
|
+
*/
|
|
42
|
+
doNotShowGridNamedAreas: 'Do not show grid named areas',
|
|
43
|
+
/**
|
|
44
|
+
* @description Title of a setting that turns on grid track size labels.
|
|
45
|
+
*/
|
|
46
|
+
showTrackSizes: 'Show track sizes',
|
|
47
|
+
/**
|
|
48
|
+
* @description Title for CSS Grid tooling option.
|
|
49
|
+
*/
|
|
50
|
+
showGridTrackSizes: 'Show grid track sizes',
|
|
51
|
+
/**
|
|
52
|
+
* @description Title for CSS Grid tooling option.
|
|
53
|
+
*/
|
|
54
|
+
doNotShowGridTrackSizes: 'Do not show grid track sizes',
|
|
55
|
+
/**
|
|
56
|
+
* @description Title of a setting that turns on grid extension lines.
|
|
57
|
+
*/
|
|
58
|
+
extendGridLines: 'Extend grid lines',
|
|
59
|
+
/**
|
|
60
|
+
* @description Title of a setting that turns off the grid extension lines.
|
|
61
|
+
*/
|
|
62
|
+
doNotExtendGridLines: 'Do not extend grid lines',
|
|
63
|
+
/**
|
|
64
|
+
* @description Title of a setting that turns on grid line labels.
|
|
65
|
+
*/
|
|
66
|
+
showLineLabels: 'Show line labels',
|
|
67
|
+
/**
|
|
68
|
+
* @description Title of a setting that turns off the grid line labels.
|
|
69
|
+
*/
|
|
70
|
+
hideLineLabels: 'Hide line labels',
|
|
71
|
+
/**
|
|
72
|
+
* @description Title of a setting that turns on grid line number labels.
|
|
73
|
+
*/
|
|
74
|
+
showLineNumbers: 'Show line numbers',
|
|
75
|
+
/**
|
|
76
|
+
* @description Title of a setting that turns on grid line name labels.
|
|
77
|
+
*/
|
|
78
|
+
showLineNames: 'Show line names',
|
|
14
79
|
/**
|
|
15
80
|
* @description Command for showing the 'Elements' panel. Elements refers to HTML elements.
|
|
16
81
|
*/
|
|
@@ -696,16 +761,6 @@ UI.Toolbar.registerToolbarItem({
|
|
|
696
761
|
order: 0,
|
|
697
762
|
});
|
|
698
763
|
|
|
699
|
-
UI.UIUtils.registerRenderer({
|
|
700
|
-
contextTypes() {
|
|
701
|
-
return [SDK.DOMModel.DOMNode, SDK.DOMModel.DeferredDOMNode];
|
|
702
|
-
},
|
|
703
|
-
async loadRenderer() {
|
|
704
|
-
const Elements = await loadElementsModule();
|
|
705
|
-
return Elements.ElementsTreeOutlineRenderer.Renderer.instance();
|
|
706
|
-
},
|
|
707
|
-
});
|
|
708
|
-
|
|
709
764
|
Common.Settings.registerSettingExtension({
|
|
710
765
|
category: Common.Settings.SettingCategory.NONE,
|
|
711
766
|
storageType: Common.Settings.SettingStorageType.GLOBAL,
|
|
@@ -714,3 +769,90 @@ Common.Settings.registerSettingExtension({
|
|
|
714
769
|
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
715
770
|
defaultValue: true,
|
|
716
771
|
});
|
|
772
|
+
|
|
773
|
+
SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.showMetricsRulersSettingDescriptor, {
|
|
774
|
+
category: Common.Settings.SettingCategory.ELEMENTS,
|
|
775
|
+
title: i18nLazyString(UIStrings.rulersOnHover),
|
|
776
|
+
options: [
|
|
777
|
+
{
|
|
778
|
+
value: true,
|
|
779
|
+
title: i18nLazyString(UIStrings.showRulersOnHover),
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
value: false,
|
|
783
|
+
title: i18nLazyString(UIStrings.doNotShowRulersOnHover),
|
|
784
|
+
},
|
|
785
|
+
],
|
|
786
|
+
});
|
|
787
|
+
|
|
788
|
+
SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.apcaSettingDescriptor, {
|
|
789
|
+
category: Common.Settings.SettingCategory.ELEMENTS,
|
|
790
|
+
title: i18nLazyString(UIStrings.apca),
|
|
791
|
+
});
|
|
792
|
+
|
|
793
|
+
SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.showGridAreasSettingDescriptor, {
|
|
794
|
+
category: Common.Settings.SettingCategory.GRID,
|
|
795
|
+
title: i18nLazyString(UIStrings.showAreaNames),
|
|
796
|
+
options: [
|
|
797
|
+
{
|
|
798
|
+
value: true,
|
|
799
|
+
title: i18nLazyString(UIStrings.showGridNamedAreas),
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
value: false,
|
|
803
|
+
title: i18nLazyString(UIStrings.doNotShowGridNamedAreas),
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
});
|
|
807
|
+
|
|
808
|
+
SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.showGridTrackSizesSettingDescriptor, {
|
|
809
|
+
category: Common.Settings.SettingCategory.GRID,
|
|
810
|
+
title: i18nLazyString(UIStrings.showTrackSizes),
|
|
811
|
+
options: [
|
|
812
|
+
{
|
|
813
|
+
value: true,
|
|
814
|
+
title: i18nLazyString(UIStrings.showGridTrackSizes),
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
value: false,
|
|
818
|
+
title: i18nLazyString(UIStrings.doNotShowGridTrackSizes),
|
|
819
|
+
},
|
|
820
|
+
],
|
|
821
|
+
});
|
|
822
|
+
|
|
823
|
+
SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.extendGridLinesSettingDescriptor, {
|
|
824
|
+
category: Common.Settings.SettingCategory.GRID,
|
|
825
|
+
title: i18nLazyString(UIStrings.extendGridLines),
|
|
826
|
+
options: [
|
|
827
|
+
{
|
|
828
|
+
value: true,
|
|
829
|
+
title: i18nLazyString(UIStrings.extendGridLines),
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
value: false,
|
|
833
|
+
title: i18nLazyString(UIStrings.doNotExtendGridLines),
|
|
834
|
+
},
|
|
835
|
+
],
|
|
836
|
+
});
|
|
837
|
+
|
|
838
|
+
SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.showGridLineLabelsSettingDescriptor, {
|
|
839
|
+
category: Common.Settings.SettingCategory.GRID,
|
|
840
|
+
title: i18nLazyString(UIStrings.showLineLabels),
|
|
841
|
+
options: [
|
|
842
|
+
{
|
|
843
|
+
title: i18nLazyString(UIStrings.hideLineLabels),
|
|
844
|
+
text: i18nLazyString(UIStrings.hideLineLabels),
|
|
845
|
+
value: 'none',
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
title: i18nLazyString(UIStrings.showLineNumbers),
|
|
849
|
+
text: i18nLazyString(UIStrings.showLineNumbers),
|
|
850
|
+
value: 'lineNumbers',
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
title: i18nLazyString(UIStrings.showLineNames),
|
|
854
|
+
text: i18nLazyString(UIStrings.showLineNames),
|
|
855
|
+
value: 'lineNames',
|
|
856
|
+
},
|
|
857
|
+
],
|
|
858
|
+
});
|
|
@@ -45,7 +45,6 @@ import * as ElementsSidebarPane from './ElementsSidebarPane.js';
|
|
|
45
45
|
import * as ElementStatePaneWidget from './ElementStatePaneWidget.js';
|
|
46
46
|
import * as ElementsTreeElement from './ElementsTreeElement.js';
|
|
47
47
|
import * as ElementsTreeOutline from './ElementsTreeOutline.js';
|
|
48
|
-
import * as ElementsTreeOutlineRenderer from './ElementsTreeOutlineRenderer.js';
|
|
49
48
|
import * as EventListenersWidget from './EventListenersWidget.js';
|
|
50
49
|
import * as ImagePreviewPopover from './ImagePreviewPopover.js';
|
|
51
50
|
import * as InspectElementModeController from './InspectElementModeController.js';
|
|
@@ -83,7 +82,6 @@ export {
|
|
|
83
82
|
ElementStatePaneWidget,
|
|
84
83
|
ElementsTreeElement,
|
|
85
84
|
ElementsTreeOutline,
|
|
86
|
-
ElementsTreeOutlineRenderer,
|
|
87
85
|
EventListenersWidget,
|
|
88
86
|
ImagePreviewPopover,
|
|
89
87
|
InspectElementModeController,
|
|
@@ -287,7 +287,7 @@ export class DeviceModeView extends UI.Widget.VBox {
|
|
|
287
287
|
const model = EmulationModel.DeviceModeModel.DeviceModeModel.instance();
|
|
288
288
|
this.#showDeviceModeSetting = model.enabledSetting();
|
|
289
289
|
this.#showDeviceModeSetting.setRequiresUserAction(Boolean(Root.Runtime.Runtime.queryParam('hasOtherClients')));
|
|
290
|
-
this.#showDeviceModeSetting.addChangeListener(this
|
|
290
|
+
this.#showDeviceModeSetting.addChangeListener(this.#showDeviceModeChanged, this);
|
|
291
291
|
SDK.TargetManager.TargetManager.instance().addModelListener(SDK.OverlayModel.OverlayModel,
|
|
292
292
|
SDK.OverlayModel.Events.SCREENSHOT_REQUESTED,
|
|
293
293
|
this.screenshotRequestedFromOverlay, this);
|
|
@@ -296,6 +296,14 @@ export class DeviceModeView extends UI.Widget.VBox {
|
|
|
296
296
|
UI.ZoomManager.ZoomManager.instance().addEventListener(UI.ZoomManager.Events.ZOOM_CHANGED, this.zoomChanged, this);
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
+
#showDeviceModeChanged(): void {
|
|
300
|
+
if (!this.#showDeviceModeSetting.get()) {
|
|
301
|
+
this.model.emulate(EmulationModel.DeviceModeModel.Type.None, null, null);
|
|
302
|
+
this.model.exitHingeMode();
|
|
303
|
+
}
|
|
304
|
+
this.requestUpdate();
|
|
305
|
+
}
|
|
306
|
+
|
|
299
307
|
override performUpdate(): void {
|
|
300
308
|
this.#toggleDeviceModeAction.setToggled(this.#showDeviceModeSetting.get());
|
|
301
309
|
const input: DeviceModeViewInput = {
|
|
@@ -14,6 +14,7 @@ import * as ObjectUI from '../../ui/legacy/components/object_ui/object_ui.js';
|
|
|
14
14
|
import objectValueStyles from '../../ui/legacy/components/object_ui/objectValue.css.js';
|
|
15
15
|
import * as Components from '../../ui/legacy/components/utils/utils.js';
|
|
16
16
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
17
|
+
import {render} from '../../ui/lit/lit.js';
|
|
17
18
|
import * as VisualLogging from '../../ui/visual_logging/visual_logging.js';
|
|
18
19
|
|
|
19
20
|
import {frameworkEventListeners, type FrameworkEventListenersObject} from './EventListenersUtils.js';
|
|
@@ -325,10 +326,13 @@ export class ObjectEventListenerBar extends UI.TreeOutline.TreeElement {
|
|
|
325
326
|
private setTitle(object: SDK.RemoteObject.RemoteObject, linkifier: Components.Linkifier.Linkifier): void {
|
|
326
327
|
const title = this.listItemElement.createChild('span', 'event-listener-details');
|
|
327
328
|
|
|
328
|
-
const propertyValue = ObjectUI.ObjectPropertiesSection.
|
|
329
|
-
object, /* wasThrown */ false, /* showPreview */ false
|
|
330
|
-
|
|
331
|
-
|
|
329
|
+
const propertyValue = ObjectUI.ObjectPropertiesSection.renderPropertyValue(
|
|
330
|
+
object, /* wasThrown */ false, /* showPreview */ false, linkifier, /* isSyntheticProperty */ false,
|
|
331
|
+
/* variableName */ undefined, /* includeNullOrUndefined */ undefined, /* useCustomPreview */ false, element => {
|
|
332
|
+
this.valueTitle = element;
|
|
333
|
+
});
|
|
334
|
+
// eslint-disable-next-line @devtools/no-lit-render-outside-of-view
|
|
335
|
+
render(propertyValue, title);
|
|
332
336
|
|
|
333
337
|
if (this.#eventListener.canRemove()) {
|
|
334
338
|
const deleteButton = new Buttons.Button.Button();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Copyright 2023 The Chromium Authors
|
|
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
|
-
/* eslint-disable @devtools/no-imperative-dom-api */
|
|
5
4
|
|
|
6
5
|
import * as i18n from '../../core/i18n/i18n.js';
|
|
7
6
|
import type * as Platform from '../../core/platform/platform.js';
|
|
7
|
+
import {html, render} from '../../ui/lit/lit.js';
|
|
8
8
|
|
|
9
9
|
import {AffectedResourcesView} from './AffectedResourcesView.js';
|
|
10
10
|
|
|
@@ -21,24 +21,35 @@ const UIStrings = {
|
|
|
21
21
|
const str_ = i18n.i18n.registerUIStrings('panels/issues/AffectedTrackingSitesView.ts', UIStrings);
|
|
22
22
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
23
23
|
|
|
24
|
+
export interface ViewInput {
|
|
25
|
+
trackingSites: readonly string[];
|
|
26
|
+
}
|
|
27
|
+
export type ViewOutput = object;
|
|
28
|
+
export type View = (input: ViewInput, output: ViewOutput, target: HTMLElement) => void;
|
|
29
|
+
|
|
30
|
+
export function defaultView(input: ViewInput, output: ViewOutput, target: HTMLElement): void {
|
|
31
|
+
render(html`
|
|
32
|
+
<tbody>
|
|
33
|
+
${input.trackingSites.map(site => html`
|
|
34
|
+
<tr class="affected-resource-directive">
|
|
35
|
+
<td class="affected-resource-cell" title=${site}>${site}</td>
|
|
36
|
+
</tr>
|
|
37
|
+
`)}
|
|
38
|
+
</tbody>
|
|
39
|
+
`,
|
|
40
|
+
target);
|
|
41
|
+
}
|
|
42
|
+
|
|
24
43
|
export class AffectedTrackingSitesView extends AffectedResourcesView {
|
|
44
|
+
#view: View = defaultView;
|
|
45
|
+
|
|
25
46
|
protected override getResourceNameWithCount(count: number): Platform.UIString.LocalizedString {
|
|
26
47
|
return i18nString(UIStrings.nTrackingSites, {n: count});
|
|
27
48
|
}
|
|
28
49
|
|
|
29
50
|
override update(): void {
|
|
30
|
-
this.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
for (const site of trackingSites) {
|
|
35
|
-
const row = document.createElement('tr');
|
|
36
|
-
row.classList.add('affected-resource-directive');
|
|
37
|
-
|
|
38
|
-
this.appendIssueDetailCell(row, site);
|
|
39
|
-
this.affectedResources.appendChild(row);
|
|
40
|
-
count++;
|
|
41
|
-
}
|
|
42
|
-
this.updateAffectedResourceCount(count);
|
|
51
|
+
const trackingSites = Array.from(this.issue.getBounceTrackingSites());
|
|
52
|
+
this.#view({trackingSites}, {}, this.affectedResources);
|
|
53
|
+
this.updateAffectedResourceCount(trackingSites.length);
|
|
43
54
|
}
|
|
44
55
|
}
|
|
@@ -385,7 +385,8 @@ export class LighthouseController extends Common.ObjectWrapper.ObjectWrapper<Eve
|
|
|
385
385
|
runtimeSetting.setting.addChangeListener(this.recomputePageAuditability.bind(this));
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
const javaScriptDisabledSetting =
|
|
388
|
+
const javaScriptDisabledSetting =
|
|
389
|
+
Common.Settings.Settings.instance().resolve(SDK.SDKSettings.javaScriptDisabledSettingDescriptor);
|
|
389
390
|
javaScriptDisabledSetting.addChangeListener(this.recomputePageAuditability.bind(this));
|
|
390
391
|
|
|
391
392
|
SDK.TargetManager.TargetManager.instance().observeModels(SDK.ServiceWorkerManager.ServiceWorkerManager, this);
|
|
@@ -494,7 +495,7 @@ export class LighthouseController extends Common.ObjectWrapper.ObjectWrapper<Eve
|
|
|
494
495
|
}
|
|
495
496
|
|
|
496
497
|
private javaScriptDisabled(): boolean {
|
|
497
|
-
return Common.Settings.Settings.instance().
|
|
498
|
+
return Common.Settings.Settings.instance().resolve(SDK.SDKSettings.javaScriptDisabledSettingDescriptor).get();
|
|
498
499
|
}
|
|
499
500
|
|
|
500
501
|
private async hasImportantResourcesNotCleared(): Promise<string> {
|