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
|
@@ -276,7 +276,8 @@ export function registerCommands(inspectorBackend) {
|
|
|
276
276
|
QuirksModeIssue: 'QuirksModeIssue',
|
|
277
277
|
NavigatorUserAgentIssue: 'NavigatorUserAgentIssue',
|
|
278
278
|
WasmCrossOriginModuleSharingIssue: 'WasmCrossOriginModuleSharingIssue',
|
|
279
|
-
GenericIssue: 'GenericIssue'
|
|
279
|
+
GenericIssue: 'GenericIssue',
|
|
280
|
+
DeprecationIssue: 'DeprecationIssue'
|
|
280
281
|
});
|
|
281
282
|
inspectorBackend.registerEvent('Audits.issueAdded', ['issue']);
|
|
282
283
|
inspectorBackend.registerEnum('Audits.GetEncodedResponseRequestEncoding', {Webp: 'webp', Jpeg: 'jpeg', Png: 'png'});
|
|
@@ -890,6 +891,14 @@ export function registerCommands(inspectorBackend) {
|
|
|
890
891
|
inspectorBackend.registerCommand(
|
|
891
892
|
'DOMDebugger.setXHRBreakpoint', [{'name': 'url', 'type': 'string', 'optional': false}], []);
|
|
892
893
|
|
|
894
|
+
// EventBreakpoints.
|
|
895
|
+
inspectorBackend.registerCommand(
|
|
896
|
+
'EventBreakpoints.setInstrumentationBreakpoint', [{'name': 'eventName', 'type': 'string', 'optional': false}],
|
|
897
|
+
[]);
|
|
898
|
+
inspectorBackend.registerCommand(
|
|
899
|
+
'EventBreakpoints.removeInstrumentationBreakpoint', [{'name': 'eventName', 'type': 'string', 'optional': false}],
|
|
900
|
+
[]);
|
|
901
|
+
|
|
893
902
|
// DOMSnapshot.
|
|
894
903
|
inspectorBackend.registerCommand('DOMSnapshot.disable', [], []);
|
|
895
904
|
inspectorBackend.registerCommand('DOMSnapshot.enable', [], []);
|
|
@@ -1630,13 +1639,14 @@ export function registerCommands(inspectorBackend) {
|
|
|
1630
1639
|
]);
|
|
1631
1640
|
inspectorBackend.registerEvent('Network.requestServedFromCache', ['requestId']);
|
|
1632
1641
|
inspectorBackend.registerEvent('Network.requestWillBeSent', [
|
|
1633
|
-
'requestId', 'loaderId', 'documentURL', 'request', 'timestamp', 'wallTime', 'initiator', '
|
|
1634
|
-
'frameId', 'hasUserGesture'
|
|
1642
|
+
'requestId', 'loaderId', 'documentURL', 'request', 'timestamp', 'wallTime', 'initiator', 'redirectHasExtraInfo',
|
|
1643
|
+
'redirectResponse', 'type', 'frameId', 'hasUserGesture'
|
|
1635
1644
|
]);
|
|
1636
1645
|
inspectorBackend.registerEvent('Network.resourceChangedPriority', ['requestId', 'newPriority', 'timestamp']);
|
|
1637
1646
|
inspectorBackend.registerEvent('Network.signedExchangeReceived', ['requestId', 'info']);
|
|
1638
1647
|
inspectorBackend.registerEvent(
|
|
1639
|
-
'Network.responseReceived',
|
|
1648
|
+
'Network.responseReceived',
|
|
1649
|
+
['requestId', 'loaderId', 'timestamp', 'type', 'response', 'hasExtraInfo', 'frameId']);
|
|
1640
1650
|
inspectorBackend.registerEvent('Network.webSocketClosed', ['requestId', 'timestamp']);
|
|
1641
1651
|
inspectorBackend.registerEvent('Network.webSocketCreated', ['requestId', 'url', 'initiator']);
|
|
1642
1652
|
inspectorBackend.registerEvent('Network.webSocketFrameError', ['requestId', 'timestamp', 'errorMessage']);
|
|
@@ -2176,7 +2186,6 @@ export function registerCommands(inspectorBackend) {
|
|
|
2176
2186
|
ContentWebUSB: 'ContentWebUSB',
|
|
2177
2187
|
ContentMediaSession: 'ContentMediaSession',
|
|
2178
2188
|
ContentMediaSessionService: 'ContentMediaSessionService',
|
|
2179
|
-
ContentMediaPlay: 'ContentMediaPlay',
|
|
2180
2189
|
EmbedderPopupBlockerTabHelper: 'EmbedderPopupBlockerTabHelper',
|
|
2181
2190
|
EmbedderSafeBrowsingTriggeredPopupBlocker: 'EmbedderSafeBrowsingTriggeredPopupBlocker',
|
|
2182
2191
|
EmbedderSafeBrowsingThreatDetails: 'EmbedderSafeBrowsingThreatDetails',
|
|
@@ -489,7 +489,7 @@ export const generatedProperties = [
|
|
|
489
489
|
},
|
|
490
490
|
{'name': 'font-variation-settings', 'inherited': true, 'keywords': ['normal']},
|
|
491
491
|
{'name': 'font-weight', 'inherited': true, 'keywords': ['normal', 'bold', 'bolder', 'lighter']},
|
|
492
|
-
{'name': 'forced-color-adjust', 'inherited': true, 'keywords': ['auto', 'none']},
|
|
492
|
+
{'name': 'forced-color-adjust', 'inherited': true, 'keywords': ['auto', 'none', 'preserve-parent-color']},
|
|
493
493
|
{'longhands': ['row-gap', 'column-gap'], 'name': 'gap'},
|
|
494
494
|
{
|
|
495
495
|
'longhands': [
|
|
@@ -764,7 +764,10 @@ export const generatedProperties = [
|
|
|
764
764
|
'name': 'text-decoration'
|
|
765
765
|
},
|
|
766
766
|
{'name': 'text-decoration-color', 'keywords': ['currentcolor']},
|
|
767
|
-
{
|
|
767
|
+
{
|
|
768
|
+
'name': 'text-decoration-line',
|
|
769
|
+
'keywords': ['none', 'underline', 'overline', 'line-through', 'blink', 'spelling-error', 'grammar-error']
|
|
770
|
+
},
|
|
768
771
|
{'name': 'text-decoration-skip-ink', 'inherited': true, 'keywords': ['none', 'auto']},
|
|
769
772
|
{'name': 'text-decoration-style', 'keywords': ['solid', 'double', 'dotted', 'dashed', 'wavy']},
|
|
770
773
|
{'name': 'text-decoration-thickness', 'inherited': true, 'keywords': ['auto', 'from-font']},
|
|
@@ -1041,7 +1044,7 @@ export const generatedPropertyValues = {
|
|
|
1041
1044
|
},
|
|
1042
1045
|
'font-variation-settings': {'values': ['normal']},
|
|
1043
1046
|
'font-weight': {'values': ['normal', 'bold', 'bolder', 'lighter']},
|
|
1044
|
-
'forced-color-adjust': {'values': ['auto', 'none']},
|
|
1047
|
+
'forced-color-adjust': {'values': ['auto', 'none', 'preserve-parent-color']},
|
|
1045
1048
|
'grid-auto-columns': {'values': ['auto', 'min-content', 'max-content']},
|
|
1046
1049
|
'grid-auto-flow': {'values': ['row', 'column']},
|
|
1047
1050
|
'grid-auto-rows': {'values': ['auto', 'min-content', 'max-content']},
|
|
@@ -1152,7 +1155,8 @@ export const generatedPropertyValues = {
|
|
|
1152
1155
|
'text-anchor': {'values': ['start', 'middle', 'end']},
|
|
1153
1156
|
'text-combine-upright': {'values': ['none', 'all']},
|
|
1154
1157
|
'text-decoration-color': {'values': ['currentcolor']},
|
|
1155
|
-
'text-decoration-line':
|
|
1158
|
+
'text-decoration-line':
|
|
1159
|
+
{'values': ['none', 'underline', 'overline', 'line-through', 'blink', 'spelling-error', 'grammar-error']},
|
|
1156
1160
|
'text-decoration-skip-ink': {'values': ['none', 'auto']},
|
|
1157
1161
|
'text-decoration-style': {'values': ['solid', 'double', 'dotted', 'dashed', 'wavy']},
|
|
1158
1162
|
'text-decoration-thickness': {'values': ['auto', 'from-font']},
|
|
@@ -1361,6 +1361,16 @@ export namespace ProtocolMapping {
|
|
|
1361
1361
|
* Sets breakpoint on XMLHttpRequest.
|
|
1362
1362
|
*/
|
|
1363
1363
|
'DOMDebugger.setXHRBreakpoint': {paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest]; returnType: void;};
|
|
1364
|
+
/**
|
|
1365
|
+
* Sets breakpoint on particular native event.
|
|
1366
|
+
*/
|
|
1367
|
+
'EventBreakpoints.setInstrumentationBreakpoint':
|
|
1368
|
+
{paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest]; returnType: void;};
|
|
1369
|
+
/**
|
|
1370
|
+
* Removes breakpoint on particular native event.
|
|
1371
|
+
*/
|
|
1372
|
+
'EventBreakpoints.removeInstrumentationBreakpoint':
|
|
1373
|
+
{paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest]; returnType: void;};
|
|
1364
1374
|
/**
|
|
1365
1375
|
* Disables DOM snapshot agent for the given page.
|
|
1366
1376
|
*/
|
|
@@ -37,6 +37,8 @@ declare namespace ProtocolProxyApi {
|
|
|
37
37
|
|
|
38
38
|
DOMDebugger: DOMDebuggerApi;
|
|
39
39
|
|
|
40
|
+
EventBreakpoints: EventBreakpointsApi;
|
|
41
|
+
|
|
40
42
|
DOMSnapshot: DOMSnapshotApi;
|
|
41
43
|
|
|
42
44
|
DOMStorage: DOMStorageApi;
|
|
@@ -127,6 +129,8 @@ declare namespace ProtocolProxyApi {
|
|
|
127
129
|
|
|
128
130
|
DOMDebugger: DOMDebuggerDispatcher;
|
|
129
131
|
|
|
132
|
+
EventBreakpoints: EventBreakpointsDispatcher;
|
|
133
|
+
|
|
130
134
|
DOMSnapshot: DOMSnapshotDispatcher;
|
|
131
135
|
|
|
132
136
|
DOMStorage: DOMStorageDispatcher;
|
|
@@ -1164,6 +1168,21 @@ declare namespace ProtocolProxyApi {
|
|
|
1164
1168
|
}
|
|
1165
1169
|
export interface DOMDebuggerDispatcher {}
|
|
1166
1170
|
|
|
1171
|
+
export interface EventBreakpointsApi {
|
|
1172
|
+
/**
|
|
1173
|
+
* Sets breakpoint on particular native event.
|
|
1174
|
+
*/
|
|
1175
|
+
invoke_setInstrumentationBreakpoint(params: Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest):
|
|
1176
|
+
Promise<Protocol.ProtocolResponseWithError>;
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* Removes breakpoint on particular native event.
|
|
1180
|
+
*/
|
|
1181
|
+
invoke_removeInstrumentationBreakpoint(params: Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest):
|
|
1182
|
+
Promise<Protocol.ProtocolResponseWithError>;
|
|
1183
|
+
}
|
|
1184
|
+
export interface EventBreakpointsDispatcher {}
|
|
1185
|
+
|
|
1167
1186
|
export interface DOMSnapshotApi {
|
|
1168
1187
|
/**
|
|
1169
1188
|
* Disables DOM snapshot agent for the given page.
|
|
@@ -964,6 +964,26 @@ declare namespace Protocol {
|
|
|
964
964
|
frameId?: Page.FrameId;
|
|
965
965
|
}
|
|
966
966
|
|
|
967
|
+
/**
|
|
968
|
+
* This issue tracks information needed to print a deprecation message.
|
|
969
|
+
* The formatting is inherited from the old console.log version, see more at:
|
|
970
|
+
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
|
|
971
|
+
* TODO(crbug.com/1264960): Re-work format to add i18n support per:
|
|
972
|
+
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
|
|
973
|
+
*/
|
|
974
|
+
export interface DeprecationIssueDetails {
|
|
975
|
+
affectedFrame?: AffectedFrame;
|
|
976
|
+
sourceCodeLocation: SourceCodeLocation;
|
|
977
|
+
/**
|
|
978
|
+
* The content of the deprecation issue (this won't be translated),
|
|
979
|
+
* e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
|
|
980
|
+
* around January 2022. Please use Web Storage or Indexed Database
|
|
981
|
+
* instead. This standard was abandoned in January, 1970. See
|
|
982
|
+
* https://www.chromestatus.com/feature/5684870116278272 for more details."
|
|
983
|
+
*/
|
|
984
|
+
message?: string;
|
|
985
|
+
}
|
|
986
|
+
|
|
967
987
|
/**
|
|
968
988
|
* A unique identifier for the type of issue. Each type may use one of the
|
|
969
989
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
@@ -984,6 +1004,7 @@ declare namespace Protocol {
|
|
|
984
1004
|
NavigatorUserAgentIssue = 'NavigatorUserAgentIssue',
|
|
985
1005
|
WasmCrossOriginModuleSharingIssue = 'WasmCrossOriginModuleSharingIssue',
|
|
986
1006
|
GenericIssue = 'GenericIssue',
|
|
1007
|
+
DeprecationIssue = 'DeprecationIssue',
|
|
987
1008
|
}
|
|
988
1009
|
|
|
989
1010
|
/**
|
|
@@ -1006,6 +1027,7 @@ declare namespace Protocol {
|
|
|
1006
1027
|
navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails;
|
|
1007
1028
|
wasmCrossOriginModuleSharingIssue?: WasmCrossOriginModuleSharingIssueDetails;
|
|
1008
1029
|
genericIssueDetails?: GenericIssueDetails;
|
|
1030
|
+
deprecationIssueDetails?: DeprecationIssueDetails;
|
|
1009
1031
|
}
|
|
1010
1032
|
|
|
1011
1033
|
/**
|
|
@@ -4074,6 +4096,29 @@ declare namespace Protocol {
|
|
|
4074
4096
|
}
|
|
4075
4097
|
}
|
|
4076
4098
|
|
|
4099
|
+
/**
|
|
4100
|
+
* EventBreakpoints permits setting breakpoints on particular operations and
|
|
4101
|
+
* events in targets that run JavaScript but do not have a DOM.
|
|
4102
|
+
* JavaScript execution will stop on these operations as if there was a regular
|
|
4103
|
+
* breakpoint set.
|
|
4104
|
+
*/
|
|
4105
|
+
export namespace EventBreakpoints {
|
|
4106
|
+
|
|
4107
|
+
export interface SetInstrumentationBreakpointRequest {
|
|
4108
|
+
/**
|
|
4109
|
+
* Instrumentation name to stop on.
|
|
4110
|
+
*/
|
|
4111
|
+
eventName: string;
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
export interface RemoveInstrumentationBreakpointRequest {
|
|
4115
|
+
/**
|
|
4116
|
+
* Instrumentation name to stop on.
|
|
4117
|
+
*/
|
|
4118
|
+
eventName: string;
|
|
4119
|
+
}
|
|
4120
|
+
}
|
|
4121
|
+
|
|
4077
4122
|
/**
|
|
4078
4123
|
* This domain facilitates obtaining document snapshots with DOM, layout, and style information.
|
|
4079
4124
|
*/
|
|
@@ -8528,6 +8573,12 @@ declare namespace Protocol {
|
|
|
8528
8573
|
* Request initiator.
|
|
8529
8574
|
*/
|
|
8530
8575
|
initiator: Initiator;
|
|
8576
|
+
/**
|
|
8577
|
+
* In the case that redirectResponse is populated, this flag indicates whether
|
|
8578
|
+
* requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
|
|
8579
|
+
* for the request which was just redirected.
|
|
8580
|
+
*/
|
|
8581
|
+
redirectHasExtraInfo: boolean;
|
|
8531
8582
|
/**
|
|
8532
8583
|
* Redirect response data.
|
|
8533
8584
|
*/
|
|
@@ -8602,6 +8653,11 @@ declare namespace Protocol {
|
|
|
8602
8653
|
* Response data.
|
|
8603
8654
|
*/
|
|
8604
8655
|
response: Response;
|
|
8656
|
+
/**
|
|
8657
|
+
* Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
|
|
8658
|
+
* or were emitted for this request.
|
|
8659
|
+
*/
|
|
8660
|
+
hasExtraInfo: boolean;
|
|
8605
8661
|
/**
|
|
8606
8662
|
* Frame identifier.
|
|
8607
8663
|
*/
|
|
@@ -10492,7 +10548,6 @@ declare namespace Protocol {
|
|
|
10492
10548
|
ContentWebUSB = 'ContentWebUSB',
|
|
10493
10549
|
ContentMediaSession = 'ContentMediaSession',
|
|
10494
10550
|
ContentMediaSessionService = 'ContentMediaSessionService',
|
|
10495
|
-
ContentMediaPlay = 'ContentMediaPlay',
|
|
10496
10551
|
EmbedderPopupBlockerTabHelper = 'EmbedderPopupBlockerTabHelper',
|
|
10497
10552
|
EmbedderSafeBrowsingTriggeredPopupBlocker = 'EmbedderSafeBrowsingTriggeredPopupBlocker',
|
|
10498
10553
|
EmbedderSafeBrowsingThreatDetails = 'EmbedderSafeBrowsingThreatDetails',
|
|
@@ -59,15 +59,13 @@ export async function _executeTestScript() {
|
|
|
59
59
|
|
|
60
60
|
// Auto-start unit tests
|
|
61
61
|
self.test = async function() {
|
|
62
|
-
|
|
63
|
-
await eval(`import("${testScriptURL}")`);
|
|
62
|
+
await import(testScriptURL);
|
|
64
63
|
};
|
|
65
64
|
return;
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
try {
|
|
69
|
-
|
|
70
|
-
await eval(`import("${testScriptURL}")`);
|
|
68
|
+
await import(testScriptURL);
|
|
71
69
|
} catch (err) {
|
|
72
70
|
TestRunner.addResult('TEST ENDED EARLY DUE TO UNCAUGHT ERROR:');
|
|
73
71
|
TestRunner.addResult(err && err.stack || err);
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// Copyright 2021 The Chromium Authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
|
3
|
+
// found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
import type * as SDK from '../../core/sdk/sdk.js';
|
|
6
|
+
import type * as Protocol from '../../generated/protocol.js';
|
|
7
|
+
|
|
8
|
+
import {Issue, IssueCategory, IssueKind} from './Issue.js';
|
|
9
|
+
import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
|
|
10
|
+
|
|
11
|
+
export const enum IssueCode {
|
|
12
|
+
DeprecationIssue = 'DeprecationIssue',
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export class DeprecationIssue extends Issue<IssueCode> {
|
|
16
|
+
private issueDetails: Protocol.Audits.DeprecationIssueDetails;
|
|
17
|
+
|
|
18
|
+
constructor(issueDetails: Protocol.Audits.DeprecationIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel) {
|
|
19
|
+
super(IssueCode.DeprecationIssue, issuesModel);
|
|
20
|
+
this.issueDetails = issueDetails;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
getCategory(): IssueCategory {
|
|
24
|
+
return IssueCategory.Other;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
details(): Protocol.Audits.DeprecationIssueDetails {
|
|
28
|
+
return this.issueDetails;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
getDescription(): MarkdownIssueDescription|null {
|
|
32
|
+
return {
|
|
33
|
+
file: 'deprecation.md',
|
|
34
|
+
substitutions: new Map([
|
|
35
|
+
// TODO(crbug.com/1264960): Re-work format to add i18n support per:
|
|
36
|
+
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
|
|
37
|
+
['PLACEHOLDER_message', String(this.issueDetails.message)],
|
|
38
|
+
]),
|
|
39
|
+
links: [],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
sources(): Iterable<Protocol.Audits.SourceCodeLocation> {
|
|
44
|
+
if (this.issueDetails.sourceCodeLocation) {
|
|
45
|
+
return [this.issueDetails.sourceCodeLocation];
|
|
46
|
+
}
|
|
47
|
+
return [];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
primaryKey(): string {
|
|
51
|
+
return JSON.stringify(this.issueDetails);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
getKind(): IssueKind {
|
|
55
|
+
return IssueKind.BreakingChange;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static fromInspectorIssue(issuesModel: SDK.IssuesModel.IssuesModel, inspectorIssue: Protocol.Audits.InspectorIssue):
|
|
59
|
+
DeprecationIssue[] {
|
|
60
|
+
const details = inspectorIssue.details.deprecationIssueDetails;
|
|
61
|
+
if (!details) {
|
|
62
|
+
console.warn('Deprecation issue without details received.');
|
|
63
|
+
return [];
|
|
64
|
+
}
|
|
65
|
+
return [new DeprecationIssue(details, issuesModel)];
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -11,6 +11,7 @@ import {AttributionReportingIssue} from './AttributionReportingIssue.js';
|
|
|
11
11
|
import {ContentSecurityPolicyIssue} from './ContentSecurityPolicyIssue.js';
|
|
12
12
|
import {CorsIssue} from './CorsIssue.js';
|
|
13
13
|
import {CrossOriginEmbedderPolicyIssue, isCrossOriginEmbedderPolicyIssue} from './CrossOriginEmbedderPolicyIssue.js';
|
|
14
|
+
import {DeprecationIssue} from './DeprecationIssue.js';
|
|
14
15
|
import {GenericIssue} from './GenericIssue.js';
|
|
15
16
|
import {HeavyAdIssue} from './HeavyAdIssue.js';
|
|
16
17
|
import type {Issue, IssueKind} from './Issue.js';
|
|
@@ -99,6 +100,10 @@ const issueCodeHandlers = new Map<
|
|
|
99
100
|
Protocol.Audits.InspectorIssueCode.GenericIssue,
|
|
100
101
|
GenericIssue.fromInspectorIssue,
|
|
101
102
|
],
|
|
103
|
+
[
|
|
104
|
+
Protocol.Audits.InspectorIssueCode.DeprecationIssue,
|
|
105
|
+
DeprecationIssue.fromInspectorIssue,
|
|
106
|
+
],
|
|
102
107
|
]);
|
|
103
108
|
|
|
104
109
|
/**
|
|
@@ -7,6 +7,7 @@ import * as ContentSecurityPolicyIssue from './ContentSecurityPolicyIssue.js';
|
|
|
7
7
|
import * as ContrastCheckTrigger from './ContrastCheckTrigger.js';
|
|
8
8
|
import * as CorsIssue from './CorsIssue.js';
|
|
9
9
|
import * as CrossOriginEmbedderPolicyIssue from './CrossOriginEmbedderPolicyIssue.js';
|
|
10
|
+
import * as DeprecationIssue from './DeprecationIssue.js';
|
|
10
11
|
import * as GenericIssue from './GenericIssue.js';
|
|
11
12
|
import * as HeavyAdIssue from './HeavyAdIssue.js';
|
|
12
13
|
import * as Issue from './Issue.js';
|
|
@@ -30,6 +31,7 @@ export {
|
|
|
30
31
|
ContrastCheckTrigger,
|
|
31
32
|
CorsIssue,
|
|
32
33
|
CrossOriginEmbedderPolicyIssue,
|
|
34
|
+
DeprecationIssue,
|
|
33
35
|
GenericIssue,
|
|
34
36
|
HeavyAdIssue,
|
|
35
37
|
Issue,
|
|
@@ -109,6 +109,6 @@
|
|
|
109
109
|
* Always show an outline. Needed because we have a white background here.
|
|
110
110
|
*/
|
|
111
111
|
|
|
112
|
-
.workspace-settings-tab .harmony-input[type=text]:not(.error-input):not(:invalid) {
|
|
112
|
+
.workspace-settings-tab .harmony-input[type="text"]:not(.error-input):not(:invalid) {
|
|
113
113
|
box-shadow: var(--legacy-focus-ring-inactive-shadow);
|
|
114
114
|
}
|
|
@@ -34,7 +34,7 @@ span.ax-value-undefined {
|
|
|
34
34
|
text-decoration: line-through;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.tree-outline span[is=dt-icon-label] {
|
|
37
|
+
.tree-outline span[is="dt-icon-label"] {
|
|
38
38
|
position: relative;
|
|
39
39
|
left: -11px;
|
|
40
40
|
}
|
|
@@ -60,7 +60,7 @@ span.ax-value-undefined {
|
|
|
60
60
|
left: -2px;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.tree-outline span[is=dt-icon-label] + .ax-name {
|
|
63
|
+
.tree-outline span[is="dt-icon-label"] + .ax-name {
|
|
64
64
|
margin-left: -11px;
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -112,7 +112,7 @@ circle.animation-keyframe-point:active {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.animation-timeline-header::after {
|
|
115
|
-
content:
|
|
115
|
+
content: "";
|
|
116
116
|
height: calc(100% - 48px - 28px);
|
|
117
117
|
position: absolute;
|
|
118
118
|
width: 150px;
|
|
@@ -184,14 +184,14 @@ circle.animation-keyframe-point:active {
|
|
|
184
184
|
height: 100%;
|
|
185
185
|
width: 100%;
|
|
186
186
|
top: 28px;
|
|
187
|
-
border-left: 1px solid var(--color-
|
|
187
|
+
border-left: 1px solid var(--color-red);
|
|
188
188
|
z-index: 2;
|
|
189
189
|
cursor: col-resize;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
.animation-scrubber-line {
|
|
193
193
|
width: 11px;
|
|
194
|
-
background: linear-gradient(to right, transparent 5px, var(--color-
|
|
194
|
+
background: linear-gradient(to right, transparent 5px, var(--color-red) 5px, var(--color-red) 6px, transparent 6px);
|
|
195
195
|
position: absolute;
|
|
196
196
|
top: -28px;
|
|
197
197
|
height: 28px;
|
|
@@ -204,7 +204,7 @@ circle.animation-keyframe-point:active {
|
|
|
204
204
|
width: 7px;
|
|
205
205
|
height: 7px;
|
|
206
206
|
transform: rotate(45deg);
|
|
207
|
-
background: var(--color-
|
|
207
|
+
background: var(--color-red);
|
|
208
208
|
position: absolute;
|
|
209
209
|
left: 2px;
|
|
210
210
|
top: 1px;
|
|
@@ -361,7 +361,7 @@ text.animation-timeline-grid-label {
|
|
|
361
361
|
|
|
362
362
|
.animation-paused::before,
|
|
363
363
|
.animation-paused::after {
|
|
364
|
-
content:
|
|
364
|
+
content: "";
|
|
365
365
|
background: var(--color-background);
|
|
366
366
|
width: 7px;
|
|
367
367
|
height: 20px;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
-
import * as Root from '../../core/root/root.js';
|
|
6
5
|
import * as SDK from '../../core/sdk/sdk.js';
|
|
7
6
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
8
7
|
|
|
@@ -83,8 +82,6 @@ let loadedBrowserDebuggerModule: (typeof BrowserDebugger|undefined);
|
|
|
83
82
|
|
|
84
83
|
async function loadBrowserDebuggerModule(): Promise<typeof BrowserDebugger> {
|
|
85
84
|
if (!loadedBrowserDebuggerModule) {
|
|
86
|
-
// Side-effect import resources in module.json
|
|
87
|
-
await Root.Runtime.Runtime.instance().loadModulePromise('panels/browser_debugger');
|
|
88
85
|
loadedBrowserDebuggerModule = await import('./browser_debugger.js');
|
|
89
86
|
}
|
|
90
87
|
return loadedBrowserDebuggerModule;
|
|
@@ -99,8 +96,6 @@ let loadedSourcesModule: (typeof Sources|undefined);
|
|
|
99
96
|
// collision with node_app as a separate view with the same id is registered in it.
|
|
100
97
|
async function loadSourcesModule(): Promise<typeof Sources> {
|
|
101
98
|
if (!loadedSourcesModule) {
|
|
102
|
-
// Side-effect import resources in module.json
|
|
103
|
-
await Root.Runtime.Runtime.instance().loadModulePromise('sources');
|
|
104
99
|
loadedSourcesModule = await import('../sources/sources.js');
|
|
105
100
|
}
|
|
106
101
|
return loadedSourcesModule;
|
|
@@ -15,10 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
.breakpoint-condition {
|
|
17
17
|
display: block;
|
|
18
|
-
margin
|
|
19
|
-
margin-bottom: 4px;
|
|
20
|
-
margin-left: 23px;
|
|
21
|
-
margin-right: 8px;
|
|
18
|
+
margin: 4px 8px 4px 23px;
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
.breakpoint-condition-input {
|
|
@@ -42,7 +39,7 @@
|
|
|
42
39
|
background-color: var(--legacy-focus-bg-color);
|
|
43
40
|
}
|
|
44
41
|
|
|
45
|
-
.breakpoint-entry [is=dt-checkbox] {
|
|
42
|
+
.breakpoint-entry [is="dt-checkbox"] {
|
|
46
43
|
max-width: 100%;
|
|
47
44
|
}
|
|
48
45
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* found in the LICENSE file.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
[slot=insertion-point-main] {
|
|
7
|
+
[slot="insertion-point-main"] {
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
display: flex;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
[slot=insertion-point-sidebar] {
|
|
12
|
+
[slot="insertion-point-sidebar"] {
|
|
13
13
|
overflow: auto;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
margin: 0 8px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
[is=ui-icon] {
|
|
22
|
+
[is="ui-icon"] {
|
|
23
23
|
margin: 0 5px;
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -48,7 +48,7 @@ li .largeicon-navigator-folder {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
@media (forced-colors: active) {
|
|
51
|
-
[is=ui-icon].icon-mask {
|
|
51
|
+
[is="ui-icon"].icon-mask {
|
|
52
52
|
background-color: ButtonText;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -65,8 +65,8 @@ li .largeicon-navigator-folder {
|
|
|
65
65
|
color: HighlightText;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.tree-outline li:hover [is=ui-icon].icon-mask,
|
|
69
|
-
.tree-outline li.selected [is=ui-icon].icon-mask,
|
|
68
|
+
.tree-outline li:hover [is="ui-icon"].icon-mask,
|
|
69
|
+
.tree-outline li.selected [is="ui-icon"].icon-mask,
|
|
70
70
|
.tree-outline li.selected:focus .spritesheet-mediumicons:not(.icon-mask) {
|
|
71
71
|
background-color: HighlightText !important; /* stylelint-disable-line declaration-no-important */
|
|
72
72
|
}
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
|
|
463
463
|
@media (forced-colors: active) {
|
|
464
464
|
.console-message-expand-icon,
|
|
465
|
-
.console-warning-level [is=ui-icon].icon-mask.expand-group-icon {
|
|
465
|
+
.console-warning-level [is="ui-icon"].icon-mask.expand-group-icon {
|
|
466
466
|
forced-color-adjust: none;
|
|
467
467
|
background-color: ButtonText;
|
|
468
468
|
}
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
color: HighlightText;
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
.console-message-wrapper:focus [is=ui-icon].icon-mask {
|
|
496
|
+
.console-message-wrapper:focus [is="ui-icon"].icon-mask {
|
|
497
497
|
background-color: HighlightText;
|
|
498
498
|
}
|
|
499
499
|
|