chrome-devtools-frontend 1.0.937775 → 1.0.939144
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/.stylelintrc.json +15 -11
- package/config/gni/all_devtools_files.gni +0 -5
- package/config/gni/devtools_grd_files.gni +2 -4
- package/front_end/Images/whatsnew.avif +0 -0
- package/front_end/Tests.js +30 -30
- package/front_end/core/host/InspectorFrontendHost.ts +16 -30
- package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -0
- package/front_end/core/host/UserMetrics.ts +25 -0
- package/front_end/core/i18n/locales/en-US.json +4 -1
- package/front_end/core/i18n/locales/en-XL.json +4 -1
- package/front_end/core/sdk/DOMModel.ts +1 -1
- package/front_end/core/sdk/EmulationModel.ts +11 -0
- package/front_end/core/sdk/NetworkManager.ts +1 -0
- package/front_end/core/sdk/sdk-meta.ts +30 -1
- package/front_end/entrypoints/devtools_app/devtools_app.json +0 -2
- package/front_end/entrypoints/inspector_main/RenderingOptions.ts +9 -2
- package/front_end/entrypoints/inspector_main/renderingOptions.css +2 -2
- package/front_end/entrypoints/main/MainImpl.ts +14 -0
- package/front_end/entrypoints/main/main-meta.ts +0 -2
- package/front_end/entrypoints/node_app/node_app-meta.ts +0 -3
- package/front_end/entrypoints/node_app/node_app.js +3 -0
- package/front_end/entrypoints/node_main/nodeConnectionsPanel.css +2 -2
- package/front_end/entrypoints/shell/shell.json +1 -3
- package/front_end/entrypoints/worker_app/worker_app.json +0 -2
- package/front_end/generated/InspectorBackendCommands.js +14 -5
- package/front_end/generated/SupportedCSSProperties.js +8 -4
- package/front_end/generated/protocol-mapping.d.ts +10 -0
- package/front_end/generated/protocol-proxy-api.d.ts +19 -0
- package/front_end/generated/protocol.d.ts +56 -1
- package/front_end/legacy_test_runner/test_runner/test_runner.js +2 -4
- package/front_end/models/issues_manager/DeprecationIssue.ts +67 -0
- package/front_end/models/issues_manager/IssuesManager.ts +5 -0
- package/front_end/models/issues_manager/descriptions/deprecation.md +3 -0
- package/front_end/models/issues_manager/issues_manager.ts +2 -0
- package/front_end/models/persistence/editFileSystemView.css +1 -1
- package/front_end/models/persistence/workspaceSettingsTab.css +1 -1
- package/front_end/panels/accessibility/accessibilityNode.css +2 -2
- package/front_end/panels/accessibility/axBreadcrumbs.css +1 -1
- package/front_end/panels/animation/animationTimeline.css +5 -5
- package/front_end/panels/application/components/frameDetailsReportView.css +1 -1
- package/front_end/panels/application/module.json +1 -2
- package/front_end/panels/application/resourcesPanel.css +1 -1
- package/front_end/panels/application/resourcesSidebar.css +1 -1
- package/front_end/panels/browser_debugger/browser_debugger-meta.ts +0 -5
- package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +2 -5
- package/front_end/panels/changes/changesSidebar.css +1 -1
- package/front_end/panels/changes/changesView.css +2 -2
- package/front_end/panels/console/consolePrompt.css +1 -1
- package/front_end/panels/console/consoleSidebar.css +4 -4
- package/front_end/panels/console/consoleView.css +2 -2
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +18 -17
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +31 -10
- package/front_end/panels/css_overview/components/cssOverviewStartView.css +1 -1
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +8 -8
- package/front_end/panels/elements/classesPaneWidget.css +1 -1
- package/front_end/panels/elements/components/adornerSettingsPane.css +1 -1
- package/front_end/panels/elements/computedStyleWidgetTree.css +1 -1
- package/front_end/panels/elements/elements-meta.ts +0 -2
- package/front_end/panels/elements/elementsPanel.css +1 -1
- package/front_end/panels/elements/elementsTreeOutline.css +1 -1
- package/front_end/panels/elements/layoutPane.css +1 -1
- package/front_end/panels/elements/platformFontsWidget.css +1 -1
- package/front_end/panels/elements/stylesSectionTree.css +1 -1
- package/front_end/panels/elements/stylesSidebarPane.css +8 -0
- package/front_end/panels/event_listeners/EventListenersView.ts +5 -4
- package/front_end/panels/event_listeners/eventListenersView.css +3 -2
- package/front_end/panels/help/ReleaseNoteText.ts +28 -0
- package/front_end/panels/issues/IssueKindView.ts +0 -6
- package/front_end/panels/issues/IssueView.ts +19 -27
- package/front_end/panels/issues/components/HideIssuesMenu.ts +7 -11
- package/front_end/panels/issues/components/hideIssuesMenu.css +8 -0
- package/front_end/panels/issues/issuesTree.css +28 -5
- package/front_end/panels/lighthouse/lighthouseStartView.css +2 -2
- package/front_end/panels/media/playerListView.css +1 -1
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +1 -1
- package/front_end/panels/network/NetworkSearchScope.ts +3 -1
- package/front_end/panels/network/blockedURLsPane.css +1 -1
- package/front_end/panels/network/networkConfigView.css +1 -1
- package/front_end/panels/network/networkLogView.css +3 -3
- package/front_end/panels/profiler/profileLauncherView.css +3 -3
- package/front_end/panels/protocol_monitor/protocol_monitor-meta.ts +0 -2
- package/front_end/panels/security/mainView.css +2 -2
- package/front_end/panels/security/originView.css +1 -1
- package/front_end/panels/sensors/sensors.css +2 -2
- package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +1 -1
- package/front_end/panels/settings/emulation/devicesSettingsTab.css +4 -4
- package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +1 -1
- package/front_end/panels/settings/settingsScreen.css +2 -2
- package/front_end/panels/sources/CoveragePlugin.ts +7 -2
- package/front_end/panels/sources/JavaScriptBreakpointsSidebarPane.ts +14 -17
- package/front_end/panels/sources/callStackSidebarPane.css +1 -1
- package/front_end/panels/sources/dialog.css +1 -1
- package/front_end/panels/sources/javaScriptBreakpointsSidebarPane.css +19 -45
- package/front_end/panels/sources/navigatorTree.css +4 -4
- package/front_end/panels/sources/sources-meta.ts +0 -2
- package/front_end/panels/sources/sourcesPanel.css +2 -2
- package/front_end/panels/sources/threadsSidebarPane.css +1 -1
- package/front_end/panels/timeline/components/WebVitalsTooltip.css +1 -1
- package/front_end/panels/timeline/historyToolbarButton.css +1 -1
- package/front_end/panels/timeline/timelineStatusDialog.css +1 -1
- package/front_end/panels/webauthn/webauthnPane.css +2 -2
- package/front_end/third_party/puppeteer/package/CHANGELOG.md +29 -0
- package/front_end/third_party/puppeteer/package/README.md +12 -14
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js +13 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +25 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +6 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js +16 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +9 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js +8 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +21 -9
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +155 -72
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +32 -29
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +14 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +2 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js +3 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +13 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js +2 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +33 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +92 -46
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts +21 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js +30 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +14 -14
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js +11 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js +30 -15
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js +9 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +22 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js +6 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +21 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +150 -68
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +22 -19
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +15 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +2 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js +2 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js +1 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +33 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +69 -23
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts +21 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js +26 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js +7 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js +27 -12
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +3862 -3771
- package/front_end/third_party/puppeteer/package/package.json +33 -40
- package/front_end/ui/components/adorners/adorner.css +1 -1
- package/front_end/ui/components/expandable_list/expandableList.css +1 -1
- package/front_end/ui/components/icon_button/iconButton.css +1 -0
- package/front_end/ui/components/linear_memory_inspector/valueInterpreterDisplay.css +1 -2
- package/front_end/ui/components/linear_memory_inspector/valueInterpreterSettings.css +1 -1
- package/front_end/ui/components/report_view/reportKey.css +1 -1
- package/front_end/ui/components/report_view/reportValue.css +1 -1
- package/front_end/ui/components/settings/settingCheckbox.css +5 -0
- package/front_end/ui/legacy/ContextMenu.ts +10 -3
- package/front_end/ui/legacy/SoftContextMenu.ts +9 -2
- package/front_end/ui/legacy/XLink.ts +3 -6
- package/front_end/ui/legacy/checkboxTextLabel.css +5 -1
- package/front_end/ui/legacy/components/color_picker/spectrum.css +9 -9
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +2 -2
- package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +3 -3
- package/front_end/ui/legacy/components/inline_editor/cssLength.css +1 -1
- package/front_end/ui/legacy/components/inline_editor/cssShadowEditor.css +1 -1
- package/front_end/ui/legacy/components/inline_editor/fontEditor.css +1 -1
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -2
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +13 -7
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
- package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
- package/front_end/ui/legacy/components/text_editor/cmdevtools.css +6 -14
- package/front_end/ui/legacy/emptyWidget.css +1 -1
- package/front_end/ui/legacy/filter.css +1 -1
- package/front_end/ui/legacy/infobar.css +2 -2
- package/front_end/ui/legacy/inspectorCommon.css +49 -45
- package/front_end/ui/legacy/inspectorSyntaxHighlight.css +4 -4
- package/front_end/ui/legacy/inspectorSyntaxHighlightDark.css +1 -1
- package/front_end/ui/legacy/inspectorViewTabbedPane.css +1 -1
- package/front_end/ui/legacy/searchableView.css +1 -1
- package/front_end/ui/legacy/softContextMenu.css +11 -1
- package/front_end/ui/legacy/tabbedPane.css +5 -0
- package/front_end/ui/legacy/textPrompt.css +1 -1
- package/front_end/ui/legacy/themeColors.css +1 -0
- package/front_end/ui/legacy/toolbar.css +8 -8
- package/front_end/ui/legacy/treeoutline.css +20 -4
- package/front_end/ui/legacy/viewContainers.css +6 -1
- package/inspector_overlay/common.css +2 -2
- package/inspector_overlay/tool_highlight.css +1 -1
- package/inspector_overlay/tool_paused.css +2 -2
- package/package.json +1 -1
- package/scripts/eslint_rules/lib/check_test_definitions.js +2 -1
- package/scripts/eslint_rules/lib/es_modules_import.js +21 -20
- package/scripts/eslint_rules/lib/l10n_filename_matches.js +4 -3
- package/scripts/eslint_rules/lib/migrate_create_shadow_root_with_styles.js +2 -2
- package/scripts/eslint_rules/lib/migrate_register_required_css.js +1 -1
- package/scripts/eslint_rules/tests/check_test_definitions_test.js +34 -0
- package/scripts/eslint_rules/tests/es_modules_import_test.js +3 -2
- package/scripts/eslint_rules/tests/migrate_create_shadow_root_with_styles_test.js +1 -1
- package/scripts/eslint_rules/tests/migrate_register_required_css_test.js +1 -1
- package/front_end/panels/browser_debugger/module.json +0 -6
- package/front_end/panels/elements/module.json +0 -5
- package/front_end/panels/protocol_monitor/module.json +0 -5
- package/front_end/panels/sources/module.json +0 -5
|
@@ -85,7 +85,7 @@ body {
|
|
|
85
85
|
overflow: hidden;
|
|
86
86
|
margin: 0;
|
|
87
87
|
cursor: default;
|
|
88
|
-
font-family:
|
|
88
|
+
font-family: ".SFNSDisplay-Regular", "Helvetica Neue", "Lucida Grande", sans-serif;
|
|
89
89
|
font-size: 12px;
|
|
90
90
|
tab-size: 4;
|
|
91
91
|
user-select: none;
|
|
@@ -99,7 +99,7 @@ body {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.platform-mac {
|
|
102
|
-
font-family:
|
|
102
|
+
font-family: ".SFNSDisplay-Regular", "Helvetica Neue", "Lucida Grande", sans-serif;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.platform-mac,
|
|
@@ -110,7 +110,7 @@ body {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.platform-windows {
|
|
113
|
-
font-family:
|
|
113
|
+
font-family: "Segoe UI", Tahoma, sans-serif;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
:focus {
|
|
@@ -287,9 +287,13 @@ input::placeholder {
|
|
|
287
287
|
--override-input-placeholder-color: rgb(230 230 230 / 54%);
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
+
:host-context(.-theme-with-dark-background) input[type="checkbox"]:not(.-theme-preserve) {
|
|
291
|
+
accent-color: var(--color-checkbox-accent-color);
|
|
292
|
+
}
|
|
293
|
+
|
|
290
294
|
.harmony-input:not([type]),
|
|
291
|
-
.harmony-input[type=number],
|
|
292
|
-
.harmony-input[type=text] {
|
|
295
|
+
.harmony-input[type="number"],
|
|
296
|
+
.harmony-input[type="text"] {
|
|
293
297
|
padding: 3px 6px;
|
|
294
298
|
height: 24px;
|
|
295
299
|
border: none;
|
|
@@ -297,23 +301,23 @@ input::placeholder {
|
|
|
297
301
|
}
|
|
298
302
|
|
|
299
303
|
.harmony-input:not([type]).error-input,
|
|
300
|
-
.harmony-input[type=number].error-input,
|
|
301
|
-
.harmony-input[type=text].error-input,
|
|
304
|
+
.harmony-input[type="number"].error-input,
|
|
305
|
+
.harmony-input[type="text"].error-input,
|
|
302
306
|
.harmony-input:not([type]):invalid,
|
|
303
|
-
.harmony-input[type=number]:invalid,
|
|
304
|
-
.harmony-input[type=text]:invalid {
|
|
307
|
+
.harmony-input[type="number"]:invalid,
|
|
308
|
+
.harmony-input[type="text"]:invalid {
|
|
305
309
|
box-shadow: 0 0 0 1px var(--color-red);
|
|
306
310
|
}
|
|
307
311
|
|
|
308
312
|
.harmony-input:not([type]):not(.error-input):not(:invalid):hover,
|
|
309
|
-
.harmony-input[type=number]:not(.error-input):not(:invalid):hover,
|
|
310
|
-
.harmony-input[type=text]:not(.error-input):not(:invalid):hover {
|
|
313
|
+
.harmony-input[type="number"]:not(.error-input):not(:invalid):hover,
|
|
314
|
+
.harmony-input[type="text"]:not(.error-input):not(:invalid):hover {
|
|
311
315
|
box-shadow: var(--legacy-focus-ring-inactive-shadow);
|
|
312
316
|
}
|
|
313
317
|
|
|
314
318
|
.harmony-input:not([type]):not(.error-input):not(:invalid):focus,
|
|
315
|
-
.harmony-input[type=number]:not(.error-input):not(:invalid):focus,
|
|
316
|
-
.harmony-input[type=text]:not(.error-input):not(:invalid):focus {
|
|
319
|
+
.harmony-input[type="number"]:not(.error-input):not(:invalid):focus,
|
|
320
|
+
.harmony-input[type="text"]:not(.error-input):not(:invalid):focus {
|
|
317
321
|
box-shadow: var(--legacy-focus-ring-active-shadow);
|
|
318
322
|
}
|
|
319
323
|
|
|
@@ -422,7 +426,7 @@ input::placeholder {
|
|
|
422
426
|
/* This class is used outside of the settings screen in the "Renderer" and
|
|
423
427
|
"Sensors" panel. As such we need to override their style globally */
|
|
424
428
|
.settings-select {
|
|
425
|
-
margin: 0
|
|
429
|
+
margin: 0;
|
|
426
430
|
}
|
|
427
431
|
|
|
428
432
|
.chrome-select optgroup,
|
|
@@ -439,7 +443,7 @@ input::placeholder {
|
|
|
439
443
|
white-space: nowrap;
|
|
440
444
|
}
|
|
441
445
|
|
|
442
|
-
span[is=dt-icon-label] {
|
|
446
|
+
span[is="dt-icon-label"] {
|
|
443
447
|
flex: none;
|
|
444
448
|
}
|
|
445
449
|
|
|
@@ -465,29 +469,29 @@ span[is=dt-icon-label] {
|
|
|
465
469
|
z-index: 500;
|
|
466
470
|
}
|
|
467
471
|
|
|
468
|
-
[is=ui-icon] {
|
|
472
|
+
[is="ui-icon"] {
|
|
469
473
|
display: inline-block;
|
|
470
474
|
flex-shrink: 0;
|
|
471
475
|
}
|
|
472
476
|
|
|
473
|
-
.-theme-with-dark-background [is=ui-icon].icon-invert,
|
|
474
|
-
:host-context(.-theme-with-dark-background) [is=ui-icon].icon-invert {
|
|
477
|
+
.-theme-with-dark-background [is="ui-icon"].icon-invert,
|
|
478
|
+
:host-context(.-theme-with-dark-background) [is="ui-icon"].icon-invert {
|
|
475
479
|
filter: invert(80%) hue-rotate(180deg);
|
|
476
480
|
}
|
|
477
481
|
|
|
478
|
-
[is=ui-icon].icon-mask {
|
|
482
|
+
[is="ui-icon"].icon-mask {
|
|
479
483
|
--override-icon-mask-background-color: rgb(110 110 110);
|
|
480
484
|
|
|
481
485
|
background-color: var(--override-icon-mask-background-color);
|
|
482
486
|
-webkit-mask-position: var(--spritesheet-position);
|
|
483
487
|
}
|
|
484
488
|
|
|
485
|
-
.-theme-with-dark-background [is=ui-icon].icon-mask,
|
|
486
|
-
:host-context(.-theme-with-dark-background) [is=ui-icon].icon-mask {
|
|
489
|
+
.-theme-with-dark-background [is="ui-icon"].icon-mask,
|
|
490
|
+
:host-context(.-theme-with-dark-background) [is="ui-icon"].icon-mask {
|
|
487
491
|
--override-icon-mask-background-color: rgb(145 145 145);
|
|
488
492
|
}
|
|
489
493
|
|
|
490
|
-
[is=ui-icon]:not(.icon-mask) {
|
|
494
|
+
[is="ui-icon"]:not(.icon-mask) {
|
|
491
495
|
background-position: var(--spritesheet-position);
|
|
492
496
|
}
|
|
493
497
|
|
|
@@ -519,27 +523,27 @@ span[is=dt-icon-label] {
|
|
|
519
523
|
background-image: var(--image-file-popoverArrows);
|
|
520
524
|
}
|
|
521
525
|
|
|
522
|
-
.force-white-icons [is=ui-icon].spritesheet-smallicons,
|
|
523
|
-
:host-context(.force-white-icons) [is=ui-icon].spritesheet-smallicons,
|
|
524
|
-
[is=ui-icon].force-white-icons.spritesheet-smallicons,
|
|
526
|
+
.force-white-icons [is="ui-icon"].spritesheet-smallicons,
|
|
527
|
+
:host-context(.force-white-icons) [is="ui-icon"].spritesheet-smallicons,
|
|
528
|
+
[is="ui-icon"].force-white-icons.spritesheet-smallicons,
|
|
525
529
|
.-theme-preserve {
|
|
526
530
|
-webkit-mask-image: var(--image-file-smallIcons);
|
|
527
531
|
-webkit-mask-position: var(--spritesheet-position);
|
|
528
532
|
background: var(--override-force-white-icons-background) !important; /* stylelint-disable-line declaration-no-important */
|
|
529
533
|
}
|
|
530
534
|
|
|
531
|
-
.force-white-icons [is=ui-icon].spritesheet-largeicons,
|
|
532
|
-
:host-context(.force-white-icons) [is=ui-icon].spritesheet-largeicons,
|
|
533
|
-
[is=ui-icon].force-white-icons.spritesheet-largeicons,
|
|
535
|
+
.force-white-icons [is="ui-icon"].spritesheet-largeicons,
|
|
536
|
+
:host-context(.force-white-icons) [is="ui-icon"].spritesheet-largeicons,
|
|
537
|
+
[is="ui-icon"].force-white-icons.spritesheet-largeicons,
|
|
534
538
|
.-theme-preserve {
|
|
535
539
|
-webkit-mask-image: var(--image-file-largeIcons);
|
|
536
540
|
-webkit-mask-position: var(--spritesheet-position);
|
|
537
541
|
background: var(--override-force-white-icons-background) !important; /* stylelint-disable-line declaration-no-important */
|
|
538
542
|
}
|
|
539
543
|
|
|
540
|
-
.force-white-icons [is=ui-icon].spritesheet-mediumicons,
|
|
541
|
-
:host-context(.force-white-icons) [is=ui-icon].spritesheet-mediumicons,
|
|
542
|
-
[is=ui-icon].force-white-icons.spritesheet-mediumicons,
|
|
544
|
+
.force-white-icons [is="ui-icon"].spritesheet-mediumicons,
|
|
545
|
+
:host-context(.force-white-icons) [is="ui-icon"].spritesheet-mediumicons,
|
|
546
|
+
[is="ui-icon"].force-white-icons.spritesheet-mediumicons,
|
|
543
547
|
.-theme-preserve {
|
|
544
548
|
-webkit-mask-image: var(--image-file-mediumIcons);
|
|
545
549
|
-webkit-mask-position: var(--spritesheet-position);
|
|
@@ -631,30 +635,30 @@ button.link:focus-visible {
|
|
|
631
635
|
opacity: 100%;
|
|
632
636
|
}
|
|
633
637
|
|
|
634
|
-
[is=ui-icon].icon-mask,
|
|
635
|
-
.force-white-icons [is=ui-icon].spritesheet-smallicons,
|
|
636
|
-
:host-context(.force-white-icons) [is=ui-icon].spritesheet-smallicons,
|
|
637
|
-
[is=ui-icon].force-white-icons.spritesheet-smallicons,
|
|
638
|
-
.force-white-icons [is=ui-icon].spritesheet-largeicons,
|
|
639
|
-
:host-context(.force-white-icons) [is=ui-icon].spritesheet-largeicons,
|
|
640
|
-
[is=ui-icon].force-white-icons.spritesheet-largeicons,
|
|
641
|
-
.force-white-icons [is=ui-icon].spritesheet-mediumicons,
|
|
642
|
-
:host-context(.force-white-icons) [is=ui-icon].spritesheet-mediumicons,
|
|
643
|
-
[is=ui-icon].force-white-icons.spritesheet-mediumicons,
|
|
638
|
+
[is="ui-icon"].icon-mask,
|
|
639
|
+
.force-white-icons [is="ui-icon"].spritesheet-smallicons,
|
|
640
|
+
:host-context(.force-white-icons) [is="ui-icon"].spritesheet-smallicons,
|
|
641
|
+
[is="ui-icon"].force-white-icons.spritesheet-smallicons,
|
|
642
|
+
.force-white-icons [is="ui-icon"].spritesheet-largeicons,
|
|
643
|
+
:host-context(.force-white-icons) [is="ui-icon"].spritesheet-largeicons,
|
|
644
|
+
[is="ui-icon"].force-white-icons.spritesheet-largeicons,
|
|
645
|
+
.force-white-icons [is="ui-icon"].spritesheet-mediumicons,
|
|
646
|
+
:host-context(.force-white-icons) [is="ui-icon"].spritesheet-mediumicons,
|
|
647
|
+
[is="ui-icon"].force-white-icons.spritesheet-mediumicons,
|
|
644
648
|
.-theme-preserve {
|
|
645
649
|
forced-color-adjust: none;
|
|
646
650
|
background-color: ButtonText;
|
|
647
651
|
}
|
|
648
652
|
|
|
649
653
|
.harmony-input:not([type]),
|
|
650
|
-
.harmony-input[type=number],
|
|
651
|
-
.harmony-input[type=text] {
|
|
654
|
+
.harmony-input[type="number"],
|
|
655
|
+
.harmony-input[type="text"] {
|
|
652
656
|
border: 1px solid ButtonText;
|
|
653
657
|
}
|
|
654
658
|
|
|
655
659
|
.harmony-input:not([type]):focus,
|
|
656
|
-
.harmony-input[type=number]:focus,
|
|
657
|
-
.harmony-input[type=text]:focus {
|
|
660
|
+
.harmony-input[type="number"]:focus,
|
|
661
|
+
.harmony-input[type="text"]:focus {
|
|
658
662
|
border: 1px solid Highlight;
|
|
659
663
|
}
|
|
660
664
|
}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
|
|
114
114
|
.cm-css-property,
|
|
115
115
|
.webkit-css-property {
|
|
116
|
-
color: rgb(200 0 0); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */
|
|
116
|
+
color: var(--webkit-css-property-color, rgb(200 0 0)); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.cm-xml-meta {
|
|
@@ -209,15 +209,15 @@
|
|
|
209
209
|
color: var(--color-link);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.devtools-link [is=ui-icon] {
|
|
212
|
+
.devtools-link [is="ui-icon"] {
|
|
213
213
|
vertical-align: middle;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
.devtools-link [is=ui-icon].icon-mask {
|
|
216
|
+
.devtools-link [is="ui-icon"].icon-mask {
|
|
217
217
|
background-color: var(--color-link);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
:focus .selected .devtools-link [is=ui-icon].icon-mask {
|
|
220
|
+
:focus .selected .devtools-link [is="ui-icon"].icon-mask {
|
|
221
221
|
background-color: var(--legacy-item-selection-bg-color);
|
|
222
222
|
}
|
|
223
223
|
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.webkit-css-property {
|
|
216
|
-
color: rgb(53 212 199); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */
|
|
216
|
+
color: var(--webkit-css-property-color, rgb(53 212 199)); /* stylelint-disable-line plugin/use_theme_colors */ /* See: crbug.com/1152736 for color variable migration. */
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.cm-def {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
overflow-y: auto;
|
|
12
12
|
min-width: 160px !important; /* stylelint-disable-line declaration-no-important */
|
|
13
13
|
/* NOTE: Keep padding in sync with padding adjustment in SoftContextMenu.js */
|
|
14
|
-
padding: 4px 0
|
|
14
|
+
padding: 4px 0;
|
|
15
15
|
border: 1px solid var(--color-details-hairline);
|
|
16
16
|
background-color: var(--color-background);
|
|
17
17
|
box-shadow: var(--drop-shadow);
|
|
@@ -44,6 +44,12 @@
|
|
|
44
44
|
white-space: nowrap;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
.soft-context-menu-item devtools-icon {
|
|
48
|
+
--icon-color: var(--color-text-secondary);
|
|
49
|
+
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
47
53
|
.soft-context-menu-disabled {
|
|
48
54
|
color: var(--color-text-disabled);
|
|
49
55
|
pointer-events: none;
|
|
@@ -66,6 +72,10 @@
|
|
|
66
72
|
color: var(--override-context-menu-hover-text-color);
|
|
67
73
|
}
|
|
68
74
|
|
|
75
|
+
.soft-context-menu-item-mouse-over devtools-icon {
|
|
76
|
+
--icon-color: var(--override-context-menu-hover-text-color);
|
|
77
|
+
}
|
|
78
|
+
|
|
69
79
|
.-theme-with-dark-background .soft-context-menu-item-mouse-over,
|
|
70
80
|
:host-context(.-theme-with-dark-background) .soft-context-menu-item-mouse-over {
|
|
71
81
|
--override-dark-mode-focus-color: #1a73e8;
|
|
@@ -390,6 +390,11 @@
|
|
|
390
390
|
color: HighlightText;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
+
.tabbed-pane-header-tab:hover .tabbed-pane-close-button,
|
|
394
|
+
.tabbed-pane-shadow .tabbed-pane-header-tab:focus-visible .tabbed-pane-close-button {
|
|
395
|
+
--icon-color: HighlightText;
|
|
396
|
+
}
|
|
397
|
+
|
|
393
398
|
.tabbed-pane-header-tabs-drop-down-container {
|
|
394
399
|
opacity: 100%;
|
|
395
400
|
}
|
|
@@ -233,6 +233,7 @@
|
|
|
233
233
|
--color-error-text: hsl(0deg 100% 75%);
|
|
234
234
|
--color-error-border: rgb(92 0 0);
|
|
235
235
|
--color-error-background: hsl(0deg 100% 8%);
|
|
236
|
+
--color-checkbox-accent-color: rgb(255 165 0);
|
|
236
237
|
/* Colors for styling inputs */
|
|
237
238
|
--color-input-outline: rgb(189 193 198);
|
|
238
239
|
--color-input-outline-active: rgb(138 180 248);
|
|
@@ -307,7 +307,7 @@ select.toolbar-item:focus-visible > * {
|
|
|
307
307
|
.toolbar-input {
|
|
308
308
|
width: 120px;
|
|
309
309
|
height: 19px;
|
|
310
|
-
padding: 4px 3px 3px
|
|
310
|
+
padding: 4px 3px 3px;
|
|
311
311
|
margin: 1px 3px;
|
|
312
312
|
background-color: var(--color-background);
|
|
313
313
|
border: 1px solid transparent;
|
|
@@ -389,18 +389,18 @@ select.toolbar-item:focus-visible > * {
|
|
|
389
389
|
left: -2px;
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
input[is=history-input] {
|
|
392
|
+
input[is="history-input"] {
|
|
393
393
|
border: 1px solid transparent;
|
|
394
394
|
line-height: 16px;
|
|
395
395
|
padding: 1px;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
input[is=history-input]:hover {
|
|
398
|
+
input[is="history-input"]:hover {
|
|
399
399
|
box-shadow: var(--legacy-focus-ring-inactive-shadow);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
input[is=history-input]:focus,
|
|
403
|
-
input[is=history-input]:not(:placeholder-shown) {
|
|
402
|
+
input[is="history-input"]:focus,
|
|
403
|
+
input[is="history-input"]:not(:placeholder-shown) {
|
|
404
404
|
box-shadow: var(--legacy-focus-ring-active-shadow);
|
|
405
405
|
}
|
|
406
406
|
|
|
@@ -470,7 +470,7 @@ devtools-icon.leading-issue-icon {
|
|
|
470
470
|
color: HighlightText;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
-
.toolbar-button:disabled [is=ui-icon].icon-mask {
|
|
473
|
+
.toolbar-button:disabled [is="ui-icon"].icon-mask {
|
|
474
474
|
background-color: GrayText;
|
|
475
475
|
color: GrayText;
|
|
476
476
|
}
|
|
@@ -505,8 +505,8 @@ devtools-icon.leading-issue-icon {
|
|
|
505
505
|
:not(.toolbar-render-as-links) .toolbar-button:enabled:hover .toolbar-glyph,
|
|
506
506
|
:not(.toolbar-render-as-links) .toolbar-button:enabled:focus .toolbar-glyph,
|
|
507
507
|
:not(.toolbar-render-as-links) .toolbar-button:enabled:hover:not(:active) .toolbar-glyph,
|
|
508
|
-
.toolbar-button:enabled:hover [is=ui-icon].icon-mask,
|
|
509
|
-
.toolbar-button:enabled:focus [is=ui-icon].icon-mask {
|
|
508
|
+
.toolbar-button:enabled:hover [is="ui-icon"].icon-mask,
|
|
509
|
+
.toolbar-button:enabled:focus [is="ui-icon"].icon-mask {
|
|
510
510
|
background-color: HighlightText;
|
|
511
511
|
}
|
|
512
512
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
8
|
flex: 1 1 auto;
|
|
9
|
-
padding: 2px 0 0
|
|
9
|
+
padding: 2px 0 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.tree-outline-disclosure:not(.tree-outline-disclosure-hide-overflow) {
|
|
@@ -166,7 +166,7 @@ ol.tree-outline:not(.hide-selection-when-blurred) li.selected:focus * {
|
|
|
166
166
|
@media (forced-colors: active) {
|
|
167
167
|
.tree-outline-disclosure li.parent::before,
|
|
168
168
|
.tree-outline:not(.hide-selection-when-blurred) li.parent:not(.selected)::before,
|
|
169
|
-
.tree-outline li [is=ui-icon].icon-mask {
|
|
169
|
+
.tree-outline li [is="ui-icon"].icon-mask {
|
|
170
170
|
forced-color-adjust: none;
|
|
171
171
|
background-color: ButtonText;
|
|
172
172
|
}
|
|
@@ -200,8 +200,8 @@ ol.tree-outline:not(.hide-selection-when-blurred) li.selected:focus * {
|
|
|
200
200
|
background-color: transparent;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.tree-outline li.selected [is=ui-icon].icon-mask,
|
|
204
|
-
.tree-outline li.selected:focus [is=ui-icon]:not(.icon-mask) {
|
|
203
|
+
.tree-outline li.selected [is="ui-icon"].icon-mask,
|
|
204
|
+
.tree-outline li.selected:focus [is="ui-icon"]:not(.icon-mask) {
|
|
205
205
|
background-color: HighlightText !important; /* stylelint-disable-line declaration-no-important */
|
|
206
206
|
}
|
|
207
207
|
|
|
@@ -215,4 +215,20 @@ ol.tree-outline:not(.hide-selection-when-blurred) li.selected:focus * {
|
|
|
215
215
|
forced-color-adjust: none;
|
|
216
216
|
color: HighlightText;
|
|
217
217
|
}
|
|
218
|
+
|
|
219
|
+
.tree-outline:not(.hide-selection-when-blurred) li.selected:focus-visible devtools-adorner,
|
|
220
|
+
.tree-outline.hide-selection-when-blurred li.selected:focus-visible devtools-adorner {
|
|
221
|
+
--override-adorner-background-color: Highlight;
|
|
222
|
+
--override-adorner-border-color: HighlightText;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.tree-outline:not(.hide-selection-when-blurred) devtools-icon,
|
|
226
|
+
.tree-outline.hide-selection-when-blurred devtools-icon {
|
|
227
|
+
--icon-color: ButtonText;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.tree-outline:not(.hide-selection-when-blurred) .selected devtools-icon,
|
|
231
|
+
.tree-outline.hide-selection-when-blurred .selected:focus-visible devtools-icon {
|
|
232
|
+
--icon-color: HighlightText;
|
|
233
|
+
}
|
|
218
234
|
}
|
|
@@ -71,7 +71,12 @@
|
|
|
71
71
|
@media (forced-colors: active) {
|
|
72
72
|
.expandable-view-title:focus-visible {
|
|
73
73
|
forced-color-adjust: none;
|
|
74
|
-
|
|
74
|
+
color: HighlightText;
|
|
75
|
+
background-color: Highlight;
|
|
75
76
|
box-shadow: 0 0 0 2px Highlight inset;
|
|
76
77
|
}
|
|
78
|
+
|
|
79
|
+
.expandable-view-title:focus-visible .title-expand-icon {
|
|
80
|
+
background-color: HighlightText;
|
|
81
|
+
}
|
|
77
82
|
}
|
|
@@ -17,11 +17,11 @@ body.platform-linux {
|
|
|
17
17
|
|
|
18
18
|
body.platform-mac {
|
|
19
19
|
color: rgb(48 57 66);
|
|
20
|
-
font-family:
|
|
20
|
+
font-family: ".SFNSDisplay-Regular", "Helvetica Neue", "Lucida Grande", sans-serif;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
body.platform-windows {
|
|
24
|
-
font-family:
|
|
24
|
+
font-family: "Segoe UI", Tahoma, sans-serif;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.fill {
|
|
@@ -157,7 +157,7 @@ body {
|
|
|
157
157
|
margin-right: 2px;
|
|
158
158
|
width: 10px;
|
|
159
159
|
height: 10px;
|
|
160
|
-
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
|
|
160
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==");
|
|
161
161
|
line-height: 10px;
|
|
162
162
|
}
|
|
163
163
|
|
|
@@ -61,12 +61,12 @@ body {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
#resume-button .glyph {
|
|
64
|
-
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAKCAYAAABv7tTEAAAAAXNSR0IArs4c6QAAAFJJREFUKM+10bEJgGAMBeEPbR3BLRzEVdzEVRzELRzBVohVwEJ+iODBlQfhBeJhsmHU4C0KnFjQV6J0x1SNAhdWDJUoPTB3PvLLeaUhypM3n3sD/qc7lDrdpIEAAAAASUVORK5CYII=);
|
|
64
|
+
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAKCAYAAABv7tTEAAAAAXNSR0IArs4c6QAAAFJJREFUKM+10bEJgGAMBeEPbR3BLRzEVdzEVRzELRzBVohVwEJ+iODBlQfhBeJhsmHU4C0KnFjQV6J0x1SNAhdWDJUoPTB3PvLLeaUhypM3n3sD/qc7lDrdpIEAAAAASUVORK5CYII=");
|
|
65
65
|
-webkit-mask-size: 13px 10px;
|
|
66
66
|
background-color: rgb(66 129 235);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
#step-over-button .glyph {
|
|
70
|
-
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAAOFJREFUKM+N0j8rhXEUB/DPcxW35CqhvIBrtqibkklhV8qkTHe4ZbdblcXgPVhuMdqUTUl5A2KRRCF5LGc4PT1P7qnfcr5/zu/8KdTHLFaxjHnc4RZXKI0QYxjgLQTVd42l/0wmg5iFX3iq5H6w22RS4DyRH7CB8cAXcBTGJT6xUmd0mEwuMdFQcA3fwXvGTAan8BrgPabTL9fRRyfx91PRMwyjGwcJ2EyCfsrfpPw2Pipz24NT/MZciiQYVshzOKnZ5Hturxt3k2MnCpS4SPkeHpPR8Sh3tYgttBoW9II2/AHiaEqvD2Fc0wAAAABJRU5ErkJggg==);
|
|
70
|
+
-webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAAOFJREFUKM+N0j8rhXEUB/DPcxW35CqhvIBrtqibkklhV8qkTHe4ZbdblcXgPVhuMdqUTUl5A2KRRCF5LGc4PT1P7qnfcr5/zu/8KdTHLFaxjHnc4RZXKI0QYxjgLQTVd42l/0wmg5iFX3iq5H6w22RS4DyRH7CB8cAXcBTGJT6xUmd0mEwuMdFQcA3fwXvGTAan8BrgPabTL9fRRyfx91PRMwyjGwcJ2EyCfsrfpPw2Pipz24NT/MZciiQYVshzOKnZ5Hturxt3k2MnCpS4SPkeHpPR8Sh3tYgttBoW9II2/AHiaEqvD2Fc0wAAAABJRU5ErkJggg==");
|
|
71
71
|
-webkit-mask-size: 18px 10px;
|
|
72
72
|
}
|
package/package.json
CHANGED
|
@@ -47,7 +47,8 @@ module.exports = {
|
|
|
47
47
|
create: function(context) {
|
|
48
48
|
return {
|
|
49
49
|
MemberExpression(node) {
|
|
50
|
-
if (node.object.name === 'it'
|
|
50
|
+
if ((node.object.name === 'it' || node.object.name === 'describe') &&
|
|
51
|
+
(node.property.name === 'skip' || node.property.name === 'skipOnPlatforms') &&
|
|
51
52
|
node.parent.type === 'CallExpression') {
|
|
52
53
|
const testNameNode = node.property.name === 'skip' ? node.parent.arguments[0] : node.parent.arguments[1];
|
|
53
54
|
|
|
@@ -16,7 +16,7 @@ const INSPECTOR_OVERLAY_DIRECTORY = path.join(__dirname, '..', '..', '..', 'fron
|
|
|
16
16
|
const COMPONENT_DOCS_DIRECTORY = path.join(FRONT_END_DIRECTORY, 'ui', 'components', 'docs');
|
|
17
17
|
|
|
18
18
|
const CROSS_NAMESPACE_MESSAGE =
|
|
19
|
-
'Incorrect cross-namespace import: "{{
|
|
19
|
+
'Incorrect cross-namespace import: "{{importPathForErrorMessage}}". Use "import * as Namespace from \'../namespace/namespace.js\';" instead.';
|
|
20
20
|
|
|
21
21
|
// ------------------------------------------------------------------------------
|
|
22
22
|
// Rule Definition
|
|
@@ -42,7 +42,7 @@ function computeTopLevelFolder(fileName) {
|
|
|
42
42
|
return namespaceName.substring(0, namespaceName.indexOf(path.sep));
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
function checkImportExtension(importPath, context, node) {
|
|
45
|
+
function checkImportExtension(importPath, importPathForErrorMessage, context, node) {
|
|
46
46
|
// import * as fs from 'fs';
|
|
47
47
|
if (!importPath.startsWith('.')) {
|
|
48
48
|
return;
|
|
@@ -51,12 +51,12 @@ function checkImportExtension(importPath, context, node) {
|
|
|
51
51
|
if (!importPath.endsWith('.js') && !importPath.endsWith('.mjs')) {
|
|
52
52
|
context.report({
|
|
53
53
|
node,
|
|
54
|
-
message: 'Missing file extension for import "{{
|
|
54
|
+
message: 'Missing file extension for import "{{importPathForErrorMessage}}"',
|
|
55
55
|
data: {
|
|
56
|
-
|
|
56
|
+
importPathForErrorMessage,
|
|
57
57
|
},
|
|
58
58
|
fix(fixer) {
|
|
59
|
-
return fixer.replaceText(node.source, `'${
|
|
59
|
+
return fixer.replaceText(node.source, `'${importPathForErrorMessage}.js'`);
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
}
|
|
@@ -67,7 +67,7 @@ function nodeSpecifiersSpecialImportsOnly(specifiers) {
|
|
|
67
67
|
['ls', 'assertNotNullOrUndefined'].includes(specifiers[0].imported.name);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
function checkStarImport(context, node, importPath, importingFileName, exportingFileName) {
|
|
70
|
+
function checkStarImport(context, node, importPath, importPathForErrorMessage, importingFileName, exportingFileName) {
|
|
71
71
|
if (isModuleEntrypoint(importingFileName)) {
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
@@ -93,9 +93,9 @@ function checkStarImport(context, node, importPath, importingFileName, exporting
|
|
|
93
93
|
context.report({
|
|
94
94
|
node,
|
|
95
95
|
message:
|
|
96
|
-
'Incorrect same-namespace import: "{{
|
|
96
|
+
'Incorrect same-namespace import: "{{importPathForErrorMessage}}". Use "import { Symbol } from \'./relative-file.js\';" instead.',
|
|
97
97
|
data: {
|
|
98
|
-
|
|
98
|
+
importPathForErrorMessage,
|
|
99
99
|
},
|
|
100
100
|
});
|
|
101
101
|
}
|
|
@@ -104,9 +104,7 @@ function checkStarImport(context, node, importPath, importingFileName, exporting
|
|
|
104
104
|
context.report({
|
|
105
105
|
node,
|
|
106
106
|
message: CROSS_NAMESPACE_MESSAGE,
|
|
107
|
-
data: {
|
|
108
|
-
importPath,
|
|
109
|
-
},
|
|
107
|
+
data: {importPathForErrorMessage},
|
|
110
108
|
});
|
|
111
109
|
}
|
|
112
110
|
}
|
|
@@ -135,12 +133,14 @@ module.exports = {
|
|
|
135
133
|
}
|
|
136
134
|
const importPath = path.normalize(node.source.value);
|
|
137
135
|
|
|
138
|
-
|
|
136
|
+
const importPathForErrorMessage = node.source.value.replace(/\\/g, '/');
|
|
137
|
+
checkImportExtension(importPath, importPathForErrorMessage, context, node);
|
|
139
138
|
},
|
|
140
139
|
ImportDeclaration(node) {
|
|
141
|
-
checkImportExtension(node.source.value, context, node);
|
|
142
|
-
|
|
143
140
|
const importPath = path.normalize(node.source.value);
|
|
141
|
+
const importPathForErrorMessage = node.source.value.replace(/\\/g, '/');
|
|
142
|
+
|
|
143
|
+
checkImportExtension(node.source.value, importPathForErrorMessage, context, node);
|
|
144
144
|
|
|
145
145
|
// Accidental relative URL:
|
|
146
146
|
// import * as Root from 'front_end/root/root.js';
|
|
@@ -173,7 +173,8 @@ module.exports = {
|
|
|
173
173
|
|
|
174
174
|
const exportingFileName = path.resolve(path.dirname(importingFileName), importPath);
|
|
175
175
|
|
|
176
|
-
if (importPath.includes('/front_end/') && !importingFileIsUnitTestFile &&
|
|
176
|
+
if (importPath.replace(/\\/g, '/').includes('/front_end/') && !importingFileIsUnitTestFile &&
|
|
177
|
+
!importingFileIsComponentDocsFile) {
|
|
177
178
|
context.report({
|
|
178
179
|
node,
|
|
179
180
|
message:
|
|
@@ -181,14 +182,14 @@ module.exports = {
|
|
|
181
182
|
});
|
|
182
183
|
}
|
|
183
184
|
|
|
184
|
-
if (
|
|
185
|
+
if (importPathForErrorMessage.endsWith('platform/platform.js') &&
|
|
185
186
|
nodeSpecifiersSpecialImportsOnly(node.specifiers)) {
|
|
186
187
|
/* We allow direct importing of the ls and assertNotNull utility as it's so frequently used. */
|
|
187
188
|
return;
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
if (isStarAsImportSpecifier(node.specifiers)) {
|
|
191
|
-
checkStarImport(context, node, importPath, importingFileName, exportingFileName);
|
|
192
|
+
checkStarImport(context, node, importPath, importPathForErrorMessage, importingFileName, exportingFileName);
|
|
192
193
|
} else {
|
|
193
194
|
if (computeTopLevelFolder(importingFileName) !== computeTopLevelFolder(exportingFileName)) {
|
|
194
195
|
let message = CROSS_NAMESPACE_MESSAGE;
|
|
@@ -206,7 +207,7 @@ module.exports = {
|
|
|
206
207
|
node,
|
|
207
208
|
message,
|
|
208
209
|
data: {
|
|
209
|
-
|
|
210
|
+
importPathForErrorMessage,
|
|
210
211
|
},
|
|
211
212
|
});
|
|
212
213
|
} else if (isModuleEntrypoint(importingFileName)) {
|
|
@@ -222,9 +223,9 @@ module.exports = {
|
|
|
222
223
|
context.report({
|
|
223
224
|
node,
|
|
224
225
|
message:
|
|
225
|
-
'Incorrect same-namespace import: "{{
|
|
226
|
+
'Incorrect same-namespace import: "{{importPathForErrorMessage}}". Use "import * as File from \'./File.js\';" instead.',
|
|
226
227
|
data: {
|
|
227
|
-
|
|
228
|
+
importPathForErrorMessage,
|
|
228
229
|
}
|
|
229
230
|
});
|
|
230
231
|
}
|
|
@@ -64,12 +64,13 @@ module.exports = {
|
|
|
64
64
|
const previousFileLocationArgument = callExpression.arguments[0];
|
|
65
65
|
const actualPath = path.join(FRONT_END_DIRECTORY, previousFileLocationArgument.value);
|
|
66
66
|
if (!allowedPathArguments.includes(actualPath)) {
|
|
67
|
+
const newFileName = currentFileRelativeToFrontEnd.replace(/\\/g, '/');
|
|
67
68
|
context.report({
|
|
68
69
|
node: callExpression,
|
|
69
|
-
message:
|
|
70
|
-
|
|
70
|
+
message:
|
|
71
|
+
`First argument to 'registerUIStrings' call must be '${newFileName}' or the ModuleUIStrings.(js|ts)`,
|
|
71
72
|
fix(fixer) {
|
|
72
|
-
return fixer.replaceText(previousFileLocationArgument, `'${
|
|
73
|
+
return fixer.replaceText(previousFileLocationArgument, `'${newFileName}'`);
|
|
73
74
|
}
|
|
74
75
|
});
|
|
75
76
|
}
|