chrome-devtools-frontend 1.0.922782 → 1.0.923788
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/front_end/core/common/Console.ts +5 -1
- package/front_end/core/common/EventTarget.ts +7 -13
- package/front_end/core/common/Object.ts +5 -9
- package/front_end/core/common/Settings.ts +12 -9
- package/front_end/core/host/InspectorFrontendHost.ts +6 -5
- package/front_end/core/host/InspectorFrontendHostAPI.ts +102 -0
- package/front_end/core/sdk/CSSModel.ts +8 -4
- package/front_end/core/sdk/Connections.ts +5 -5
- package/front_end/core/sdk/DebuggerModel.ts +8 -5
- package/front_end/core/sdk/RuntimeModel.ts +1 -1
- package/front_end/core/sdk/SourceMap.ts +74 -31
- package/front_end/core/sdk/TargetManager.ts +7 -7
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -2
- package/front_end/entrypoints/main/ExecutionContextSelector.ts +4 -4
- package/front_end/entrypoints/main/MainImpl.ts +4 -7
- package/front_end/entrypoints/node_main/NodeConnectionsPanel.ts +2 -2
- package/front_end/entrypoints/node_main/NodeMain.ts +1 -2
- package/front_end/models/bindings/BreakpointManager.ts +3 -2
- package/front_end/models/bindings/CompilerScriptMapping.ts +24 -6
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +30 -30
- package/front_end/models/extensions/ExtensionServer.ts +12 -15
- package/front_end/models/issues_manager/DeprecationIssue.ts +1 -1
- package/front_end/models/issues_manager/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +15 -5
- package/front_end/models/issues_manager/descriptions/CoepFrameResourceNeedsCoepHeader.md +7 -3
- package/front_end/models/issues_manager/descriptions/deprecationNavigatorUserAgent.md +1 -1
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +26 -31
- package/front_end/models/persistence/NetworkPersistenceManager.ts +11 -1
- package/front_end/models/persistence/PersistenceUtils.ts +2 -1
- package/front_end/models/workspace/FileManager.ts +5 -7
- package/front_end/models/workspace/WorkspaceImpl.ts +1 -1
- package/front_end/models/workspace_diff/WorkspaceDiff.ts +24 -20
- package/front_end/panels/application/ApplicationPanelSidebar.ts +14 -19
- package/front_end/panels/application/BackForwardCacheView.ts +4 -3
- package/front_end/panels/application/DOMStorageItemsView.ts +2 -2
- package/front_end/panels/application/DatabaseModel.ts +6 -1
- package/front_end/panels/application/IndexedDBModel.ts +9 -1
- package/front_end/panels/application/IndexedDBViews.ts +1 -1
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +1 -1
- package/front_end/panels/console/ConsoleContextSelector.ts +3 -2
- package/front_end/panels/console/ConsolePinPane.ts +1 -2
- package/front_end/panels/console/ConsoleView.ts +3 -5
- package/front_end/panels/console/ConsoleViewMessage.ts +1 -1
- package/front_end/panels/coverage/CoverageModel.ts +9 -3
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +10 -10
- package/front_end/panels/css_overview/CSSOverviewController.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewModel.ts +5 -5
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +21 -20
- package/front_end/panels/css_overview/CSSOverviewUnusedDeclarations.ts +12 -9
- package/front_end/panels/elements/ClassesPaneWidget.ts +2 -2
- package/front_end/panels/elements/ComputedStyleModel.ts +2 -2
- package/front_end/panels/elements/ElementsPanel.ts +2 -3
- package/front_end/panels/elements/PropertiesWidget.ts +2 -2
- package/front_end/panels/layer_viewer/Layers3DView.ts +1 -1
- package/front_end/panels/media/PlayerMessagesView.ts +2 -4
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +3 -2
- package/front_end/panels/profiler/CPUProfileFlameChart.ts +5 -3
- package/front_end/panels/profiler/HeapProfileView.ts +12 -2
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +14 -1
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +11 -3
- package/front_end/panels/profiler/HeapSnapshotView.ts +65 -30
- package/front_end/panels/profiler/ProfileHeader.ts +11 -2
- package/front_end/panels/profiler/ProfilesPanel.ts +7 -6
- package/front_end/panels/sources/SourcesPanel.ts +1 -2
- package/front_end/panels/sources/ThreadsSidebarPane.ts +1 -2
- package/front_end/panels/timeline/TimelineUIUtils.ts +1 -2
- package/front_end/panels/web_audio/WebAudioModel.ts +19 -1
- package/front_end/panels/web_audio/WebAudioView.ts +25 -19
- package/front_end/panels/web_audio/graph_visualizer/GraphManager.ts +3 -17
- package/front_end/panels/webauthn/WebauthnPane.ts +20 -10
- package/front_end/third_party/puppeteer/README.chromium +1 -1
- package/front_end/third_party/puppeteer/package/CHANGELOG.md +66 -0
- package/front_end/third_party/puppeteer/package/README.md +34 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +18 -2
- 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 +8 -3
- 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/Connection.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts +22 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +14 -7
- 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 +1 -0
- 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 +10 -6
- 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/DeviceDescriptors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.js +120 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +1 -1
- 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 +2 -2
- 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 +62 -3
- 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 +131 -3
- 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/Input.d.ts +40 -0
- 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 +76 -0
- 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 +53 -2
- 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 +82 -13
- 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/NetworkManager.d.ts +2 -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 +14 -2
- 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/PDFOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +1053 -29
- 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 +1114 -22
- 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/Tracing.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js +17 -6
- 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/assert.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.js +6 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.d.ts +21 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js +47 -28
- 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/global.d.ts +17 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/global.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/global.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/global.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +9 -10
- 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 +5 -2
- 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 +10 -2
- 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 +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 +83 -6
- 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/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +7 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +2 -2
- 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.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +17 -3
- 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/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +18 -2
- 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 +8 -3
- 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 +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts +22 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js +14 -7
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts +1 -0
- 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 +10 -6
- 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/DeviceDescriptors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.js +120 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.d.ts.map +1 -1
- 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 +2 -2
- 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 +62 -3
- 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 +131 -3
- 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/Input.d.ts +40 -0
- 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 +76 -0
- 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 +53 -2
- 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 +82 -13
- 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 +2 -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 +14 -2
- 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/PDFOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +1053 -29
- 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 +1115 -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/Tracing.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js +17 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.js +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.d.ts +21 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js +32 -13
- 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/global.d.ts +17 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/global.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/global.js +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/global.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +9 -10
- 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 +5 -2
- 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 +10 -2
- 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 +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 +83 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js +7 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js +17 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +1382 -19726
- package/front_end/third_party/puppeteer/package/package.json +9 -6
- package/front_end/third_party/wasmparser/README.chromium +2 -2
- package/front_end/third_party/wasmparser/package/CHANGELOG.md +13 -0
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmDis.js +50 -10
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmDis.js.map +1 -1
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.d.ts +21 -4
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js +76 -8
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js.map +1 -1
- package/front_end/third_party/wasmparser/package/dist/esm/WasmDis.js +50 -10
- package/front_end/third_party/wasmparser/package/dist/esm/WasmDis.js.map +1 -1
- package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.d.ts +21 -4
- package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js +76 -8
- package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js.map +1 -1
- package/front_end/third_party/wasmparser/package/package.json +1 -1
- package/front_end/third_party/wasmparser/package/src/WasmDis.ts +47 -10
- package/front_end/third_party/wasmparser/package/src/WasmParser.ts +75 -5
- package/front_end/ui/components/icon_button/iconButton.css +4 -0
- package/front_end/ui/legacy/Context.ts +9 -4
- package/front_end/ui/legacy/ContextMenu.ts +4 -4
- package/front_end/ui/legacy/ForwardedInputEventHandler.ts +3 -7
- package/front_end/ui/legacy/GlassPane.ts +1 -3
- package/front_end/ui/legacy/InspectorView.ts +1 -2
- package/front_end/ui/legacy/UIUtils.ts +2 -3
- package/front_end/ui/legacy/Widget.ts +1 -3
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +5 -8
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +5 -8
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +15 -6
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +7 -1
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +3 -3
- package/front_end/ui/legacy/components/utils/Linkifier.ts +5 -1
- package/front_end/ui/legacy/reportView.css +1 -0
- package/package.json +1 -1
- package/scripts/build/rollup.config.js +0 -5
|
@@ -123,7 +123,7 @@ function convertToSamplingHeapProfile(profileHeader: SamplingHeapProfileHeader):
|
|
|
123
123
|
|
|
124
124
|
export class HeapProfileView extends ProfileView implements UI.SearchableView.Searchable {
|
|
125
125
|
profileHeader: SamplingHeapProfileHeader;
|
|
126
|
-
readonly profileType:
|
|
126
|
+
readonly profileType: SamplingHeapProfileTypeBase;
|
|
127
127
|
adjustedTotal: number;
|
|
128
128
|
readonly selectedSizeText: UI.Toolbar.ToolbarText;
|
|
129
129
|
timestamps: number[];
|
|
@@ -243,7 +243,8 @@ export class HeapProfileView extends ProfileView implements UI.SearchableView.Se
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
export class SamplingHeapProfileTypeBase extends
|
|
246
|
+
export class SamplingHeapProfileTypeBase extends
|
|
247
|
+
Common.ObjectWrapper.eventMixin<SamplingHeapProfileType.EventTypes, typeof ProfileType>(ProfileType) {
|
|
247
248
|
recording: boolean;
|
|
248
249
|
clearedDuringRecording: boolean;
|
|
249
250
|
|
|
@@ -445,6 +446,11 @@ export namespace SamplingHeapProfileType {
|
|
|
445
446
|
RecordingStopped = 'RecordingStopped',
|
|
446
447
|
StatsUpdate = 'StatsUpdate',
|
|
447
448
|
}
|
|
449
|
+
|
|
450
|
+
export type EventTypes = {
|
|
451
|
+
[Events.RecordingStopped]: void,
|
|
452
|
+
[Events.StatsUpdate]: Protocol.HeapProfiler.SamplingHeapProfile|null,
|
|
453
|
+
};
|
|
448
454
|
}
|
|
449
455
|
|
|
450
456
|
export class SamplingHeapProfileHeader extends WritableProfileHeader {
|
|
@@ -505,6 +511,10 @@ export class SamplingHeapProfileHeader extends WritableProfileHeader {
|
|
|
505
511
|
heapProfilerModel(): SDK.HeapProfilerModel.HeapProfilerModel|null {
|
|
506
512
|
return this.heapProfilerModelInternal;
|
|
507
513
|
}
|
|
514
|
+
|
|
515
|
+
override profileType(): SamplingHeapProfileTypeBase {
|
|
516
|
+
return super.profileType() as SamplingHeapProfileTypeBase;
|
|
517
|
+
}
|
|
508
518
|
}
|
|
509
519
|
|
|
510
520
|
export class SamplingHeapProfileNode extends SDK.ProfileTreeModel.ProfileNode {
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
|
+
import * as Common from '../../core/common/common.js';
|
|
31
32
|
import * as i18n from '../../core/i18n/i18n.js';
|
|
32
33
|
import * as HeapSnapshotModel from '../../models/heap_snapshot_model/heap_snapshot_model.js';
|
|
33
34
|
import * as DataGrid from '../../ui/legacy/components/data_grid/data_grid.js';
|
|
@@ -146,7 +147,11 @@ const str_ = i18n.i18n.registerUIStrings('panels/profiler/HeapSnapshotDataGrids.
|
|
|
146
147
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
147
148
|
const adjacencyMap = new WeakMap<DataGrid.DataGrid.DataGridNode<HeapSnapshotGridNode>, HeapSnapshotGridNode[]>();
|
|
148
149
|
|
|
149
|
-
|
|
150
|
+
class HeapSnapshotSortableDataGridBase extends DataGrid.DataGrid.DataGridImpl<HeapSnapshotGridNode> {}
|
|
151
|
+
|
|
152
|
+
export class HeapSnapshotSortableDataGrid extends
|
|
153
|
+
Common.ObjectWrapper.eventMixin<EventTypes, typeof HeapSnapshotSortableDataGridBase>(
|
|
154
|
+
HeapSnapshotSortableDataGridBase) {
|
|
150
155
|
snapshot: HeapSnapshotProxy|null;
|
|
151
156
|
selectedNode: HeapSnapshotGridNode|null;
|
|
152
157
|
readonly heapProfilerModelInternal: SDK.HeapProfilerModel.HeapProfilerModel|null;
|
|
@@ -402,8 +407,15 @@ export class HeapSnapshotSortableDataGrid extends DataGrid.DataGrid.DataGridImpl
|
|
|
402
407
|
export enum HeapSnapshotSortableDataGridEvents {
|
|
403
408
|
ContentShown = 'ContentShown',
|
|
404
409
|
SortingComplete = 'SortingComplete',
|
|
410
|
+
ExpandRetainersComplete = 'ExpandRetainersComplete',
|
|
405
411
|
}
|
|
406
412
|
|
|
413
|
+
export type EventTypes = {
|
|
414
|
+
[HeapSnapshotSortableDataGridEvents.ContentShown]: HeapSnapshotSortableDataGrid,
|
|
415
|
+
[HeapSnapshotSortableDataGridEvents.SortingComplete]: void,
|
|
416
|
+
[HeapSnapshotSortableDataGridEvents.ExpandRetainersComplete]: void,
|
|
417
|
+
};
|
|
418
|
+
|
|
407
419
|
export class HeapSnapshotViewportDataGrid extends HeapSnapshotSortableDataGrid {
|
|
408
420
|
topPaddingHeight: number;
|
|
409
421
|
bottomPaddingHeight: number;
|
|
@@ -734,6 +746,7 @@ export class HeapSnapshotRetainmentDataGrid extends HeapSnapshotContainmentDataG
|
|
|
734
746
|
}
|
|
735
747
|
|
|
736
748
|
// TODO(crbug.com/1167717): Make this a const enum again
|
|
749
|
+
// TODO(crbug.com/1228674): Remove this enum, it is only used in web tests.
|
|
737
750
|
// eslint-disable-next-line rulesdir/const_enum
|
|
738
751
|
export enum HeapSnapshotRetainmentDataGridEvents {
|
|
739
752
|
ExpandRetainersComplete = 'ExpandRetainersComplete',
|
|
@@ -39,7 +39,7 @@ import * as UI from '../../ui/legacy/legacy.js';
|
|
|
39
39
|
|
|
40
40
|
import type {ChildrenProvider} from './ChildrenProvider.js';
|
|
41
41
|
import type {AllocationDataGrid, HeapSnapshotConstructorsDataGrid, HeapSnapshotDiffDataGrid, HeapSnapshotSortableDataGrid} from './HeapSnapshotDataGrids.js';
|
|
42
|
-
import {
|
|
42
|
+
import {HeapSnapshotSortableDataGridEvents} from './HeapSnapshotDataGrids.js';
|
|
43
43
|
import type {HeapSnapshotProviderProxy, HeapSnapshotProxy} from './HeapSnapshotProxy.js';
|
|
44
44
|
import type {DataDisplayDelegate} from './ProfileHeader.js';
|
|
45
45
|
|
|
@@ -93,7 +93,11 @@ const UIStrings = {
|
|
|
93
93
|
const str_ = i18n.i18n.registerUIStrings('panels/profiler/HeapSnapshotGridNodes.ts', UIStrings);
|
|
94
94
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
class HeapSnapshotGridNodeBase extends DataGrid.DataGrid.DataGridNode<HeapSnapshotGridNode> {}
|
|
97
|
+
|
|
98
|
+
export class HeapSnapshotGridNode extends
|
|
99
|
+
Common.ObjectWrapper.eventMixin<HeapSnapshotGridNode.EventTypes, typeof HeapSnapshotGridNodeBase>(
|
|
100
|
+
HeapSnapshotGridNodeBase) {
|
|
97
101
|
dataGridInternal: HeapSnapshotSortableDataGrid;
|
|
98
102
|
instanceCount: number;
|
|
99
103
|
readonly savedChildren: Map<number, HeapSnapshotGridNode>;
|
|
@@ -469,6 +473,10 @@ export namespace HeapSnapshotGridNode {
|
|
|
469
473
|
export enum Events {
|
|
470
474
|
PopulateComplete = 'PopulateComplete',
|
|
471
475
|
}
|
|
476
|
+
|
|
477
|
+
export type EventTypes = {
|
|
478
|
+
[Events.PopulateComplete]: void,
|
|
479
|
+
};
|
|
472
480
|
}
|
|
473
481
|
|
|
474
482
|
export abstract class HeapSnapshotGenericObjectNode extends HeapSnapshotGridNode {
|
|
@@ -847,7 +855,7 @@ export class HeapSnapshotRetainingObjectNode extends HeapSnapshotObjectNode {
|
|
|
847
855
|
return;
|
|
848
856
|
}
|
|
849
857
|
}
|
|
850
|
-
this.dataGridInternal.dispatchEventToListeners(
|
|
858
|
+
this.dataGridInternal.dispatchEventToListeners(HeapSnapshotSortableDataGridEvents.ExpandRetainersComplete);
|
|
851
859
|
}
|
|
852
860
|
}
|
|
853
861
|
|
|
@@ -306,7 +306,7 @@ export class HeapSnapshotView extends UI.View.SimpleView implements DataDisplayD
|
|
|
306
306
|
this.linkifier = new Components.Linkifier.Linkifier();
|
|
307
307
|
const profileType = profile.profileType();
|
|
308
308
|
|
|
309
|
-
profileType.addEventListener(
|
|
309
|
+
profileType.addEventListener(HeapSnapshotProfileTypeEvents.SnapshotReceived, this.onReceiveSnapshot, this);
|
|
310
310
|
profileType.addEventListener(ProfileTypeEvents.RemoveProfileHeader, this.onProfileHeaderRemoved, this);
|
|
311
311
|
|
|
312
312
|
const isHeapTimeline = profileType.id === TrackingHeapSnapshotProfileType.TypeId;
|
|
@@ -429,7 +429,7 @@ export class HeapSnapshotView extends UI.View.SimpleView implements DataDisplayD
|
|
|
429
429
|
this.currentPerspectiveIndex = 0;
|
|
430
430
|
this.currentPerspective = this.perspectives[0];
|
|
431
431
|
this.currentPerspective.activate(this);
|
|
432
|
-
this.dataGrid =
|
|
432
|
+
this.dataGrid = this.currentPerspective.masterGrid(this);
|
|
433
433
|
|
|
434
434
|
this.populate();
|
|
435
435
|
this.searchThrottler = new Common.Throttler.Throttler(0);
|
|
@@ -444,26 +444,27 @@ export class HeapSnapshotView extends UI.View.SimpleView implements DataDisplayD
|
|
|
444
444
|
this.trackingOverviewGrid = new HeapTimelineOverview();
|
|
445
445
|
this.trackingOverviewGrid.addEventListener(Events.IdsRangeChanged, this.onIdsRangeChanged.bind(this));
|
|
446
446
|
if (!this.profile.fromFile() && profileType.profileBeingRecorded() === this.profile) {
|
|
447
|
-
profileType
|
|
448
|
-
|
|
447
|
+
(profileType as TrackingHeapSnapshotProfileType)
|
|
448
|
+
.addEventListener(TrackingHeapSnapshotProfileTypeEvents.HeapStatsUpdate, this.onHeapStatsUpdate, this);
|
|
449
|
+
(profileType as TrackingHeapSnapshotProfileType)
|
|
450
|
+
.addEventListener(TrackingHeapSnapshotProfileTypeEvents.TrackingStopped, this.onStopTracking, this);
|
|
449
451
|
this.trackingOverviewGrid.start();
|
|
450
452
|
}
|
|
451
453
|
}
|
|
452
454
|
|
|
453
455
|
onStopTracking(): void {
|
|
454
|
-
this.profile.profileType()
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
456
|
+
const profileType = this.profile.profileType() as TrackingHeapSnapshotProfileType;
|
|
457
|
+
profileType.removeEventListener(
|
|
458
|
+
TrackingHeapSnapshotProfileTypeEvents.HeapStatsUpdate, this.onHeapStatsUpdate, this);
|
|
459
|
+
profileType.removeEventListener(TrackingHeapSnapshotProfileTypeEvents.TrackingStopped, this.onStopTracking, this);
|
|
458
460
|
if (this.trackingOverviewGrid) {
|
|
459
461
|
this.trackingOverviewGrid.stop();
|
|
460
462
|
}
|
|
461
463
|
}
|
|
462
464
|
|
|
463
|
-
onHeapStatsUpdate(
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
this.trackingOverviewGrid.setSamples(event.data);
|
|
465
|
+
onHeapStatsUpdate({data: samples}: Common.EventTarget.EventTargetEvent<Samples>): void {
|
|
466
|
+
if (this.trackingOverviewGrid) {
|
|
467
|
+
this.trackingOverviewGrid.setSamples(samples);
|
|
467
468
|
}
|
|
468
469
|
}
|
|
469
470
|
|
|
@@ -726,19 +727,22 @@ export class HeapSnapshotView extends UI.View.SimpleView implements DataDisplayD
|
|
|
726
727
|
return this.profile.profileType().getProfiles();
|
|
727
728
|
}
|
|
728
729
|
|
|
729
|
-
selectionChanged(event: Common.EventTarget.EventTargetEvent):
|
|
730
|
+
selectionChanged(event: Common.EventTarget.EventTargetEvent<DataGrid.DataGrid.DataGridNode<HeapSnapshotGridNode>>):
|
|
731
|
+
void {
|
|
730
732
|
const selectedNode = (event.data as HeapSnapshotGridNode);
|
|
731
733
|
this.setSelectedNodeForDetailsView(selectedNode);
|
|
732
734
|
this.inspectedObjectChanged(event);
|
|
733
735
|
}
|
|
734
736
|
|
|
735
|
-
onSelectAllocationNode(
|
|
737
|
+
onSelectAllocationNode(
|
|
738
|
+
event: Common.EventTarget.EventTargetEvent<DataGrid.DataGrid.DataGridNode<HeapSnapshotGridNode>>): void {
|
|
736
739
|
const selectedNode = (event.data as AllocationGridNode);
|
|
737
740
|
this.constructorsDataGrid.setAllocationNodeId(selectedNode.allocationNodeId());
|
|
738
741
|
this.setSelectedNodeForDetailsView(null);
|
|
739
742
|
}
|
|
740
743
|
|
|
741
|
-
inspectedObjectChanged(
|
|
744
|
+
inspectedObjectChanged(
|
|
745
|
+
event: Common.EventTarget.EventTargetEvent<DataGrid.DataGrid.DataGridNode<HeapSnapshotGridNode>>): void {
|
|
742
746
|
const selectedNode = (event.data as HeapSnapshotGridNode);
|
|
743
747
|
const heapProfilerModel = this.profile.heapProfilerModel();
|
|
744
748
|
if (heapProfilerModel && selectedNode instanceof HeapSnapshotGenericObjectNode) {
|
|
@@ -961,14 +965,14 @@ export class HeapSnapshotView extends UI.View.SimpleView implements DataDisplayD
|
|
|
961
965
|
profile.addEventListener(ProfileHeaderEvents.ProfileTitleChanged, this.updateControls, this);
|
|
962
966
|
}
|
|
963
967
|
|
|
964
|
-
onProfileHeaderRemoved(event: Common.EventTarget.EventTargetEvent): void {
|
|
968
|
+
onProfileHeaderRemoved(event: Common.EventTarget.EventTargetEvent<ProfileHeader>): void {
|
|
965
969
|
const profile = event.data;
|
|
966
970
|
profile.removeEventListener(ProfileHeaderEvents.ProfileTitleChanged, this.updateControls, this);
|
|
967
971
|
|
|
968
972
|
if (this.profile === profile) {
|
|
969
973
|
this.detach();
|
|
970
974
|
this.profile.profileType().removeEventListener(
|
|
971
|
-
|
|
975
|
+
HeapSnapshotProfileTypeEvents.SnapshotReceived, this.onReceiveSnapshot, this);
|
|
972
976
|
this.profile.profileType().removeEventListener(
|
|
973
977
|
ProfileTypeEvents.RemoveProfileHeader, this.onProfileHeaderRemoved, this);
|
|
974
978
|
this.dispose();
|
|
@@ -1020,7 +1024,7 @@ export class Perspective {
|
|
|
1020
1024
|
heapSnapshotView.splitWidget.detachChildWidgets();
|
|
1021
1025
|
}
|
|
1022
1026
|
|
|
1023
|
-
masterGrid(_heapSnapshotView: HeapSnapshotView):
|
|
1027
|
+
masterGrid(_heapSnapshotView: HeapSnapshotView): HeapSnapshotSortableDataGrid|null {
|
|
1024
1028
|
return null;
|
|
1025
1029
|
}
|
|
1026
1030
|
|
|
@@ -1053,7 +1057,7 @@ export class SummaryPerspective extends Perspective {
|
|
|
1053
1057
|
heapSnapshotView.trackingOverviewGrid.updateGrid();
|
|
1054
1058
|
}
|
|
1055
1059
|
|
|
1056
|
-
masterGrid(heapSnapshotView: HeapSnapshotView):
|
|
1060
|
+
masterGrid(heapSnapshotView: HeapSnapshotView): HeapSnapshotSortableDataGrid {
|
|
1057
1061
|
return heapSnapshotView.constructorsDataGrid;
|
|
1058
1062
|
}
|
|
1059
1063
|
|
|
@@ -1075,7 +1079,7 @@ export class ComparisonPerspective extends Perspective {
|
|
|
1075
1079
|
heapSnapshotView.classNameFilter.setVisible(true);
|
|
1076
1080
|
}
|
|
1077
1081
|
|
|
1078
|
-
masterGrid(heapSnapshotView: HeapSnapshotView):
|
|
1082
|
+
masterGrid(heapSnapshotView: HeapSnapshotView): HeapSnapshotSortableDataGrid {
|
|
1079
1083
|
return heapSnapshotView.diffDataGrid;
|
|
1080
1084
|
}
|
|
1081
1085
|
|
|
@@ -1095,7 +1099,7 @@ export class ContainmentPerspective extends Perspective {
|
|
|
1095
1099
|
heapSnapshotView.splitWidget.show(heapSnapshotView.searchableViewInternal.element);
|
|
1096
1100
|
}
|
|
1097
1101
|
|
|
1098
|
-
masterGrid(heapSnapshotView: HeapSnapshotView):
|
|
1102
|
+
masterGrid(heapSnapshotView: HeapSnapshotView): HeapSnapshotSortableDataGrid {
|
|
1099
1103
|
return heapSnapshotView.containmentDataGrid;
|
|
1100
1104
|
}
|
|
1101
1105
|
}
|
|
@@ -1143,7 +1147,7 @@ export class AllocationPerspective extends Perspective {
|
|
|
1143
1147
|
super.deactivate(heapSnapshotView);
|
|
1144
1148
|
}
|
|
1145
1149
|
|
|
1146
|
-
masterGrid(heapSnapshotView: HeapSnapshotView):
|
|
1150
|
+
masterGrid(heapSnapshotView: HeapSnapshotView): HeapSnapshotSortableDataGrid|null {
|
|
1147
1151
|
return heapSnapshotView.allocationDataGrid;
|
|
1148
1152
|
}
|
|
1149
1153
|
}
|
|
@@ -1157,13 +1161,14 @@ export class StatisticsPerspective extends Perspective {
|
|
|
1157
1161
|
heapSnapshotView.statisticsView.show(heapSnapshotView.searchableViewInternal.element);
|
|
1158
1162
|
}
|
|
1159
1163
|
|
|
1160
|
-
masterGrid(_heapSnapshotView: HeapSnapshotView):
|
|
1164
|
+
masterGrid(_heapSnapshotView: HeapSnapshotView): HeapSnapshotSortableDataGrid|null {
|
|
1161
1165
|
return null;
|
|
1162
1166
|
}
|
|
1163
1167
|
}
|
|
1164
1168
|
|
|
1165
|
-
export class HeapSnapshotProfileType extends
|
|
1166
|
-
|
|
1169
|
+
export class HeapSnapshotProfileType extends
|
|
1170
|
+
Common.ObjectWrapper.eventMixin<HeapSnapshotProfileTypeEventTypes, typeof ProfileType>(ProfileType)
|
|
1171
|
+
implements SDK.TargetManager.SDKModelObserver<SDK.HeapProfilerModel.HeapProfilerModel> {
|
|
1167
1172
|
readonly treatGlobalObjectsAsRoots: Common.Settings.Setting<boolean>;
|
|
1168
1173
|
readonly captureNumericValue: Common.Settings.Setting<boolean>;
|
|
1169
1174
|
customContentInternal: HTMLElement|null;
|
|
@@ -1313,16 +1318,27 @@ export class HeapSnapshotProfileType extends ProfileType implements
|
|
|
1313
1318
|
if (this.profileBeingRecorded() === profile) {
|
|
1314
1319
|
this.setProfileBeingRecorded(null);
|
|
1315
1320
|
}
|
|
1316
|
-
this.dispatchEventToListeners(
|
|
1321
|
+
this.dispatchEventToListeners(HeapSnapshotProfileTypeEvents.SnapshotReceived, profile);
|
|
1317
1322
|
}
|
|
1318
1323
|
|
|
1319
1324
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1320
1325
|
static readonly TypeId: string = 'HEAP';
|
|
1326
|
+
// TODO(crbug.com/1228674): Remove event string once its no longer used in web tests.
|
|
1321
1327
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1322
1328
|
static readonly SnapshotReceived = 'SnapshotReceived';
|
|
1323
1329
|
}
|
|
1324
1330
|
|
|
1325
|
-
export
|
|
1331
|
+
export const enum HeapSnapshotProfileTypeEvents {
|
|
1332
|
+
SnapshotReceived = 'SnapshotReceived',
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
export type HeapSnapshotProfileTypeEventTypes = {
|
|
1336
|
+
[HeapSnapshotProfileTypeEvents.SnapshotReceived]: ProfileHeader,
|
|
1337
|
+
};
|
|
1338
|
+
|
|
1339
|
+
export class TrackingHeapSnapshotProfileType extends
|
|
1340
|
+
Common.ObjectWrapper.eventMixin<TrackingHeapSnapshotProfileTypeEventTypes, typeof HeapSnapshotProfileType>(
|
|
1341
|
+
HeapSnapshotProfileType) {
|
|
1326
1342
|
readonly recordAllocationStacksSettingInternal: Common.Settings.Setting<boolean>;
|
|
1327
1343
|
customContentInternal: UI.UIUtils.CheckboxLabel|null;
|
|
1328
1344
|
recording: boolean;
|
|
@@ -1380,7 +1396,9 @@ export class TrackingHeapSnapshotProfileType extends HeapSnapshotProfileType {
|
|
|
1380
1396
|
if (profileSamples.totalTime < timestamp - profileSamples.timestamps[0]) {
|
|
1381
1397
|
profileSamples.totalTime *= 2;
|
|
1382
1398
|
}
|
|
1383
|
-
|
|
1399
|
+
if (this.profileSamples) {
|
|
1400
|
+
this.dispatchEventToListeners(TrackingHeapSnapshotProfileTypeEvents.HeapStatsUpdate, this.profileSamples);
|
|
1401
|
+
}
|
|
1384
1402
|
const profile = this.profileBeingRecorded();
|
|
1385
1403
|
if (profile) {
|
|
1386
1404
|
profile.updateStatus(null, true);
|
|
@@ -1445,7 +1463,7 @@ export class TrackingHeapSnapshotProfileType extends HeapSnapshotProfileType {
|
|
|
1445
1463
|
this.recording = true;
|
|
1446
1464
|
this.addProfile((this.profileBeingRecorded() as ProfileHeader));
|
|
1447
1465
|
(this.profileBeingRecorded() as HeapProfileHeader).updateStatus(i18nString(UIStrings.recording));
|
|
1448
|
-
this.dispatchEventToListeners(
|
|
1466
|
+
this.dispatchEventToListeners(TrackingHeapSnapshotProfileTypeEvents.TrackingStarted);
|
|
1449
1467
|
return heapProfilerModel;
|
|
1450
1468
|
}
|
|
1451
1469
|
|
|
@@ -1455,7 +1473,7 @@ export class TrackingHeapSnapshotProfileType extends HeapSnapshotProfileType {
|
|
|
1455
1473
|
const stopPromise =
|
|
1456
1474
|
(profile.heapProfilerModel() as SDK.HeapProfilerModel.HeapProfilerModel).stopTrackingHeapObjects(true);
|
|
1457
1475
|
this.recording = false;
|
|
1458
|
-
this.dispatchEventToListeners(
|
|
1476
|
+
this.dispatchEventToListeners(TrackingHeapSnapshotProfileTypeEvents.TrackingStopped);
|
|
1459
1477
|
await stopPromise;
|
|
1460
1478
|
profile = (this.profileBeingRecorded() as HeapProfileHeader);
|
|
1461
1479
|
if (!profile) {
|
|
@@ -1506,6 +1524,7 @@ export class TrackingHeapSnapshotProfileType extends HeapSnapshotProfileType {
|
|
|
1506
1524
|
|
|
1507
1525
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1508
1526
|
static readonly TypeId = 'HEAP-RECORD';
|
|
1527
|
+
// TODO(crbug.com/1228674): Remove event strings once they are no longer used in web tests.
|
|
1509
1528
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1510
1529
|
static readonly HeapStatsUpdate = 'HeapStatsUpdate';
|
|
1511
1530
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -1514,6 +1533,18 @@ export class TrackingHeapSnapshotProfileType extends HeapSnapshotProfileType {
|
|
|
1514
1533
|
static readonly TrackingStopped = 'TrackingStopped';
|
|
1515
1534
|
}
|
|
1516
1535
|
|
|
1536
|
+
export const enum TrackingHeapSnapshotProfileTypeEvents {
|
|
1537
|
+
HeapStatsUpdate = 'HeapStatsUpdate',
|
|
1538
|
+
TrackingStarted = 'TrackingStarted',
|
|
1539
|
+
TrackingStopped = 'TrackingStopped',
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
export type TrackingHeapSnapshotProfileTypeEventTypes = {
|
|
1543
|
+
[TrackingHeapSnapshotProfileTypeEvents.HeapStatsUpdate]: Samples,
|
|
1544
|
+
[TrackingHeapSnapshotProfileTypeEvents.TrackingStarted]: void,
|
|
1545
|
+
[TrackingHeapSnapshotProfileTypeEvents.TrackingStopped]: void,
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1517
1548
|
export class HeapProfileHeader extends ProfileHeader {
|
|
1518
1549
|
readonly heapProfilerModelInternal: SDK.HeapProfilerModel.HeapProfilerModel|null;
|
|
1519
1550
|
maxJSObjectId: number;
|
|
@@ -1736,6 +1767,10 @@ export class HeapProfileHeader extends ProfileHeader {
|
|
|
1736
1767
|
}
|
|
1737
1768
|
return success ? null : reader.error();
|
|
1738
1769
|
}
|
|
1770
|
+
|
|
1771
|
+
override profileType(): HeapSnapshotProfileType {
|
|
1772
|
+
return super.profileType() as HeapSnapshotProfileType;
|
|
1773
|
+
}
|
|
1739
1774
|
}
|
|
1740
1775
|
|
|
1741
1776
|
export class HeapSnapshotStatisticsView extends UI.Widget.VBox {
|
|
@@ -104,7 +104,7 @@ export type EventTypes = {
|
|
|
104
104
|
[Events.ProfileTitleChanged]: ProfileHeader,
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
export
|
|
107
|
+
export class ProfileType extends Common.ObjectWrapper.ObjectWrapper<ProfileEventTypes> {
|
|
108
108
|
readonly idInternal: string;
|
|
109
109
|
readonly nameInternal: string;
|
|
110
110
|
profiles: ProfileHeader[];
|
|
@@ -212,7 +212,9 @@ export abstract class ProfileType extends Common.ObjectWrapper.ObjectWrapper {
|
|
|
212
212
|
return profile.loadFromFile(file);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
|
|
215
|
+
createProfileLoadedFromFile(_title: string): ProfileHeader {
|
|
216
|
+
throw new Error('Not implemented');
|
|
217
|
+
}
|
|
216
218
|
|
|
217
219
|
addProfile(profile: ProfileHeader): void {
|
|
218
220
|
this.profiles.push(profile);
|
|
@@ -272,6 +274,13 @@ export enum ProfileEvents {
|
|
|
272
274
|
ViewUpdated = 'view-updated',
|
|
273
275
|
}
|
|
274
276
|
|
|
277
|
+
export type ProfileEventTypes = {
|
|
278
|
+
[ProfileEvents.AddProfileHeader]: ProfileHeader,
|
|
279
|
+
[ProfileEvents.ProfileComplete]: ProfileHeader,
|
|
280
|
+
[ProfileEvents.RemoveProfileHeader]: ProfileHeader,
|
|
281
|
+
[ProfileEvents.ViewUpdated]: void,
|
|
282
|
+
};
|
|
283
|
+
|
|
275
284
|
export interface DataDisplayDelegate {
|
|
276
285
|
showProfile(profile: ProfileHeader|null): UI.Widget.Widget|null;
|
|
277
286
|
showObject(snapshotObjectId: string, perspectiveName: string): void;
|
|
@@ -327,16 +327,17 @@ export class ProfilesPanel extends UI.Panel.PanelWithSidebar implements DataDisp
|
|
|
327
327
|
profileTypeSection.childrenListElement.addEventListener(
|
|
328
328
|
'contextmenu', this.handleContextMenuEvent.bind(this), false);
|
|
329
329
|
|
|
330
|
-
function onAddProfileHeader(this: ProfilesPanel, event: Common.EventTarget.EventTargetEvent): void {
|
|
331
|
-
this.addProfileHeader(
|
|
330
|
+
function onAddProfileHeader(this: ProfilesPanel, event: Common.EventTarget.EventTargetEvent<ProfileHeader>): void {
|
|
331
|
+
this.addProfileHeader(event.data);
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
function onRemoveProfileHeader(
|
|
335
|
-
|
|
334
|
+
function onRemoveProfileHeader(
|
|
335
|
+
this: ProfilesPanel, event: Common.EventTarget.EventTargetEvent<ProfileHeader>): void {
|
|
336
|
+
this.removeProfileHeader(event.data);
|
|
336
337
|
}
|
|
337
338
|
|
|
338
|
-
function profileComplete(this: ProfilesPanel, event: Common.EventTarget.EventTargetEvent): void {
|
|
339
|
-
this.showProfile(
|
|
339
|
+
function profileComplete(this: ProfilesPanel, event: Common.EventTarget.EventTargetEvent<ProfileHeader>): void {
|
|
340
|
+
this.showProfile(event.data);
|
|
340
341
|
}
|
|
341
342
|
|
|
342
343
|
profileType.addEventListener(ProfileTypeEvents.ViewUpdated, this.updateProfileTypeSpecificUI, this);
|
|
@@ -363,8 +363,7 @@ export class SourcesPanel extends UI.Panel.Panel implements UI.ContextMenu.Provi
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
private onCurrentTargetChanged(
|
|
367
|
-
const target = (event.data as SDK.Target.Target | null);
|
|
366
|
+
private onCurrentTargetChanged({data: target}: Common.EventTarget.EventTargetEvent<SDK.Target.Target|null>): void {
|
|
368
367
|
this.setTarget(target);
|
|
369
368
|
}
|
|
370
369
|
paused(): boolean {
|
|
@@ -134,9 +134,8 @@ export class ThreadsSidebarPane extends UI.Widget.VBox implements
|
|
|
134
134
|
this.items.remove(this.items.indexOf(debuggerModel));
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
private targetFlavorChanged(
|
|
137
|
+
private targetFlavorChanged({data: target}: Common.EventTarget.EventTargetEvent<SDK.Target.Target>): void {
|
|
138
138
|
const hadFocus = this.hasFocus();
|
|
139
|
-
const target = (event.data as SDK.Target.Target);
|
|
140
139
|
const debuggerModel = target.model(SDK.DebuggerModel.DebuggerModel);
|
|
141
140
|
this.list.selectItem(debuggerModel);
|
|
142
141
|
if (debuggerModel) {
|
|
@@ -3605,7 +3605,7 @@ export class EventDispatchTypeDescriptor {
|
|
|
3605
3605
|
}
|
|
3606
3606
|
}
|
|
3607
3607
|
|
|
3608
|
-
export class TimelineCategory
|
|
3608
|
+
export class TimelineCategory {
|
|
3609
3609
|
name: string;
|
|
3610
3610
|
title: string;
|
|
3611
3611
|
visible: boolean;
|
|
@@ -3614,7 +3614,6 @@ export class TimelineCategory extends Common.ObjectWrapper.ObjectWrapper {
|
|
|
3614
3614
|
private hiddenInternal?: boolean;
|
|
3615
3615
|
|
|
3616
3616
|
constructor(name: string, title: string, visible: boolean, childColor: string, color: string) {
|
|
3617
|
-
super();
|
|
3618
3617
|
this.name = name;
|
|
3619
3618
|
this.title = title;
|
|
3620
3619
|
this.visible = visible;
|
|
@@ -6,7 +6,7 @@ import * as SDK from '../../core/sdk/sdk.js';
|
|
|
6
6
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
7
7
|
import type * as Protocol from '../../generated/protocol.js';
|
|
8
8
|
|
|
9
|
-
export class WebAudioModel extends SDK.SDKModel.SDKModel implements ProtocolProxyApi.WebAudioDispatcher {
|
|
9
|
+
export class WebAudioModel extends SDK.SDKModel.SDKModel<EventTypes> implements ProtocolProxyApi.WebAudioDispatcher {
|
|
10
10
|
private enabled: boolean;
|
|
11
11
|
private readonly agent: ProtocolProxyApi.WebAudioApi;
|
|
12
12
|
constructor(target: SDK.Target.Target) {
|
|
@@ -138,3 +138,21 @@ export const enum Events {
|
|
|
138
138
|
NodeParamConnected = 'NodeParamConnected',
|
|
139
139
|
NodeParamDisconnected = 'NodeParamDisconnected',
|
|
140
140
|
}
|
|
141
|
+
|
|
142
|
+
export type EventTypes = {
|
|
143
|
+
[Events.ContextCreated]: Protocol.WebAudio.BaseAudioContext,
|
|
144
|
+
[Events.ContextDestroyed]: Protocol.WebAudio.GraphObjectId,
|
|
145
|
+
[Events.ContextChanged]: Protocol.WebAudio.BaseAudioContext,
|
|
146
|
+
[Events.ModelReset]: void,
|
|
147
|
+
[Events.ModelSuspend]: void,
|
|
148
|
+
[Events.AudioListenerCreated]: Protocol.WebAudio.AudioListener,
|
|
149
|
+
[Events.AudioListenerWillBeDestroyed]: Protocol.WebAudio.AudioListenerWillBeDestroyedEvent,
|
|
150
|
+
[Events.AudioNodeCreated]: Protocol.WebAudio.AudioNode,
|
|
151
|
+
[Events.AudioNodeWillBeDestroyed]: Protocol.WebAudio.AudioNodeWillBeDestroyedEvent,
|
|
152
|
+
[Events.AudioParamCreated]: Protocol.WebAudio.AudioParam,
|
|
153
|
+
[Events.AudioParamWillBeDestroyed]: Protocol.WebAudio.AudioParamWillBeDestroyedEvent,
|
|
154
|
+
[Events.NodesConnected]: Protocol.WebAudio.NodesConnectedEvent,
|
|
155
|
+
[Events.NodesDisconnected]: Protocol.WebAudio.NodesDisconnectedEvent,
|
|
156
|
+
[Events.NodeParamConnected]: Protocol.WebAudio.NodeParamConnectedEvent,
|
|
157
|
+
[Events.NodeParamDisconnected]: Protocol.WebAudio.NodeParamDisconnectedEvent,
|
|
158
|
+
};
|
|
@@ -154,20 +154,20 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
154
154
|
webAudioModel.removeEventListener(ModelEvents.NodeParamDisconnected, this.nodeParamDisconnected, this);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
private contextCreated(event: Common.EventTarget.EventTargetEvent): void {
|
|
158
|
-
const context =
|
|
157
|
+
private contextCreated(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.BaseAudioContext>): void {
|
|
158
|
+
const context = event.data;
|
|
159
159
|
this.graphManager.createContext(context.contextId);
|
|
160
160
|
this.contextSelector.contextCreated(event);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
private contextDestroyed(event: Common.EventTarget.EventTargetEvent): void {
|
|
164
|
-
const contextId =
|
|
163
|
+
private contextDestroyed(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.GraphObjectId>): void {
|
|
164
|
+
const contextId = event.data;
|
|
165
165
|
this.graphManager.destroyContext(contextId);
|
|
166
166
|
this.contextSelector.contextDestroyed(event);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
private contextChanged(event: Common.EventTarget.EventTargetEvent): void {
|
|
170
|
-
const context =
|
|
169
|
+
private contextChanged(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.BaseAudioContext>): void {
|
|
170
|
+
const context = event.data;
|
|
171
171
|
if (!this.graphManager.hasContext(context.contextId)) {
|
|
172
172
|
return;
|
|
173
173
|
}
|
|
@@ -189,8 +189,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
189
189
|
this.graphManager.clearGraphs();
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
private audioListenerCreated(event: Common.EventTarget.EventTargetEvent): void {
|
|
193
|
-
const listener =
|
|
192
|
+
private audioListenerCreated(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.AudioListener>): void {
|
|
193
|
+
const listener = event.data;
|
|
194
194
|
const graph = this.graphManager.getGraph(listener.contextId);
|
|
195
195
|
if (!graph) {
|
|
196
196
|
return;
|
|
@@ -203,7 +203,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
private audioListenerWillBeDestroyed(
|
|
206
|
+
private audioListenerWillBeDestroyed(
|
|
207
|
+
event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.AudioListenerWillBeDestroyedEvent>): void {
|
|
207
208
|
const {contextId, listenerId} = event.data;
|
|
208
209
|
const graph = this.graphManager.getGraph(contextId);
|
|
209
210
|
if (!graph) {
|
|
@@ -212,8 +213,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
212
213
|
graph.removeNode(listenerId);
|
|
213
214
|
}
|
|
214
215
|
|
|
215
|
-
private audioNodeCreated(event: Common.EventTarget.EventTargetEvent): void {
|
|
216
|
-
const node =
|
|
216
|
+
private audioNodeCreated(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.AudioNode>): void {
|
|
217
|
+
const node = event.data;
|
|
217
218
|
const graph = this.graphManager.getGraph(node.contextId);
|
|
218
219
|
if (!graph) {
|
|
219
220
|
return;
|
|
@@ -226,7 +227,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
226
227
|
});
|
|
227
228
|
}
|
|
228
229
|
|
|
229
|
-
private audioNodeWillBeDestroyed(
|
|
230
|
+
private audioNodeWillBeDestroyed(
|
|
231
|
+
event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.AudioNodeWillBeDestroyedEvent>): void {
|
|
230
232
|
const {contextId, nodeId} = event.data;
|
|
231
233
|
const graph = this.graphManager.getGraph(contextId);
|
|
232
234
|
if (!graph) {
|
|
@@ -235,8 +237,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
235
237
|
graph.removeNode(nodeId);
|
|
236
238
|
}
|
|
237
239
|
|
|
238
|
-
private audioParamCreated(event: Common.EventTarget.EventTargetEvent): void {
|
|
239
|
-
const param =
|
|
240
|
+
private audioParamCreated(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.AudioParam>): void {
|
|
241
|
+
const param = event.data;
|
|
240
242
|
const graph = this.graphManager.getGraph(param.contextId);
|
|
241
243
|
if (!graph) {
|
|
242
244
|
return;
|
|
@@ -248,7 +250,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
248
250
|
});
|
|
249
251
|
}
|
|
250
252
|
|
|
251
|
-
private audioParamWillBeDestroyed(
|
|
253
|
+
private audioParamWillBeDestroyed(
|
|
254
|
+
event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.AudioParamWillBeDestroyedEvent>): void {
|
|
252
255
|
const {contextId, paramId} = event.data;
|
|
253
256
|
const graph = this.graphManager.getGraph(contextId);
|
|
254
257
|
if (!graph) {
|
|
@@ -257,7 +260,7 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
257
260
|
graph.removeParam(paramId);
|
|
258
261
|
}
|
|
259
262
|
|
|
260
|
-
private nodesConnected(event: Common.EventTarget.EventTargetEvent): void {
|
|
263
|
+
private nodesConnected(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.NodesConnectedEvent>): void {
|
|
261
264
|
const {contextId, sourceId, destinationId, sourceOutputIndex, destinationInputIndex} = event.data;
|
|
262
265
|
const graph = this.graphManager.getGraph(contextId);
|
|
263
266
|
if (!graph) {
|
|
@@ -271,7 +274,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
271
274
|
});
|
|
272
275
|
}
|
|
273
276
|
|
|
274
|
-
private nodesDisconnected(event: Common.EventTarget.EventTargetEvent):
|
|
277
|
+
private nodesDisconnected(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.NodesDisconnectedEvent>):
|
|
278
|
+
void {
|
|
275
279
|
const {contextId, sourceId, destinationId, sourceOutputIndex, destinationInputIndex} = event.data;
|
|
276
280
|
const graph = this.graphManager.getGraph(contextId);
|
|
277
281
|
if (!graph) {
|
|
@@ -285,7 +289,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
285
289
|
});
|
|
286
290
|
}
|
|
287
291
|
|
|
288
|
-
private nodeParamConnected(event: Common.EventTarget.EventTargetEvent):
|
|
292
|
+
private nodeParamConnected(event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.NodeParamConnectedEvent>):
|
|
293
|
+
void {
|
|
289
294
|
const {contextId, sourceId, destinationId, sourceOutputIndex} = event.data;
|
|
290
295
|
const graph = this.graphManager.getGraph(contextId);
|
|
291
296
|
if (!graph) {
|
|
@@ -305,7 +310,8 @@ export class WebAudioView extends UI.ThrottledWidget.ThrottledWidget implements
|
|
|
305
310
|
});
|
|
306
311
|
}
|
|
307
312
|
|
|
308
|
-
private nodeParamDisconnected(
|
|
313
|
+
private nodeParamDisconnected(
|
|
314
|
+
event: Common.EventTarget.EventTargetEvent<Protocol.WebAudio.NodeParamDisconnectedEvent>): void {
|
|
309
315
|
const {contextId, sourceId, destinationId, sourceOutputIndex} = event.data;
|
|
310
316
|
const graph = this.graphManager.getGraph(contextId);
|
|
311
317
|
if (!graph) {
|