chrome-devtools-frontend 1.0.1676824 → 1.0.1679060
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/front_end/Images/src/comment-mode.svg +5 -0
- package/front_end/core/common/EventTarget.ts +0 -5
- 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 -0
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +8 -6
- package/front_end/core/sdk/DebuggerModel.ts +43 -28
- package/front_end/core/sdk/EmulationModel.ts +18 -8
- 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/SDKSettings.ts +163 -0
- package/front_end/core/sdk/sdk-meta.ts +0 -720
- package/front_end/devtools_compatibility.js +1 -0
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotLoader.ts +26 -3
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +6 -5
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +28 -30
- package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +300 -0
- package/front_end/entrypoints/main/MainImpl.ts +0 -31
- package/front_end/entrypoints/shell/shell.ts +1 -1
- package/front_end/foundation/Universe.ts +8 -0
- package/front_end/generated/InspectorBackendCommands.ts +7 -9
- package/front_end/generated/SupportedCSSProperties.ts +32 -0
- package/front_end/generated/protocol-mapping.d.ts +13 -21
- package/front_end/generated/protocol-proxy-api.d.ts +12 -17
- package/front_end/generated/protocol.ts +11 -18
- package/front_end/models/ai_assistance/AiAgent2.ts +45 -9
- package/front_end/models/ai_assistance/agents/AiAgent.ts +31 -7
- package/front_end/models/ai_assistance/agents/ExecuteJavascript.ts +0 -4
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +1 -63
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +13 -0
- package/front_end/models/ai_assistance/ai_assistance.ts +16 -0
- package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +66 -0
- package/front_end/models/ai_assistance/contexts/StorageContext.ts +0 -11
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +20 -0
- package/front_end/models/ai_assistance/skills/accessibility.md +7 -0
- package/front_end/models/ai_assistance/skills/performance.md +24 -6
- package/front_end/models/ai_assistance/skills/storage.md +11 -10
- package/front_end/models/ai_assistance/tools/DOMStorageUtils.ts +63 -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/GetInsightDetails.ts +226 -0
- package/front_end/models/ai_assistance/tools/GetResourceContent.ts +127 -0
- package/front_end/models/ai_assistance/tools/GetStorageValues.ts +195 -0
- package/front_end/models/ai_assistance/tools/GetStyles.ts +0 -2
- package/front_end/models/ai_assistance/tools/ListPageOrigins.ts +17 -3
- package/front_end/models/ai_assistance/tools/ListStorageKeys.ts +142 -0
- package/front_end/models/ai_assistance/tools/RunLighthouse.ts +89 -0
- package/front_end/models/ai_assistance/tools/Tool.ts +7 -0
- package/front_end/models/ai_assistance/tools/ToolRegistry.ts +14 -0
- package/front_end/models/comment_manager/CommentManager.ts +120 -0
- package/front_end/models/comment_manager/comment_manager.ts +9 -0
- package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +61 -30
- package/front_end/models/javascript_metadata/NativeFunctions.js +9 -5
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +25 -0
- package/front_end/panels/accessibility/AccessibilitySidebarView.ts +9 -0
- package/front_end/panels/accessibility/accessibility.ts +2 -0
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +68 -13
- 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/StorageView.ts +116 -45
- package/front_end/panels/application/application-meta.ts +11 -0
- package/front_end/panels/application/components/AdsView.ts +1 -1
- package/front_end/panels/application/preloading/components/PreloadingString.ts +3 -0
- package/front_end/panels/common/ExtensionPanel.ts +9 -8
- package/front_end/panels/console/ConsolePanel.ts +4 -0
- package/front_end/panels/console/ConsolePrompt.ts +12 -0
- package/front_end/panels/console/ConsoleView.ts +11 -1
- 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/StylePropertyTreeElement.ts +16 -15
- package/front_end/panels/elements/StylesSidebarPane.ts +2 -2
- 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/emulation/emulation-meta.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseController.ts +3 -2
- 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 +1 -1
- 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 +3 -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/sensors/SensorsView.ts +3 -3
- package/front_end/panels/sensors/sensors-meta.ts +147 -0
- package/front_end/panels/sources/BreakpointsView.ts +2 -2
- package/front_end/panels/sources/DebuggerPlugin.ts +1 -1
- package/front_end/panels/sources/NavigatorView.ts +2 -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 +2 -1
- package/front_end/panels/sources/sources-meta.ts +52 -0
- package/front_end/services/puppeteer/PuppeteerConnection.ts +18 -2
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +93 -1
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +1082 -765
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.d.ts +7 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.js +15 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.d.ts +6 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.js +15 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Frame.d.ts +6 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Frame.js +7 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/HTTPRequest.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/HTTPRequest.js +4 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/JSHandle.d.ts +7 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/JSHandle.js +14 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts +6 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js +19 -7
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Target.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Target.js +4 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/locators/locators.d.ts +9 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/locators/locators.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/locators/locators.js +35 -9
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/locators/locators.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.js +6 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Browser.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Browser.js +12 -9
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BrowserConnector.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BrowserConnector.js +15 -11
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BrowserContext.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BrowserContext.js +20 -14
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Connection.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Connection.js +7 -7
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Deserializer.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Deserializer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Deserializer.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Deserializer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ElementHandle.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ExposedFunction.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ExposedFunction.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ExposedFunction.js +14 -10
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ExposedFunction.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Frame.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Frame.js +16 -13
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPRequest.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPRequest.js +7 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/JSHandle.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.js +7 -7
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Realm.d.ts +8 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Realm.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Realm.js +23 -14
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Realm.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Target.d.ts +5 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Target.js +9 -9
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/WebWorker.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/WebWorker.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Accessibility.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Accessibility.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Accessibility.js +5 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Accessibility.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Binding.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Binding.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Binding.js +10 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Binding.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.js +24 -23
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/BrowserConnector.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/BrowserConnector.js +9 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/BrowserContext.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/BrowserContext.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/CdpSession.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/CdpSession.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/CdpSession.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/CdpSession.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Connection.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Connection.js +8 -6
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Coverage.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Coverage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Coverage.js +10 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Coverage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/DeviceRequestPrompt.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/DeviceRequestPrompt.js +9 -11
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/DeviceRequestPrompt.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ElementHandle.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ElementHandle.js +6 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/EmulationManager.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/EmulationManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/EmulationManager.js +11 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/EmulationManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ExecutionContext.d.ts +8 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ExecutionContext.js +29 -15
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ExecutionContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Extension.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Extension.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Extension.js +6 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Extension.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js +14 -8
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/FrameManager.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/FrameManager.js +143 -56
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/HTTPRequest.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/HTTPRequest.js +10 -6
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/IsolatedWorld.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/IsolatedWorld.js +5 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/IsolatedWorld.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/JSHandle.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/JSHandle.js +8 -6
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/NetworkManager.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/NetworkManager.js +16 -9
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.js +75 -55
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Target.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Target.js +13 -9
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/TargetManager.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/TargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/TargetManager.js +41 -39
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/TargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Tracing.d.ts +25 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Tracing.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Tracing.js +6 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Tracing.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts +4 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js +22 -15
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebWorker.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebWorker.js +17 -11
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.d.ts +7 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.js +9 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.js +9 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/CallbackRegistry.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/CallbackRegistry.js +9 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/CallbackRegistry.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/ConnectOptions.d.ts +20 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts +28 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/EventEmitter.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/EventEmitter.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/EventEmitter.js +7 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/EventEmitter.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Puppeteer.js +6 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/util.d.ts +2 -12
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/util.js +3 -14
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts +13 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js +31 -11
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ChromeLauncher.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ChromeLauncher.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/FirefoxLauncher.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/FirefoxLauncher.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/FirefoxLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.js +9 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PipeTransport.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PipeTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PipeTransport.js +11 -5
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PipeTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PuppeteerNode.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PuppeteerNode.js +11 -11
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PuppeteerNode.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.js +12 -8
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +93 -1
- package/front_end/third_party/puppeteer/package/package.json +4 -4
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +16 -4
- package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +17 -9
- package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +3 -2
- package/front_end/third_party/puppeteer/package/src/api/Frame.ts +9 -2
- package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +5 -3
- package/front_end/third_party/puppeteer/package/src/api/JSHandle.ts +17 -3
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +28 -10
- package/front_end/third_party/puppeteer/package/src/api/Target.ts +3 -1
- package/front_end/third_party/puppeteer/package/src/api/locators/locators.ts +39 -9
- package/front_end/third_party/puppeteer/package/src/bidi/BidiOverCdp.ts +7 -7
- package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +26 -12
- package/front_end/third_party/puppeteer/package/src/bidi/BrowserConnector.ts +18 -7
- package/front_end/third_party/puppeteer/package/src/bidi/BrowserContext.ts +25 -12
- package/front_end/third_party/puppeteer/package/src/bidi/Connection.ts +8 -8
- package/front_end/third_party/puppeteer/package/src/bidi/Deserializer.ts +7 -5
- package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/bidi/ExposedFunction.ts +14 -8
- package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +31 -14
- package/front_end/third_party/puppeteer/package/src/bidi/HTTPRequest.ts +10 -3
- package/front_end/third_party/puppeteer/package/src/bidi/JSHandle.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +11 -5
- package/front_end/third_party/puppeteer/package/src/bidi/Realm.ts +31 -10
- package/front_end/third_party/puppeteer/package/src/bidi/Target.ts +10 -8
- package/front_end/third_party/puppeteer/package/src/bidi/WebWorker.ts +6 -2
- package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +5 -3
- package/front_end/third_party/puppeteer/package/src/cdp/Binding.ts +10 -3
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +49 -40
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +10 -2
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +8 -2
- package/front_end/third_party/puppeteer/package/src/cdp/CdpSession.ts +3 -1
- package/front_end/third_party/puppeteer/package/src/cdp/Connection.ts +9 -6
- package/front_end/third_party/puppeteer/package/src/cdp/Coverage.ts +13 -5
- package/front_end/third_party/puppeteer/package/src/cdp/DeviceRequestPrompt.ts +13 -25
- package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +6 -3
- package/front_end/third_party/puppeteer/package/src/cdp/EmulationManager.ts +12 -5
- package/front_end/third_party/puppeteer/package/src/cdp/ExecutionContext.ts +48 -31
- package/front_end/third_party/puppeteer/package/src/cdp/Extension.ts +6 -3
- package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +18 -5
- package/front_end/third_party/puppeteer/package/src/cdp/FrameManager.ts +77 -39
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +10 -5
- package/front_end/third_party/puppeteer/package/src/cdp/IsolatedWorld.ts +6 -2
- package/front_end/third_party/puppeteer/package/src/cdp/JSHandle.ts +8 -4
- package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +21 -8
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +47 -27
- package/front_end/third_party/puppeteer/package/src/cdp/Target.ts +25 -6
- package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +47 -51
- package/front_end/third_party/puppeteer/package/src/cdp/Tracing.ts +39 -3
- package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +35 -15
- package/front_end/third_party/puppeteer/package/src/cdp/WebWorker.ts +24 -11
- package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +12 -4
- package/front_end/third_party/puppeteer/package/src/common/BrowserWebSocketTransport.ts +13 -5
- package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +11 -5
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +20 -0
- package/front_end/third_party/puppeteer/package/src/common/Debug.ts +29 -2
- package/front_end/third_party/puppeteer/package/src/common/EventEmitter.ts +7 -2
- package/front_end/third_party/puppeteer/package/src/common/Puppeteer.ts +6 -1
- package/front_end/third_party/puppeteer/package/src/common/util.ts +4 -16
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +51 -6
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +4 -4
- package/front_end/third_party/puppeteer/package/src/node/FirefoxLauncher.ts +5 -5
- package/front_end/third_party/puppeteer/package/src/node/NodeWebSocketTransport.ts +10 -5
- package/front_end/third_party/puppeteer/package/src/node/PipeTransport.ts +11 -3
- package/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts +11 -8
- package/front_end/third_party/puppeteer/package/src/node/ScreenRecorder.ts +12 -8
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/ui/comments/CommentAnchorResolver.ts +4 -35
- package/front_end/ui/comments/{CommentManager.ts → CommentOverlayManager.ts} +52 -57
- package/front_end/ui/comments/CommentsOverlayWidget.ts +101 -18
- package/front_end/ui/comments/comments-meta.ts +51 -0
- package/front_end/ui/comments/comments.ts +2 -2
- package/front_end/ui/components/issue_counter/IssueCounter.ts +3 -1
- package/front_end/ui/legacy/ActionRegistration.ts +1 -0
- package/front_end/ui/legacy/UIUtils.ts +49 -56
- package/front_end/ui/legacy/View.ts +10 -4
- package/front_end/ui/legacy/Widget.ts +11 -2
- 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/ObjectPropertiesSection.ts +251 -61
- package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +38 -20
- package/front_end/ui/legacy/components/source_frame/JSONView.ts +4 -1
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +3 -3
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +35 -4
- package/front_end/ui/legacy/components/source_frame/StreamingContentHexView.ts +22 -4
- package/front_end/ui/visual_logging/KnownContextValues.ts +3 -0
- package/package.json +6 -6
- package/front_end/panels/elements/ElementsTreeOutlineRenderer.ts +0 -89
- package/front_end/ui/legacy/components/object_ui/object_ui-meta.ts +0 -27
|
@@ -6,239 +6,14 @@ import * as Common from '../common/common.js';
|
|
|
6
6
|
import * as i18n from '../i18n/i18n.js';
|
|
7
7
|
|
|
8
8
|
const UIStrings = {
|
|
9
|
-
/**
|
|
10
|
-
* @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
|
|
11
|
-
*/
|
|
12
|
-
disableJavascript: 'Disable JavaScript',
|
|
13
|
-
/**
|
|
14
|
-
* @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
|
|
15
|
-
*/
|
|
16
|
-
enableJavascript: 'Enable JavaScript',
|
|
17
|
-
/**
|
|
18
|
-
* @description Title of a setting under the Debugger category in Settings.
|
|
19
|
-
*/
|
|
20
|
-
disableAsyncStackTraces: 'Disable async stack traces',
|
|
21
|
-
/**
|
|
22
|
-
* @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
|
|
23
|
-
*/
|
|
24
|
-
doNotCaptureAsyncStackTraces: 'Do not capture async stack traces',
|
|
25
|
-
/**
|
|
26
|
-
* @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
|
|
27
|
-
*/
|
|
28
|
-
captureAsyncStackTraces: 'Capture async stack traces',
|
|
29
|
-
/**
|
|
30
|
-
* @description Text of a setting that turn on the measuring rulers when hover over a target.
|
|
31
|
-
*/
|
|
32
|
-
rulersOnHover: 'Rulers on hover',
|
|
33
|
-
/**
|
|
34
|
-
* @description Text of an option that turn on the measuring rulers when hover over a target through the Command Menu.
|
|
35
|
-
*/
|
|
36
|
-
showRulersOnHover: 'Show rulers on hover',
|
|
37
|
-
/**
|
|
38
|
-
* @description Text of a setting that do turn off the measuring rulers when hover over a target.
|
|
39
|
-
*/
|
|
40
|
-
doNotShowRulersOnHover: 'Don’t show rulers on hover',
|
|
41
|
-
/**
|
|
42
|
-
* @description Title of a setting that turns on grid area name labels.
|
|
43
|
-
*/
|
|
44
|
-
showAreaNames: 'Show area names',
|
|
45
|
-
/**
|
|
46
|
-
* @description Title of a setting under the Grid category that turns CSS Grid Area highlighting on.
|
|
47
|
-
*/
|
|
48
|
-
showGridNamedAreas: 'Show grid named areas',
|
|
49
|
-
/**
|
|
50
|
-
* @description Title of a setting under the Grid category that turns CSS Grid Area highlighting off.
|
|
51
|
-
*/
|
|
52
|
-
doNotShowGridNamedAreas: 'Do not show grid named areas',
|
|
53
|
-
/**
|
|
54
|
-
* @description Title of a setting that turns on grid track size labels.
|
|
55
|
-
*/
|
|
56
|
-
showTrackSizes: 'Show track sizes',
|
|
57
|
-
/**
|
|
58
|
-
* @description Title for CSS Grid tooling option.
|
|
59
|
-
*/
|
|
60
|
-
showGridTrackSizes: 'Show grid track sizes',
|
|
61
|
-
/**
|
|
62
|
-
* @description Title for CSS Grid tooling option.
|
|
63
|
-
*/
|
|
64
|
-
doNotShowGridTrackSizes: 'Do not show grid track sizes',
|
|
65
|
-
/**
|
|
66
|
-
* @description Title of a setting that turns on grid extension lines.
|
|
67
|
-
*/
|
|
68
|
-
extendGridLines: 'Extend grid lines',
|
|
69
|
-
/**
|
|
70
|
-
* @description Title of a setting that turns off the grid extension lines.
|
|
71
|
-
*/
|
|
72
|
-
doNotExtendGridLines: 'Do not extend grid lines',
|
|
73
|
-
/**
|
|
74
|
-
* @description Title of a setting that turns on grid line labels.
|
|
75
|
-
*/
|
|
76
|
-
showLineLabels: 'Show line labels',
|
|
77
|
-
/**
|
|
78
|
-
* @description Title of a setting that turns off the grid line labels.
|
|
79
|
-
*/
|
|
80
|
-
hideLineLabels: 'Hide line labels',
|
|
81
|
-
/**
|
|
82
|
-
* @description Title of a setting that turns on grid line number labels.
|
|
83
|
-
*/
|
|
84
|
-
showLineNumbers: 'Show line numbers',
|
|
85
|
-
/**
|
|
86
|
-
* @description Title of a setting that turns on grid line name labels.
|
|
87
|
-
*/
|
|
88
|
-
showLineNames: 'Show line names',
|
|
89
|
-
/**
|
|
90
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
91
|
-
*/
|
|
92
|
-
showPaintFlashingRectangles: 'Show paint flashing rectangles',
|
|
93
|
-
/**
|
|
94
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
95
|
-
*/
|
|
96
|
-
hidePaintFlashingRectangles: 'Hide paint flashing rectangles',
|
|
97
|
-
/**
|
|
98
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
99
|
-
*/
|
|
100
|
-
showLayoutShiftRegions: 'Show layout shift regions',
|
|
101
|
-
/**
|
|
102
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
103
|
-
*/
|
|
104
|
-
hideLayoutShiftRegions: 'Hide layout shift regions',
|
|
105
|
-
/**
|
|
106
|
-
* @description Text to highlight the rendering frames for ads.
|
|
107
|
-
*/
|
|
108
|
-
highlightAdFrames: 'Highlight ad frames',
|
|
109
|
-
/**
|
|
110
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
111
|
-
*/
|
|
112
|
-
doNotHighlightAdFrames: 'Do not highlight ad frames',
|
|
113
|
-
/**
|
|
114
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
115
|
-
*/
|
|
116
|
-
showLayerBorders: 'Show layer borders',
|
|
117
|
-
/**
|
|
118
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
119
|
-
*/
|
|
120
|
-
hideLayerBorders: 'Hide layer borders',
|
|
121
|
-
/**
|
|
122
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
123
|
-
*/
|
|
124
|
-
showFramesPerSecondFpsMeter: 'Show frames per second (FPS) meter',
|
|
125
|
-
/**
|
|
126
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
127
|
-
*/
|
|
128
|
-
hideFramesPerSecondFpsMeter: 'Hide frames per second (FPS) meter',
|
|
129
|
-
/**
|
|
130
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
131
|
-
*/
|
|
132
|
-
showScrollPerformanceBottlenecks: 'Show scroll performance bottlenecks',
|
|
133
|
-
/**
|
|
134
|
-
* @description Title of an option under the Rendering category that can be invoked through the Command Menu.
|
|
135
|
-
*/
|
|
136
|
-
hideScrollPerformanceBottlenecks: 'Hide scroll performance bottlenecks',
|
|
137
|
-
/**
|
|
138
|
-
* @description Title of a Rendering setting that can be invoked through the Command Menu.
|
|
139
|
-
*/
|
|
140
|
-
emulateAFocusedPage: 'Emulate a focused page',
|
|
141
|
-
/**
|
|
142
|
-
* @description Title of a Rendering setting that can be invoked through the Command Menu.
|
|
143
|
-
*/
|
|
144
|
-
doNotEmulateAFocusedPage: 'Do not emulate a focused page',
|
|
145
|
-
/**
|
|
146
|
-
* @description Title of a setting under the Rendering category that can be invoked through the Command Menu.
|
|
147
|
-
*/
|
|
148
|
-
doNotEmulateCssMediaType: 'Do not emulate CSS media type',
|
|
149
9
|
/**
|
|
150
10
|
* @description A drop-down menu option to do not emulate css media type.
|
|
151
11
|
*/
|
|
152
12
|
noEmulation: 'No emulation',
|
|
153
|
-
/**
|
|
154
|
-
* @description Text for the CPU Pressure type to simulate on a device.
|
|
155
|
-
*/
|
|
156
|
-
cpuPressure: 'CPU Pressure',
|
|
157
|
-
/**
|
|
158
|
-
* @description Title of an option in Sensors tab cpu pressure emulation drop-down. Turns off emulation of cpu pressure state.
|
|
159
|
-
*/
|
|
160
|
-
noPressureEmulation: 'No override',
|
|
161
|
-
/**
|
|
162
|
-
* @description An option that appears in a drop-down that represents the nominal state.
|
|
163
|
-
*/
|
|
164
|
-
nominal: 'Nominal',
|
|
165
|
-
/**
|
|
166
|
-
* @description An option that appears in a drop-down that represents the fair state.
|
|
167
|
-
*/
|
|
168
|
-
fair: 'Fair',
|
|
169
|
-
/**
|
|
170
|
-
* @description An option that appears in a drop-down that represents the serious state.
|
|
171
|
-
*/
|
|
172
|
-
serious: 'Serious',
|
|
173
|
-
/**
|
|
174
|
-
* @description An option that appears in a drop-down that represents the critical state.
|
|
175
|
-
*/
|
|
176
|
-
critical: 'Critical',
|
|
177
|
-
/**
|
|
178
|
-
* @description Text for the touch type to simulate on a device. Refers to touch input as opposed to
|
|
179
|
-
* mouse input.
|
|
180
|
-
*/
|
|
181
|
-
touch: 'Touch',
|
|
182
|
-
/**
|
|
183
|
-
* @description Text in Sensors View of the Device Toolbar. Means that touch input will be forced
|
|
184
|
-
*on, even if the device type e.g. desktop computer does not normally have touch input.
|
|
185
|
-
*/
|
|
186
|
-
forceEnabled: 'Force enabled',
|
|
187
|
-
/**
|
|
188
|
-
* @description Text in Sensors View of the Device Toolbar. Refers to device-based touch input,
|
|
189
|
-
*which means the input type will be 'touch' only if the device normally has touch input e.g. a
|
|
190
|
-
*phone or tablet.
|
|
191
|
-
*/
|
|
192
|
-
devicebased: 'Device-based',
|
|
193
|
-
/**
|
|
194
|
-
* @description Title of a section option in Sensors tab for idle emulation. This is a command, to
|
|
195
|
-
*emulate the state of the 'Idle Detector'.
|
|
196
|
-
*/
|
|
197
|
-
emulateIdleDetectorState: 'Emulate Idle Detector state',
|
|
198
|
-
/**
|
|
199
|
-
* @description Title of an option in Sensors tab idle emulation drop-down. Turns off emulation of idle state.
|
|
200
|
-
*/
|
|
201
|
-
noIdleEmulation: 'No idle emulation',
|
|
202
|
-
/**
|
|
203
|
-
* @description Title of an option in Sensors tab idle emulation drop-down.
|
|
204
|
-
*/
|
|
205
|
-
userActiveScreenUnlocked: 'User active, screen unlocked',
|
|
206
|
-
/**
|
|
207
|
-
* @description Title of an option in Sensors tab idle emulation drop-down.
|
|
208
|
-
*/
|
|
209
|
-
userActiveScreenLocked: 'User active, screen locked',
|
|
210
|
-
/**
|
|
211
|
-
* @description Title of an option in Sensors tab idle emulation drop-down.
|
|
212
|
-
*/
|
|
213
|
-
userIdleScreenUnlocked: 'User idle, screen unlocked',
|
|
214
|
-
/**
|
|
215
|
-
* @description Title of an option in Sensors tab idle emulation drop-down.
|
|
216
|
-
*/
|
|
217
|
-
userIdleScreenLocked: 'User idle, screen locked',
|
|
218
|
-
/**
|
|
219
|
-
* @description Title of a setting under the Rendering category that can be invoked through the Command Menu.
|
|
220
|
-
*/
|
|
221
|
-
emulateCssPrintMediaType: 'Emulate CSS print media type',
|
|
222
|
-
/**
|
|
223
|
-
* @description A drop-down menu option to emulate css print media type.
|
|
224
|
-
*/
|
|
225
|
-
print: 'print',
|
|
226
|
-
/**
|
|
227
|
-
* @description Title of a setting under the Rendering category that can be invoked through the Command Menu.
|
|
228
|
-
*/
|
|
229
|
-
emulateCssScreenMediaType: 'Emulate CSS screen media type',
|
|
230
|
-
/**
|
|
231
|
-
* @description A drop-down menu option to emulate css screen media type.
|
|
232
|
-
*/
|
|
233
|
-
screen: 'screen',
|
|
234
13
|
/**
|
|
235
14
|
* @description A tag of Emulate CSS screen media type setting that can be searched in the command menu.
|
|
236
15
|
*/
|
|
237
16
|
query: 'query',
|
|
238
|
-
/**
|
|
239
|
-
* @description Title of a setting under the Rendering drawer.
|
|
240
|
-
*/
|
|
241
|
-
emulateCssMediaType: 'Emulate CSS media type',
|
|
242
17
|
/**
|
|
243
18
|
* @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
|
|
244
19
|
* @example {prefers-color-scheme} PH1
|
|
@@ -440,10 +215,6 @@ const UIStrings = {
|
|
|
440
215
|
* @description Title of a setting under the Console category in Settings.
|
|
441
216
|
*/
|
|
442
217
|
logXmlhttprequests: 'Log XMLHttpRequests',
|
|
443
|
-
/**
|
|
444
|
-
* @description Title of a setting under the Elements category in Settings.
|
|
445
|
-
*/
|
|
446
|
-
apca: 'Advanced Perceptual Contrast Algorithm (APCA) replacing previous contrast ratio and AA/AAA guidelines',
|
|
447
218
|
/**
|
|
448
219
|
* @description Title of a setting under the Appearance category in Settings. When the webpage is
|
|
449
220
|
* paused by devtools, an overlay is shown on top of the page to indicate that it is paused. The
|
|
@@ -455,497 +226,6 @@ const UIStrings = {
|
|
|
455
226
|
const str_ = i18n.i18n.registerUIStrings('core/sdk/sdk-meta.ts', UIStrings);
|
|
456
227
|
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
|
|
457
228
|
|
|
458
|
-
Common.Settings.registerSettingExtension({
|
|
459
|
-
settingName: 'pause-on-uncaught-exception',
|
|
460
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
461
|
-
defaultValue: false,
|
|
462
|
-
});
|
|
463
|
-
|
|
464
|
-
Common.Settings.registerSettingExtension({
|
|
465
|
-
category: Common.Settings.SettingCategory.DEBUGGER,
|
|
466
|
-
title: i18nLazyString(UIStrings.disableJavascript),
|
|
467
|
-
settingName: 'java-script-disabled',
|
|
468
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
469
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
470
|
-
order: 1,
|
|
471
|
-
defaultValue: false,
|
|
472
|
-
options: [
|
|
473
|
-
{
|
|
474
|
-
value: true,
|
|
475
|
-
title: i18nLazyString(UIStrings.disableJavascript),
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
value: false,
|
|
479
|
-
title: i18nLazyString(UIStrings.enableJavascript),
|
|
480
|
-
},
|
|
481
|
-
],
|
|
482
|
-
});
|
|
483
|
-
|
|
484
|
-
Common.Settings.registerSettingExtension({
|
|
485
|
-
category: Common.Settings.SettingCategory.DEBUGGER,
|
|
486
|
-
title: i18nLazyString(UIStrings.disableAsyncStackTraces),
|
|
487
|
-
settingName: 'disable-async-stack-traces',
|
|
488
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
489
|
-
defaultValue: false,
|
|
490
|
-
order: 2,
|
|
491
|
-
options: [
|
|
492
|
-
{
|
|
493
|
-
value: true,
|
|
494
|
-
title: i18nLazyString(UIStrings.doNotCaptureAsyncStackTraces),
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
value: false,
|
|
498
|
-
title: i18nLazyString(UIStrings.captureAsyncStackTraces),
|
|
499
|
-
},
|
|
500
|
-
],
|
|
501
|
-
});
|
|
502
|
-
|
|
503
|
-
Common.Settings.registerSettingExtension({
|
|
504
|
-
category: Common.Settings.SettingCategory.DEBUGGER,
|
|
505
|
-
settingName: 'breakpoints-active',
|
|
506
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
507
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
508
|
-
defaultValue: true,
|
|
509
|
-
});
|
|
510
|
-
|
|
511
|
-
Common.Settings.registerSettingExtension({
|
|
512
|
-
category: Common.Settings.SettingCategory.ELEMENTS,
|
|
513
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
514
|
-
title: i18nLazyString(UIStrings.rulersOnHover),
|
|
515
|
-
settingName: 'show-metrics-rulers',
|
|
516
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
517
|
-
options: [
|
|
518
|
-
{
|
|
519
|
-
value: true,
|
|
520
|
-
title: i18nLazyString(UIStrings.showRulersOnHover),
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
value: false,
|
|
524
|
-
title: i18nLazyString(UIStrings.doNotShowRulersOnHover),
|
|
525
|
-
},
|
|
526
|
-
],
|
|
527
|
-
defaultValue: false,
|
|
528
|
-
});
|
|
529
|
-
|
|
530
|
-
Common.Settings.registerSettingExtension({
|
|
531
|
-
category: Common.Settings.SettingCategory.ELEMENTS,
|
|
532
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
533
|
-
title: i18nLazyString(UIStrings.apca),
|
|
534
|
-
settingName: 'apca',
|
|
535
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
536
|
-
defaultValue: false,
|
|
537
|
-
});
|
|
538
|
-
|
|
539
|
-
Common.Settings.registerSettingExtension({
|
|
540
|
-
category: Common.Settings.SettingCategory.GRID,
|
|
541
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
542
|
-
title: i18nLazyString(UIStrings.showAreaNames),
|
|
543
|
-
settingName: 'show-grid-areas',
|
|
544
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
545
|
-
options: [
|
|
546
|
-
{
|
|
547
|
-
value: true,
|
|
548
|
-
title: i18nLazyString(UIStrings.showGridNamedAreas),
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
value: false,
|
|
552
|
-
title: i18nLazyString(UIStrings.doNotShowGridNamedAreas),
|
|
553
|
-
},
|
|
554
|
-
],
|
|
555
|
-
defaultValue: false,
|
|
556
|
-
});
|
|
557
|
-
|
|
558
|
-
Common.Settings.registerSettingExtension({
|
|
559
|
-
category: Common.Settings.SettingCategory.GRID,
|
|
560
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
561
|
-
title: i18nLazyString(UIStrings.showTrackSizes),
|
|
562
|
-
settingName: 'show-grid-track-sizes',
|
|
563
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
564
|
-
options: [
|
|
565
|
-
{
|
|
566
|
-
value: true,
|
|
567
|
-
title: i18nLazyString(UIStrings.showGridTrackSizes),
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
value: false,
|
|
571
|
-
title: i18nLazyString(UIStrings.doNotShowGridTrackSizes),
|
|
572
|
-
},
|
|
573
|
-
],
|
|
574
|
-
defaultValue: false,
|
|
575
|
-
});
|
|
576
|
-
|
|
577
|
-
Common.Settings.registerSettingExtension({
|
|
578
|
-
category: Common.Settings.SettingCategory.GRID,
|
|
579
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
580
|
-
title: i18nLazyString(UIStrings.extendGridLines),
|
|
581
|
-
settingName: 'extend-grid-lines',
|
|
582
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
583
|
-
options: [
|
|
584
|
-
{
|
|
585
|
-
value: true,
|
|
586
|
-
title: i18nLazyString(UIStrings.extendGridLines),
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
value: false,
|
|
590
|
-
title: i18nLazyString(UIStrings.doNotExtendGridLines),
|
|
591
|
-
},
|
|
592
|
-
],
|
|
593
|
-
defaultValue: false,
|
|
594
|
-
});
|
|
595
|
-
|
|
596
|
-
Common.Settings.registerSettingExtension({
|
|
597
|
-
category: Common.Settings.SettingCategory.GRID,
|
|
598
|
-
storageType: Common.Settings.SettingStorageType.SYNCED,
|
|
599
|
-
title: i18nLazyString(UIStrings.showLineLabels),
|
|
600
|
-
settingName: 'show-grid-line-labels',
|
|
601
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
602
|
-
options: [
|
|
603
|
-
{
|
|
604
|
-
title: i18nLazyString(UIStrings.hideLineLabels),
|
|
605
|
-
text: i18nLazyString(UIStrings.hideLineLabels),
|
|
606
|
-
value: 'none',
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
title: i18nLazyString(UIStrings.showLineNumbers),
|
|
610
|
-
text: i18nLazyString(UIStrings.showLineNumbers),
|
|
611
|
-
value: 'lineNumbers',
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
title: i18nLazyString(UIStrings.showLineNames),
|
|
615
|
-
text: i18nLazyString(UIStrings.showLineNames),
|
|
616
|
-
value: 'lineNames',
|
|
617
|
-
},
|
|
618
|
-
],
|
|
619
|
-
defaultValue: 'lineNumbers',
|
|
620
|
-
});
|
|
621
|
-
|
|
622
|
-
Common.Settings.registerSettingExtension({
|
|
623
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
624
|
-
settingName: 'show-paint-rects',
|
|
625
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
626
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
627
|
-
options: [
|
|
628
|
-
{
|
|
629
|
-
value: true,
|
|
630
|
-
title: i18nLazyString(UIStrings.showPaintFlashingRectangles),
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
value: false,
|
|
634
|
-
title: i18nLazyString(UIStrings.hidePaintFlashingRectangles),
|
|
635
|
-
},
|
|
636
|
-
],
|
|
637
|
-
defaultValue: false,
|
|
638
|
-
});
|
|
639
|
-
|
|
640
|
-
Common.Settings.registerSettingExtension({
|
|
641
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
642
|
-
settingName: 'show-layout-shift-regions',
|
|
643
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
644
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
645
|
-
options: [
|
|
646
|
-
{
|
|
647
|
-
value: true,
|
|
648
|
-
title: i18nLazyString(UIStrings.showLayoutShiftRegions),
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
value: false,
|
|
652
|
-
title: i18nLazyString(UIStrings.hideLayoutShiftRegions),
|
|
653
|
-
},
|
|
654
|
-
],
|
|
655
|
-
defaultValue: false,
|
|
656
|
-
});
|
|
657
|
-
|
|
658
|
-
Common.Settings.registerSettingExtension({
|
|
659
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
660
|
-
settingName: 'show-ad-highlights',
|
|
661
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
662
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
663
|
-
options: [
|
|
664
|
-
{
|
|
665
|
-
value: true,
|
|
666
|
-
title: i18nLazyString(UIStrings.highlightAdFrames),
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
value: false,
|
|
670
|
-
title: i18nLazyString(UIStrings.doNotHighlightAdFrames),
|
|
671
|
-
},
|
|
672
|
-
],
|
|
673
|
-
defaultValue: false,
|
|
674
|
-
});
|
|
675
|
-
|
|
676
|
-
Common.Settings.registerSettingExtension({
|
|
677
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
678
|
-
settingName: 'show-debug-borders',
|
|
679
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
680
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
681
|
-
options: [
|
|
682
|
-
{
|
|
683
|
-
value: true,
|
|
684
|
-
title: i18nLazyString(UIStrings.showLayerBorders),
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
value: false,
|
|
688
|
-
title: i18nLazyString(UIStrings.hideLayerBorders),
|
|
689
|
-
},
|
|
690
|
-
],
|
|
691
|
-
defaultValue: false,
|
|
692
|
-
});
|
|
693
|
-
|
|
694
|
-
Common.Settings.registerSettingExtension({
|
|
695
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
696
|
-
settingName: 'show-fps-counter',
|
|
697
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
698
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
699
|
-
options: [
|
|
700
|
-
{
|
|
701
|
-
value: true,
|
|
702
|
-
title: i18nLazyString(UIStrings.showFramesPerSecondFpsMeter),
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
value: false,
|
|
706
|
-
title: i18nLazyString(UIStrings.hideFramesPerSecondFpsMeter),
|
|
707
|
-
},
|
|
708
|
-
],
|
|
709
|
-
defaultValue: false,
|
|
710
|
-
});
|
|
711
|
-
|
|
712
|
-
Common.Settings.registerSettingExtension({
|
|
713
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
714
|
-
settingName: 'show-scroll-bottleneck-rects',
|
|
715
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
716
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
717
|
-
options: [
|
|
718
|
-
{
|
|
719
|
-
value: true,
|
|
720
|
-
title: i18nLazyString(UIStrings.showScrollPerformanceBottlenecks),
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
value: false,
|
|
724
|
-
title: i18nLazyString(UIStrings.hideScrollPerformanceBottlenecks),
|
|
725
|
-
},
|
|
726
|
-
],
|
|
727
|
-
defaultValue: false,
|
|
728
|
-
});
|
|
729
|
-
|
|
730
|
-
Common.Settings.registerSettingExtension({
|
|
731
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
732
|
-
title: i18nLazyString(UIStrings.emulateAFocusedPage),
|
|
733
|
-
settingName: 'emulate-page-focus',
|
|
734
|
-
settingType: Common.Settings.SettingType.BOOLEAN,
|
|
735
|
-
storageType: Common.Settings.SettingStorageType.LOCAL,
|
|
736
|
-
defaultValue: false,
|
|
737
|
-
options: [
|
|
738
|
-
{
|
|
739
|
-
value: true,
|
|
740
|
-
title: i18nLazyString(UIStrings.emulateAFocusedPage),
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
value: false,
|
|
744
|
-
title: i18nLazyString(UIStrings.doNotEmulateAFocusedPage),
|
|
745
|
-
},
|
|
746
|
-
],
|
|
747
|
-
});
|
|
748
|
-
|
|
749
|
-
Common.Settings.registerSettingExtension({
|
|
750
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
751
|
-
settingName: 'emulated-css-media',
|
|
752
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
753
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
754
|
-
defaultValue: '',
|
|
755
|
-
options: [
|
|
756
|
-
{
|
|
757
|
-
title: i18nLazyString(UIStrings.doNotEmulateCssMediaType),
|
|
758
|
-
text: i18nLazyString(UIStrings.noEmulation),
|
|
759
|
-
value: '',
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
title: i18nLazyString(UIStrings.emulateCssPrintMediaType),
|
|
763
|
-
text: i18nLazyString(UIStrings.print),
|
|
764
|
-
value: 'print',
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
title: i18nLazyString(UIStrings.emulateCssScreenMediaType),
|
|
768
|
-
text: i18nLazyString(UIStrings.screen),
|
|
769
|
-
value: 'screen',
|
|
770
|
-
},
|
|
771
|
-
],
|
|
772
|
-
tags: [
|
|
773
|
-
i18nLazyString(UIStrings.query),
|
|
774
|
-
],
|
|
775
|
-
title: i18nLazyString(UIStrings.emulateCssMediaType),
|
|
776
|
-
});
|
|
777
|
-
|
|
778
|
-
Common.Settings.registerSettingExtension({
|
|
779
|
-
title: i18nLazyString(UIStrings.cpuPressure),
|
|
780
|
-
reloadRequired: true,
|
|
781
|
-
settingName: 'emulation.cpu-pressure',
|
|
782
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
783
|
-
defaultValue: 'none',
|
|
784
|
-
options: [
|
|
785
|
-
{
|
|
786
|
-
value: 'none',
|
|
787
|
-
title: i18nLazyString(UIStrings.noPressureEmulation),
|
|
788
|
-
text: i18nLazyString(UIStrings.noPressureEmulation),
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
value: 'nominal',
|
|
792
|
-
title: i18nLazyString(UIStrings.nominal),
|
|
793
|
-
text: i18nLazyString(UIStrings.nominal),
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
value: 'fair',
|
|
797
|
-
title: i18nLazyString(UIStrings.fair),
|
|
798
|
-
text: i18nLazyString(UIStrings.fair),
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
value: 'serious',
|
|
802
|
-
title: i18nLazyString(UIStrings.serious),
|
|
803
|
-
text: i18nLazyString(UIStrings.serious),
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
value: 'critical',
|
|
807
|
-
title: i18nLazyString(UIStrings.critical),
|
|
808
|
-
text: i18nLazyString(UIStrings.critical),
|
|
809
|
-
},
|
|
810
|
-
],
|
|
811
|
-
});
|
|
812
|
-
|
|
813
|
-
Common.Settings.registerSettingExtension({
|
|
814
|
-
title: i18nLazyString(UIStrings.touch),
|
|
815
|
-
reloadRequired: true,
|
|
816
|
-
settingName: 'emulation.touch',
|
|
817
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
818
|
-
defaultValue: 'none',
|
|
819
|
-
options: [
|
|
820
|
-
{
|
|
821
|
-
value: 'none',
|
|
822
|
-
title: i18nLazyString(UIStrings.devicebased),
|
|
823
|
-
text: i18nLazyString(UIStrings.devicebased),
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
value: 'force',
|
|
827
|
-
title: i18nLazyString(UIStrings.forceEnabled),
|
|
828
|
-
text: i18nLazyString(UIStrings.forceEnabled),
|
|
829
|
-
},
|
|
830
|
-
],
|
|
831
|
-
});
|
|
832
|
-
|
|
833
|
-
Common.Settings.registerSettingExtension({
|
|
834
|
-
title: i18nLazyString(UIStrings.emulateIdleDetectorState),
|
|
835
|
-
settingName: 'emulation.idle-detection',
|
|
836
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
837
|
-
defaultValue: 'none',
|
|
838
|
-
options: [
|
|
839
|
-
{
|
|
840
|
-
value: 'none',
|
|
841
|
-
title: i18nLazyString(UIStrings.noIdleEmulation),
|
|
842
|
-
text: i18nLazyString(UIStrings.noIdleEmulation),
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
value: '{\"isUserActive\":true,\"isScreenUnlocked\":true}',
|
|
846
|
-
title: i18nLazyString(UIStrings.userActiveScreenUnlocked),
|
|
847
|
-
text: i18nLazyString(UIStrings.userActiveScreenUnlocked),
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
value: '{\"isUserActive\":true,\"isScreenUnlocked\":false}',
|
|
851
|
-
title: i18nLazyString(UIStrings.userActiveScreenLocked),
|
|
852
|
-
text: i18nLazyString(UIStrings.userActiveScreenLocked),
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
value: '{\"isUserActive\":false,\"isScreenUnlocked\":true}',
|
|
856
|
-
title: i18nLazyString(UIStrings.userIdleScreenUnlocked),
|
|
857
|
-
text: i18nLazyString(UIStrings.userIdleScreenUnlocked),
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
value: '{\"isUserActive\":false,\"isScreenUnlocked\":false}',
|
|
861
|
-
title: i18nLazyString(UIStrings.userIdleScreenLocked),
|
|
862
|
-
text: i18nLazyString(UIStrings.userIdleScreenLocked),
|
|
863
|
-
},
|
|
864
|
-
],
|
|
865
|
-
});
|
|
866
|
-
|
|
867
|
-
Common.Settings.registerSettingExtension({
|
|
868
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
869
|
-
settingName: 'emulated-css-media-feature-prefers-color-scheme',
|
|
870
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
871
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
872
|
-
defaultValue: '',
|
|
873
|
-
options: [
|
|
874
|
-
{
|
|
875
|
-
title: i18nLazyString(UIStrings.doNotEmulateCss, {PH1: 'prefers-color-scheme'}),
|
|
876
|
-
text: i18nLazyString(UIStrings.noEmulation),
|
|
877
|
-
value: '',
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
title: i18nLazyString(UIStrings.emulateCss, {PH1: 'prefers-color-scheme: light'}),
|
|
881
|
-
text: i18n.i18n.lockedLazyString('prefers-color-scheme: light'),
|
|
882
|
-
value: 'light',
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
title: i18nLazyString(UIStrings.emulateCss, {PH1: 'prefers-color-scheme: dark'}),
|
|
886
|
-
text: i18n.i18n.lockedLazyString('prefers-color-scheme: dark'),
|
|
887
|
-
value: 'dark',
|
|
888
|
-
},
|
|
889
|
-
],
|
|
890
|
-
tags: [
|
|
891
|
-
i18nLazyString(UIStrings.query),
|
|
892
|
-
],
|
|
893
|
-
title: i18nLazyString(UIStrings.emulateCssMediaFeature, {PH1: 'prefers-color-scheme'}),
|
|
894
|
-
});
|
|
895
|
-
|
|
896
|
-
Common.Settings.registerSettingExtension({
|
|
897
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
898
|
-
settingName: 'emulated-css-media-feature-forced-colors',
|
|
899
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
900
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
901
|
-
defaultValue: '',
|
|
902
|
-
options: [
|
|
903
|
-
{
|
|
904
|
-
title: i18nLazyString(UIStrings.doNotEmulateCss, {PH1: 'forced-colors'}),
|
|
905
|
-
text: i18nLazyString(UIStrings.noEmulation),
|
|
906
|
-
value: '',
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
title: i18nLazyString(UIStrings.emulateCss, {PH1: 'forced-colors: active'}),
|
|
910
|
-
text: i18n.i18n.lockedLazyString('forced-colors: active'),
|
|
911
|
-
value: 'active',
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
title: i18nLazyString(UIStrings.emulateCss, {PH1: 'forced-colors: none'}),
|
|
915
|
-
text: i18n.i18n.lockedLazyString('forced-colors: none'),
|
|
916
|
-
value: 'none',
|
|
917
|
-
},
|
|
918
|
-
],
|
|
919
|
-
tags: [
|
|
920
|
-
i18nLazyString(UIStrings.query),
|
|
921
|
-
],
|
|
922
|
-
title: i18nLazyString(UIStrings.emulateCssMediaFeature, {PH1: 'forced-colors'}),
|
|
923
|
-
});
|
|
924
|
-
|
|
925
|
-
Common.Settings.registerSettingExtension({
|
|
926
|
-
category: Common.Settings.SettingCategory.RENDERING,
|
|
927
|
-
settingName: 'emulated-css-media-feature-prefers-reduced-motion',
|
|
928
|
-
settingType: Common.Settings.SettingType.ENUM,
|
|
929
|
-
storageType: Common.Settings.SettingStorageType.SESSION,
|
|
930
|
-
defaultValue: '',
|
|
931
|
-
options: [
|
|
932
|
-
{
|
|
933
|
-
title: i18nLazyString(UIStrings.doNotEmulateCss, {PH1: 'prefers-reduced-motion'}),
|
|
934
|
-
text: i18nLazyString(UIStrings.noEmulation),
|
|
935
|
-
value: '',
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
title: i18nLazyString(UIStrings.emulateCss, {PH1: 'prefers-reduced-motion: reduce'}),
|
|
939
|
-
text: i18n.i18n.lockedLazyString('prefers-reduced-motion: reduce'),
|
|
940
|
-
value: 'reduce',
|
|
941
|
-
},
|
|
942
|
-
],
|
|
943
|
-
tags: [
|
|
944
|
-
i18nLazyString(UIStrings.query),
|
|
945
|
-
],
|
|
946
|
-
title: i18nLazyString(UIStrings.emulateCssMediaFeature, {PH1: 'prefers-reduced-motion'}),
|
|
947
|
-
});
|
|
948
|
-
|
|
949
229
|
Common.Settings.registerSettingExtension({
|
|
950
230
|
settingName: 'emulated-css-media-feature-prefers-contrast',
|
|
951
231
|
settingType: Common.Settings.SettingType.ENUM,
|