chrome-devtools-frontend 1.0.923302 → 1.0.925026
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/config/gni/all_devtools_files.gni +0 -1
- package/config/gni/devtools_grd_files.gni +1 -3
- package/config/gni/devtools_image_files.gni +1 -1
- package/front_end/Images/src/copy_icon.svg +79 -0
- package/front_end/core/common/EventTarget.ts +22 -27
- package/front_end/core/common/Object.ts +28 -26
- package/front_end/core/common/Settings.ts +9 -8
- package/front_end/core/i18n/locales/en-US.json +18 -39
- package/front_end/core/i18n/locales/en-XL.json +18 -39
- package/front_end/core/platform/string-utilities.ts +4 -3
- package/front_end/core/sdk/EmulationModel.ts +1 -1
- package/front_end/core/sdk/NetworkManager.ts +1 -2
- package/front_end/core/sdk/ResourceTreeModel.ts +2 -3
- package/front_end/core/sdk/RuntimeModel.ts +2 -3
- package/front_end/core/sdk/SourceMap.ts +74 -31
- package/front_end/core/sdk/TargetManager.ts +9 -8
- package/front_end/core/sdk/TracingManager.ts +1 -1
- package/front_end/entrypoints/main/MainImpl.ts +1 -1
- package/front_end/entrypoints/node_main/NodeMain.ts +1 -1
- package/front_end/generated/InspectorBackendCommands.js +9 -5
- package/front_end/generated/protocol-mapping.d.ts +1 -0
- package/front_end/generated/protocol-proxy-api.d.ts +1 -0
- package/front_end/generated/protocol.d.ts +13 -2
- package/front_end/legacy_test_runner/application_test_runner/application_test_runner.js +0 -1
- 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 +10 -13
- package/front_end/models/workspace/WorkspaceImpl.ts +1 -1
- package/front_end/models/workspace_diff/WorkspaceDiff.ts +24 -20
- package/front_end/panels/animation/AnimationModel.ts +6 -1
- package/front_end/panels/animation/AnimationTimeline.ts +2 -2
- package/front_end/panels/application/AppManifestView.ts +58 -20
- package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -59
- package/front_end/panels/application/ApplicationPanelSidebar.ts +15 -163
- package/front_end/panels/application/BackgroundServiceModel.ts +6 -1
- package/front_end/panels/application/BackgroundServiceView.ts +4 -4
- package/front_end/panels/application/DOMStorageItemsView.ts +2 -2
- package/front_end/panels/application/DatabaseModel.ts +6 -1
- package/front_end/panels/application/DatabaseTableView.ts +1 -1
- package/front_end/panels/application/IndexedDBModel.ts +9 -1
- package/front_end/panels/application/IndexedDBViews.ts +7 -8
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +2 -2
- package/front_end/panels/application/ServiceWorkersView.ts +3 -3
- package/front_end/panels/application/StorageItemsView.ts +2 -3
- package/front_end/panels/application/StorageView.ts +0 -13
- package/front_end/panels/application/appManifestView.css +8 -0
- package/front_end/panels/application/application-legacy.ts +0 -3
- package/front_end/panels/application/application.ts +0 -4
- package/front_end/panels/browser_debugger/ObjectEventListenersSidebarPane.ts +1 -1
- package/front_end/panels/console/ConsolePinPane.ts +1 -2
- package/front_end/panels/console/ConsoleSidebar.ts +2 -2
- package/front_end/panels/console/ConsoleView.ts +7 -6
- package/front_end/panels/console/ConsoleViewMessage.ts +4 -3
- package/front_end/panels/coverage/CoverageModel.ts +9 -3
- package/front_end/panels/coverage/CoverageView.ts +3 -2
- package/front_end/panels/css_overview/CSSOverviewModel.ts +1 -1
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +1 -1
- package/front_end/panels/elements/ComputedStyleWidget.ts +2 -2
- package/front_end/panels/elements/ElementsPanel.ts +3 -3
- package/front_end/panels/elements/StylePropertyTreeElement.ts +14 -4
- package/front_end/panels/elements/StylesSidebarPane.ts +4 -2
- package/front_end/panels/input/InputModel.ts +1 -1
- package/front_end/panels/issues/ComboBoxOfCheckBoxes.ts +2 -4
- package/front_end/panels/issues/HiddenIssuesRow.ts +7 -12
- package/front_end/panels/layers/LayerTreeModel.ts +6 -1
- package/front_end/panels/layers/LayersPanel.ts +3 -4
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +1 -0
- package/front_end/panels/media/MainView.ts +22 -19
- package/front_end/panels/media/MediaModel.ts +15 -7
- package/front_end/panels/media/PlayerMessagesView.ts +2 -4
- package/front_end/panels/network/NetworkPanel.ts +6 -6
- package/front_end/panels/network/RequestHeadersView.ts +7 -0
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +3 -2
- package/front_end/panels/network/networkLogView.css +5 -0
- package/front_end/panels/profiler/HeapProfileView.ts +14 -4
- 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 +67 -32
- package/front_end/panels/profiler/LiveHeapProfileView.ts +2 -2
- package/front_end/panels/profiler/ProfileHeader.ts +11 -2
- package/front_end/panels/profiler/ProfileView.ts +3 -3
- package/front_end/panels/profiler/ProfilesPanel.ts +7 -6
- package/front_end/panels/screencast/InputModel.ts +1 -1
- package/front_end/panels/screencast/ScreencastView.ts +1 -1
- package/front_end/panels/security/SecurityModel.ts +5 -1
- package/front_end/panels/security/SecurityPanel.ts +1 -2
- package/front_end/panels/sensors/SensorsView.ts +3 -2
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +6 -3
- package/front_end/panels/sources/CSSPlugin.ts +1 -1
- package/front_end/panels/sources/DebuggerPlugin.ts +6 -4
- package/front_end/panels/sources/InplaceFormatterEditorAction.ts +1 -1
- package/front_end/panels/sources/ScriptFormatterEditorAction.ts +1 -1
- package/front_end/panels/sources/SourcesPanel.ts +2 -2
- package/front_end/panels/timeline/TimelineFlameChartView.ts +5 -8
- package/front_end/panels/timeline/TimelineUIUtils.ts +1 -2
- package/front_end/panels/web_audio/AudioContextSelector.ts +4 -6
- package/front_end/panels/web_audio/WebAudioModel.ts +19 -1
- package/front_end/panels/web_audio/WebAudioView.ts +28 -22
- package/front_end/panels/web_audio/graph_visualizer/graph_visualizer.ts +0 -7
- package/front_end/panels/web_audio/web_audio.ts +1 -23
- package/front_end/panels/webauthn/WebauthnPane.ts +20 -10
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +598 -595
- package/front_end/third_party/lighthouse/locales/en-US.json +6 -0
- package/front_end/third_party/lighthouse/locales/en-XL.json +6 -0
- package/front_end/third_party/lighthouse/report/bundle.d.ts +25 -4
- package/front_end/third_party/lighthouse/report/bundle.js +111 -22
- package/front_end/third_party/lighthouse/report-assets/report.css +120 -12
- package/front_end/third_party/lighthouse/report-assets/report.js +10 -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/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +2 -6
- package/front_end/ui/legacy/FilterBar.ts +1 -1
- package/front_end/ui/legacy/GlassPane.ts +1 -3
- package/front_end/ui/legacy/SplitWidget.ts +1 -1
- package/front_end/ui/legacy/UIUtils.ts +3 -4
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +3 -3
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +1 -1
- 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/inline_editor/SwatchPopoverHelper.ts +6 -2
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +3 -3
- package/front_end/ui/legacy/components/utils/TargetDetachedDialog.ts +1 -1
- package/front_end/ui/legacy/reportView.css +1 -0
- package/package.json +1 -1
- package/scripts/build/rollup.config.js +0 -5
- package/front_end/Images/src/exclamation_mark_circle_icon.svg +0 -65
- package/front_end/legacy_test_runner/application_test_runner/AppcacheTestRunner.js +0 -220
- package/front_end/panels/application/ApplicationCacheItemsView.ts +0 -335
- package/front_end/panels/application/ApplicationCacheModel.ts +0 -206
|
@@ -771,6 +771,13 @@ export class WasmDisassembler {
|
|
|
771
771
|
this.appendBuffer(" ");
|
|
772
772
|
this.appendBuffer(this.useLabel(operator.brDepth));
|
|
773
773
|
break;
|
|
774
|
+
case OperatorCode.br_on_cast_static:
|
|
775
|
+
case OperatorCode.br_on_cast_static_fail: {
|
|
776
|
+
const label = this.useLabel(operator.brDepth);
|
|
777
|
+
const refType = this._nameResolver.getTypeName(operator.refType, true);
|
|
778
|
+
this.appendBuffer(` ${label} ${refType}`);
|
|
779
|
+
break;
|
|
780
|
+
}
|
|
774
781
|
case OperatorCode.br_table:
|
|
775
782
|
for (var i = 0; i < operator.brTable.length; i++) {
|
|
776
783
|
this.appendBuffer(" ");
|
|
@@ -1051,9 +1058,15 @@ export class WasmDisassembler {
|
|
|
1051
1058
|
case OperatorCode.rtt_canon:
|
|
1052
1059
|
case OperatorCode.rtt_sub:
|
|
1053
1060
|
case OperatorCode.rtt_fresh_sub:
|
|
1061
|
+
case OperatorCode.ref_test_static:
|
|
1062
|
+
case OperatorCode.ref_cast_static:
|
|
1063
|
+
case OperatorCode.struct_new_default:
|
|
1054
1064
|
case OperatorCode.struct_new_default_with_rtt:
|
|
1065
|
+
case OperatorCode.struct_new:
|
|
1055
1066
|
case OperatorCode.struct_new_with_rtt:
|
|
1067
|
+
case OperatorCode.array_new_default:
|
|
1056
1068
|
case OperatorCode.array_new_default_with_rtt:
|
|
1069
|
+
case OperatorCode.array_new:
|
|
1057
1070
|
case OperatorCode.array_new_with_rtt:
|
|
1058
1071
|
case OperatorCode.array_get:
|
|
1059
1072
|
case OperatorCode.array_get_s:
|
|
@@ -1068,6 +1081,14 @@ export class WasmDisassembler {
|
|
|
1068
1081
|
const dstType = this._nameResolver.getTypeName(operator.refType, true);
|
|
1069
1082
|
const srcType = this._nameResolver.getTypeName(operator.srcType, true);
|
|
1070
1083
|
this.appendBuffer(` ${dstType} ${srcType}`);
|
|
1084
|
+
break;
|
|
1085
|
+
}
|
|
1086
|
+
case OperatorCode.array_init:
|
|
1087
|
+
case OperatorCode.array_init_static: {
|
|
1088
|
+
const refType = this._nameResolver.getTypeName(operator.refType, true);
|
|
1089
|
+
const length = operator.brDepth; // Overloaded field.
|
|
1090
|
+
this.appendBuffer(` ${refType} ${length}`);
|
|
1091
|
+
break;
|
|
1071
1092
|
}
|
|
1072
1093
|
}
|
|
1073
1094
|
}
|
|
@@ -1209,7 +1230,7 @@ export class WasmDisassembler {
|
|
|
1209
1230
|
for (const exportName of this._exportMetadata.getMemoryExportNames(
|
|
1210
1231
|
memoryIndex
|
|
1211
1232
|
)) {
|
|
1212
|
-
this.appendBuffer(` (export
|
|
1233
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1213
1234
|
}
|
|
1214
1235
|
}
|
|
1215
1236
|
this.appendBuffer(` ${limitsToString(memoryInfo.limits)}`);
|
|
@@ -1228,7 +1249,7 @@ export class WasmDisassembler {
|
|
|
1228
1249
|
for (const exportName of this._exportMetadata.getEventExportNames(
|
|
1229
1250
|
eventIndex
|
|
1230
1251
|
)) {
|
|
1231
|
-
this.appendBuffer(` (export
|
|
1252
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1232
1253
|
}
|
|
1233
1254
|
}
|
|
1234
1255
|
this.printFuncType(eventInfo.typeIndex);
|
|
@@ -1244,7 +1265,7 @@ export class WasmDisassembler {
|
|
|
1244
1265
|
for (const exportName of this._exportMetadata.getTableExportNames(
|
|
1245
1266
|
tableIndex
|
|
1246
1267
|
)) {
|
|
1247
|
-
this.appendBuffer(` (export
|
|
1268
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1248
1269
|
}
|
|
1249
1270
|
}
|
|
1250
1271
|
this.appendBuffer(
|
|
@@ -1322,7 +1343,7 @@ export class WasmDisassembler {
|
|
|
1322
1343
|
for (const exportName of this._exportMetadata.getFunctionExportNames(
|
|
1323
1344
|
funcIndex
|
|
1324
1345
|
)) {
|
|
1325
|
-
this.appendBuffer(` (export
|
|
1346
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1326
1347
|
}
|
|
1327
1348
|
}
|
|
1328
1349
|
this.appendBuffer(` (import `);
|
|
@@ -1343,7 +1364,7 @@ export class WasmDisassembler {
|
|
|
1343
1364
|
for (const exportName of this._exportMetadata.getGlobalExportNames(
|
|
1344
1365
|
globalIndex
|
|
1345
1366
|
)) {
|
|
1346
|
-
this.appendBuffer(` (export
|
|
1367
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1347
1368
|
}
|
|
1348
1369
|
}
|
|
1349
1370
|
this.appendBuffer(` (import `);
|
|
@@ -1364,7 +1385,7 @@ export class WasmDisassembler {
|
|
|
1364
1385
|
for (const exportName of this._exportMetadata.getMemoryExportNames(
|
|
1365
1386
|
memoryIndex
|
|
1366
1387
|
)) {
|
|
1367
|
-
this.appendBuffer(` (export
|
|
1388
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1368
1389
|
}
|
|
1369
1390
|
}
|
|
1370
1391
|
this.appendBuffer(` (import `);
|
|
@@ -1387,7 +1408,7 @@ export class WasmDisassembler {
|
|
|
1387
1408
|
for (const exportName of this._exportMetadata.getTableExportNames(
|
|
1388
1409
|
tableIndex
|
|
1389
1410
|
)) {
|
|
1390
|
-
this.appendBuffer(` (export
|
|
1411
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1391
1412
|
}
|
|
1392
1413
|
}
|
|
1393
1414
|
this.appendBuffer(` (import `);
|
|
@@ -1410,7 +1431,7 @@ export class WasmDisassembler {
|
|
|
1410
1431
|
for (const exportName of this._exportMetadata.getEventExportNames(
|
|
1411
1432
|
eventIndex
|
|
1412
1433
|
)) {
|
|
1413
|
-
this.appendBuffer(` (export
|
|
1434
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1414
1435
|
}
|
|
1415
1436
|
}
|
|
1416
1437
|
this.appendBuffer(` (import `);
|
|
@@ -1468,7 +1489,7 @@ export class WasmDisassembler {
|
|
|
1468
1489
|
for (const exportName of this._exportMetadata.getGlobalExportNames(
|
|
1469
1490
|
globalIndex
|
|
1470
1491
|
)) {
|
|
1471
|
-
this.appendBuffer(` (export
|
|
1492
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1472
1493
|
}
|
|
1473
1494
|
}
|
|
1474
1495
|
this.appendBuffer(` ${this.globalTypeToString(globalInfo.type)}`);
|
|
@@ -1483,18 +1504,34 @@ export class WasmDisassembler {
|
|
|
1483
1504
|
this._types.push(typeEntry);
|
|
1484
1505
|
if (!this._skipTypes) {
|
|
1485
1506
|
var typeName = this._nameResolver.getTypeName(typeIndex, false);
|
|
1507
|
+
var superTypeName = undefined;
|
|
1508
|
+
if (typeEntry.supertype !== undefined) {
|
|
1509
|
+
superTypeName = this.typeIndexToString(typeEntry.supertype);
|
|
1510
|
+
}
|
|
1486
1511
|
if (typeEntry.form === TypeKind.func) {
|
|
1487
1512
|
this.appendBuffer(` (type ${typeName} (func`);
|
|
1488
1513
|
this.printFuncType(typeIndex);
|
|
1489
1514
|
this.appendBuffer("))");
|
|
1515
|
+
} else if (typeEntry.form === TypeKind.func_subtype) {
|
|
1516
|
+
this.appendBuffer(` (type ${typeName} (func_subtype`);
|
|
1517
|
+
this.printFuncType(typeIndex);
|
|
1518
|
+
this.appendBuffer(` (supertype ${superTypeName})))`);
|
|
1490
1519
|
} else if (typeEntry.form === TypeKind.struct) {
|
|
1491
1520
|
this.appendBuffer(` (type ${typeName} (struct`);
|
|
1492
1521
|
this.printStructType(typeIndex);
|
|
1493
1522
|
this.appendBuffer("))");
|
|
1523
|
+
} else if (typeEntry.form === TypeKind.struct_subtype) {
|
|
1524
|
+
this.appendBuffer(` (type ${typeName} (struct_subtype`);
|
|
1525
|
+
this.printStructType(typeIndex);
|
|
1526
|
+
this.appendBuffer(` (supertype ${superTypeName})))`);
|
|
1494
1527
|
} else if (typeEntry.form === TypeKind.array) {
|
|
1495
1528
|
this.appendBuffer(` (type ${typeName} (array`);
|
|
1496
1529
|
this.printArrayType(typeIndex);
|
|
1497
1530
|
this.appendBuffer("))");
|
|
1531
|
+
} else if (typeEntry.form === TypeKind.array_subtype) {
|
|
1532
|
+
this.appendBuffer(` (type ${typeName} (array_subtype`);
|
|
1533
|
+
this.printArrayType(typeIndex);
|
|
1534
|
+
this.appendBuffer(`) (supertype ${superTypeName})))`);
|
|
1498
1535
|
} else {
|
|
1499
1536
|
throw new Error(`Unknown type form: ${typeEntry.form}`);
|
|
1500
1537
|
}
|
|
@@ -1575,7 +1612,7 @@ export class WasmDisassembler {
|
|
|
1575
1612
|
for (const exportName of this._exportMetadata.getFunctionExportNames(
|
|
1576
1613
|
this._funcIndex
|
|
1577
1614
|
)) {
|
|
1578
|
-
this.appendBuffer(` (export
|
|
1615
|
+
this.appendBuffer(` (export ${JSON.stringify(exportName)})`);
|
|
1579
1616
|
}
|
|
1580
1617
|
}
|
|
1581
1618
|
for (var i = 0; i < type.params.length; i++) {
|
|
@@ -434,10 +434,10 @@ export const enum OperatorCode {
|
|
|
434
434
|
i8x16_bitmask = 0xfd64,
|
|
435
435
|
i8x16_narrow_i16x8_s = 0xfd65,
|
|
436
436
|
i8x16_narrow_i16x8_u = 0xfd66,
|
|
437
|
-
f32x4_ceil =
|
|
438
|
-
f32x4_floor =
|
|
439
|
-
f32x4_trunc =
|
|
440
|
-
f32x4_nearest =
|
|
437
|
+
f32x4_ceil = 0xfd67,
|
|
438
|
+
f32x4_floor = 0xfd68,
|
|
439
|
+
f32x4_trunc = 0xfd69,
|
|
440
|
+
f32x4_nearest = 0xfd6a,
|
|
441
441
|
i8x16_shl = 0xfd6b,
|
|
442
442
|
i8x16_shr_s = 0xfd6c,
|
|
443
443
|
i8x16_shr_u = 0xfd6d,
|
|
@@ -575,6 +575,8 @@ export const enum OperatorCode {
|
|
|
575
575
|
struct_get_s = 0xfb04,
|
|
576
576
|
struct_get_u = 0xfb05,
|
|
577
577
|
struct_set = 0xfb06,
|
|
578
|
+
struct_new = 0xfb07,
|
|
579
|
+
struct_new_default = 0xfb08,
|
|
578
580
|
array_new_with_rtt = 0xfb11,
|
|
579
581
|
array_new_default_with_rtt = 0xfb12,
|
|
580
582
|
array_get = 0xfb13,
|
|
@@ -583,6 +585,10 @@ export const enum OperatorCode {
|
|
|
583
585
|
array_set = 0xfb16,
|
|
584
586
|
array_len = 0xfb17,
|
|
585
587
|
array_copy = 0xfb18, // Non-standard experiment in V8.
|
|
588
|
+
array_init = 0xfb19,
|
|
589
|
+
array_init_static = 0xfb1a,
|
|
590
|
+
array_new = 0xfb1b,
|
|
591
|
+
array_new_default = 0xfb1c,
|
|
586
592
|
i31_new = 0xfb20,
|
|
587
593
|
i31_get_s = 0xfb21,
|
|
588
594
|
i31_get_u = 0xfb22,
|
|
@@ -590,9 +596,13 @@ export const enum OperatorCode {
|
|
|
590
596
|
rtt_sub = 0xfb31,
|
|
591
597
|
rtt_fresh_sub = 0xfb32, // Non-standard experiment in V8.
|
|
592
598
|
ref_test = 0xfb40,
|
|
599
|
+
ref_test_static = 0xfb44,
|
|
593
600
|
ref_cast = 0xfb41,
|
|
601
|
+
ref_cast_static = 0xfb45,
|
|
594
602
|
br_on_cast = 0xfb42,
|
|
603
|
+
br_on_cast_static = 0xfb46,
|
|
595
604
|
br_on_cast_fail = 0xfb43,
|
|
605
|
+
br_on_cast_static_fail = 0xfb47,
|
|
596
606
|
ref_is_func = 0xfb50,
|
|
597
607
|
ref_is_data = 0xfb51,
|
|
598
608
|
ref_is_i31 = 0xfb52,
|
|
@@ -1240,6 +1250,8 @@ OperatorCodeNames[0xfb03] = "struct.get";
|
|
|
1240
1250
|
OperatorCodeNames[0xfb04] = "struct.get_s";
|
|
1241
1251
|
OperatorCodeNames[0xfb05] = "struct.get_u";
|
|
1242
1252
|
OperatorCodeNames[0xfb06] = "struct.set";
|
|
1253
|
+
OperatorCodeNames[0xfb07] = "struct.new";
|
|
1254
|
+
OperatorCodeNames[0xfb08] = "struct.new_default";
|
|
1243
1255
|
OperatorCodeNames[0xfb11] = "array.new_with_rtt";
|
|
1244
1256
|
OperatorCodeNames[0xfb12] = "array.new_default_with_rtt";
|
|
1245
1257
|
OperatorCodeNames[0xfb13] = "array.get";
|
|
@@ -1248,6 +1260,10 @@ OperatorCodeNames[0xfb15] = "array.get_u";
|
|
|
1248
1260
|
OperatorCodeNames[0xfb16] = "array.set";
|
|
1249
1261
|
OperatorCodeNames[0xfb17] = "array.len";
|
|
1250
1262
|
OperatorCodeNames[0xfb18] = "array.copy";
|
|
1263
|
+
OperatorCodeNames[0xfb19] = "array.init";
|
|
1264
|
+
OperatorCodeNames[0xfb1a] = "array.init_static";
|
|
1265
|
+
OperatorCodeNames[0xfb1b] = "array.new";
|
|
1266
|
+
OperatorCodeNames[0xfb1c] = "array.new_default";
|
|
1251
1267
|
OperatorCodeNames[0xfb20] = "i31.new";
|
|
1252
1268
|
OperatorCodeNames[0xfb21] = "i31.get_s";
|
|
1253
1269
|
OperatorCodeNames[0xfb22] = "i31.get_u";
|
|
@@ -1258,6 +1274,10 @@ OperatorCodeNames[0xfb40] = "ref.test";
|
|
|
1258
1274
|
OperatorCodeNames[0xfb41] = "ref.cast";
|
|
1259
1275
|
OperatorCodeNames[0xfb42] = "br_on_cast";
|
|
1260
1276
|
OperatorCodeNames[0xfb43] = "br_on_cast_fail";
|
|
1277
|
+
OperatorCodeNames[0xfb44] = "ref.test_static";
|
|
1278
|
+
OperatorCodeNames[0xfb45] = "ref.cast_static";
|
|
1279
|
+
OperatorCodeNames[0xfb46] = "br_on_cast_static";
|
|
1280
|
+
OperatorCodeNames[0xfb47] = "br_on_cast_static_fail";
|
|
1261
1281
|
OperatorCodeNames[0xfb50] = "ref.is_func";
|
|
1262
1282
|
OperatorCodeNames[0xfb51] = "ref.is_data";
|
|
1263
1283
|
OperatorCodeNames[0xfb52] = "ref.is_i31";
|
|
@@ -1300,6 +1320,9 @@ export const enum TypeKind {
|
|
|
1300
1320
|
func = -0x20,
|
|
1301
1321
|
struct = -0x21,
|
|
1302
1322
|
array = -0x22,
|
|
1323
|
+
func_subtype = -0x23,
|
|
1324
|
+
struct_subtype = -0x24,
|
|
1325
|
+
array_subtype = -0x25,
|
|
1303
1326
|
empty_block_type = -0x40,
|
|
1304
1327
|
}
|
|
1305
1328
|
export class Type {
|
|
@@ -1610,13 +1633,15 @@ export interface IFunctionEntry {
|
|
|
1610
1633
|
typeIndex: number;
|
|
1611
1634
|
}
|
|
1612
1635
|
export interface ITypeEntry {
|
|
1613
|
-
|
|
1636
|
+
// func | struct | array | func_subtype | struct_subtype | array_subtype
|
|
1637
|
+
form: number;
|
|
1614
1638
|
params?: Type[]; // For function types.
|
|
1615
1639
|
returns?: Type[]; // For function types.
|
|
1616
1640
|
fields?: Type[]; // For struct types.
|
|
1617
1641
|
mutabilities?: boolean[]; // For struct types.
|
|
1618
1642
|
elementType?: Type; // For array types.
|
|
1619
1643
|
mutability?: boolean; // For array types.
|
|
1644
|
+
supertype?: number; // For *_subtype types.
|
|
1620
1645
|
}
|
|
1621
1646
|
export interface ISectionInformation {
|
|
1622
1647
|
id: SectionCode;
|
|
@@ -1961,6 +1986,12 @@ export class BinaryReader {
|
|
|
1961
1986
|
returns: returnTypes,
|
|
1962
1987
|
};
|
|
1963
1988
|
}
|
|
1989
|
+
private readFuncSubtype(): ITypeEntry {
|
|
1990
|
+
var result = this.readFuncType();
|
|
1991
|
+
result.form = TypeKind.func_subtype;
|
|
1992
|
+
result.supertype = this.readHeapType();
|
|
1993
|
+
return result;
|
|
1994
|
+
}
|
|
1964
1995
|
private readStructType(): ITypeEntry {
|
|
1965
1996
|
var fieldCount = this.readVarUint32() >>> 0;
|
|
1966
1997
|
var fieldTypes = new Array(fieldCount);
|
|
@@ -1975,6 +2006,12 @@ export class BinaryReader {
|
|
|
1975
2006
|
mutabilities: fieldMutabilities,
|
|
1976
2007
|
};
|
|
1977
2008
|
}
|
|
2009
|
+
private readStructSubtype(): ITypeEntry {
|
|
2010
|
+
var result = this.readStructType();
|
|
2011
|
+
result.form = TypeKind.struct_subtype;
|
|
2012
|
+
result.supertype = this.readHeapType();
|
|
2013
|
+
return result;
|
|
2014
|
+
}
|
|
1978
2015
|
private readArrayType(): ITypeEntry {
|
|
1979
2016
|
var elementType = this.readType();
|
|
1980
2017
|
var mutability = !!this.readVarUint1();
|
|
@@ -1984,6 +2021,12 @@ export class BinaryReader {
|
|
|
1984
2021
|
mutability: mutability,
|
|
1985
2022
|
};
|
|
1986
2023
|
}
|
|
2024
|
+
private readArraySubtype(): ITypeEntry {
|
|
2025
|
+
var result = this.readArrayType();
|
|
2026
|
+
result.form = TypeKind.array_subtype;
|
|
2027
|
+
result.supertype = this.readHeapType();
|
|
2028
|
+
return result;
|
|
2029
|
+
}
|
|
1987
2030
|
private readResizableLimits(maxPresent: boolean): IResizableLimits {
|
|
1988
2031
|
var initial = this.readVarUint32() >>> 0;
|
|
1989
2032
|
var maximum;
|
|
@@ -2038,12 +2081,21 @@ export class BinaryReader {
|
|
|
2038
2081
|
case TypeKind.func:
|
|
2039
2082
|
this.result = this.readFuncType();
|
|
2040
2083
|
break;
|
|
2084
|
+
case TypeKind.func_subtype:
|
|
2085
|
+
this.result = this.readFuncSubtype();
|
|
2086
|
+
break;
|
|
2041
2087
|
case TypeKind.struct:
|
|
2042
2088
|
this.result = this.readStructType();
|
|
2043
2089
|
break;
|
|
2090
|
+
case TypeKind.struct_subtype:
|
|
2091
|
+
this.result = this.readStructSubtype();
|
|
2092
|
+
break;
|
|
2044
2093
|
case TypeKind.array:
|
|
2045
2094
|
this.result = this.readArrayType();
|
|
2046
2095
|
break;
|
|
2096
|
+
case TypeKind.array_subtype:
|
|
2097
|
+
this.result = this.readArraySubtype();
|
|
2098
|
+
break;
|
|
2047
2099
|
default:
|
|
2048
2100
|
throw new Error(`Unknown type kind: ${form}`);
|
|
2049
2101
|
}
|
|
@@ -2520,18 +2572,29 @@ export class BinaryReader {
|
|
|
2520
2572
|
case OperatorCode.br_on_non_i31:
|
|
2521
2573
|
brDepth = this.readVarUint32() >>> 0;
|
|
2522
2574
|
break;
|
|
2575
|
+
case OperatorCode.br_on_cast_static:
|
|
2576
|
+
case OperatorCode.br_on_cast_static_fail:
|
|
2577
|
+
brDepth = this.readVarUint32() >>> 0;
|
|
2578
|
+
refType = this.readHeapType();
|
|
2579
|
+
break;
|
|
2523
2580
|
case OperatorCode.array_get:
|
|
2524
2581
|
case OperatorCode.array_get_s:
|
|
2525
2582
|
case OperatorCode.array_get_u:
|
|
2526
2583
|
case OperatorCode.array_len:
|
|
2527
2584
|
case OperatorCode.array_set:
|
|
2585
|
+
case OperatorCode.array_new:
|
|
2528
2586
|
case OperatorCode.array_new_with_rtt:
|
|
2587
|
+
case OperatorCode.array_new_default:
|
|
2529
2588
|
case OperatorCode.array_new_default_with_rtt:
|
|
2589
|
+
case OperatorCode.struct_new:
|
|
2530
2590
|
case OperatorCode.struct_new_with_rtt:
|
|
2591
|
+
case OperatorCode.struct_new_default:
|
|
2531
2592
|
case OperatorCode.struct_new_default_with_rtt:
|
|
2532
2593
|
case OperatorCode.rtt_canon:
|
|
2533
2594
|
case OperatorCode.rtt_sub:
|
|
2534
2595
|
case OperatorCode.rtt_fresh_sub:
|
|
2596
|
+
case OperatorCode.ref_test_static:
|
|
2597
|
+
case OperatorCode.ref_cast_static:
|
|
2535
2598
|
refType = this.readHeapType();
|
|
2536
2599
|
break;
|
|
2537
2600
|
case OperatorCode.array_copy:
|
|
@@ -2545,6 +2608,13 @@ export class BinaryReader {
|
|
|
2545
2608
|
refType = this.readHeapType();
|
|
2546
2609
|
fieldIndex = this.readVarUint32();
|
|
2547
2610
|
break;
|
|
2611
|
+
case OperatorCode.array_init:
|
|
2612
|
+
case OperatorCode.array_init_static:
|
|
2613
|
+
refType = this.readHeapType();
|
|
2614
|
+
// This really is the "length" value. Overload "brDepth" to keep the
|
|
2615
|
+
// IOperatorInformation interface a little leaner.
|
|
2616
|
+
brDepth = this.readVarUint32() >>> 0;
|
|
2617
|
+
break;
|
|
2548
2618
|
case OperatorCode.ref_is_func:
|
|
2549
2619
|
case OperatorCode.ref_is_data:
|
|
2550
2620
|
case OperatorCode.ref_is_i31:
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
background-color: var(--legacy-toolbar-hover-bg-color);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
.icon-button.icon-button.with-click-handler:active {
|
|
34
|
+
background-color: var(--color-background-elevation-1);
|
|
35
|
+
}
|
|
36
|
+
|
|
33
37
|
.icon-button:focus-visible {
|
|
34
38
|
background-color: var(--legacy-toolbar-hover-bg-color);
|
|
35
39
|
border: 1px solid var(--color-details-hairline);
|
|
@@ -190,12 +190,8 @@ class LinearMemoryInspectorView extends UI.Widget.VBox {
|
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
private memoryRequested(event:
|
|
194
|
-
const {start, end, address} =
|
|
195
|
-
start: number,
|
|
196
|
-
end: number,
|
|
197
|
-
address: number,
|
|
198
|
-
});
|
|
193
|
+
private memoryRequested(event: MemoryRequestEvent): void {
|
|
194
|
+
const {start, end, address} = event.data;
|
|
199
195
|
if (address < start || address >= end) {
|
|
200
196
|
throw new Error('Requested address is out of bounds.');
|
|
201
197
|
}
|
|
@@ -120,7 +120,7 @@ export class FilterBar extends Common.ObjectWrapper.eventMixin<FilterBarEventTyp
|
|
|
120
120
|
this.stateSetting.set(true);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
private filterChanged(
|
|
123
|
+
private filterChanged(): void {
|
|
124
124
|
this.updateFilterButton();
|
|
125
125
|
this.dispatchEventToListeners(FilterBarEvents.Changed);
|
|
126
126
|
}
|
|
@@ -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 Common from '../../core/common/common.js';
|
|
6
5
|
import * as Platform from '../../core/platform/platform.js';
|
|
7
6
|
import * as Utils from './utils/utils.js';
|
|
8
7
|
|
|
@@ -12,7 +11,7 @@ import {deepElementFromEvent} from './UIUtils.js';
|
|
|
12
11
|
import type {WidgetElement} from './Widget.js';
|
|
13
12
|
import {Widget} from './Widget.js';
|
|
14
13
|
|
|
15
|
-
export class GlassPane
|
|
14
|
+
export class GlassPane {
|
|
16
15
|
private readonly widgetInternal: Widget;
|
|
17
16
|
element: WidgetElement;
|
|
18
17
|
contentElement: HTMLDivElement;
|
|
@@ -28,7 +27,6 @@ export class GlassPane extends Common.ObjectWrapper.ObjectWrapper {
|
|
|
28
27
|
private marginBehavior: MarginBehavior;
|
|
29
28
|
|
|
30
29
|
constructor() {
|
|
31
|
-
super();
|
|
32
30
|
this.widgetInternal = new Widget(true);
|
|
33
31
|
this.widgetInternal.markAsRoot();
|
|
34
32
|
this.element = this.widgetInternal.element;
|
|
@@ -823,7 +823,7 @@ export class SplitWidget extends Common.ObjectWrapper.eventMixin<EventTypes, typ
|
|
|
823
823
|
this.showHideSidebarButton.addEventListener(ToolbarButton.Events.Click, buttonClicked, this);
|
|
824
824
|
this.updateShowHideSidebarButton();
|
|
825
825
|
|
|
826
|
-
function buttonClicked(this: SplitWidget
|
|
826
|
+
function buttonClicked(this: SplitWidget): void {
|
|
827
827
|
if (this.showModeInternal !== ShowMode.Both) {
|
|
828
828
|
this.showBoth(true);
|
|
829
829
|
} else {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
-
import * as Common from '../../core/common/common.js';
|
|
36
|
+
import type * as Common from '../../core/common/common.js';
|
|
37
37
|
import * as DOMExtension from '../../core/dom_extension/dom_extension.js';
|
|
38
38
|
import * as Host from '../../core/host/host.js';
|
|
39
39
|
import * as i18n from '../../core/i18n/i18n.js';
|
|
@@ -949,7 +949,7 @@ export function animateFunction(
|
|
|
949
949
|
return (): void => window.cancelAnimationFrame(raf);
|
|
950
950
|
}
|
|
951
951
|
|
|
952
|
-
export class LongClickController
|
|
952
|
+
export class LongClickController {
|
|
953
953
|
private readonly element: Element;
|
|
954
954
|
private readonly callback: (arg0: Event) => void;
|
|
955
955
|
private readonly editKey: (arg0: Event) => boolean;
|
|
@@ -963,7 +963,6 @@ export class LongClickController extends Common.ObjectWrapper.ObjectWrapper {
|
|
|
963
963
|
constructor(
|
|
964
964
|
element: Element, callback: (arg0: Event) => void,
|
|
965
965
|
isEditKeyFunc: (arg0: Event) => boolean = (event): boolean => isEnterOrSpaceKey(event)) {
|
|
966
|
-
super();
|
|
967
966
|
this.element = element;
|
|
968
967
|
this.callback = callback;
|
|
969
968
|
this.editKey = isEditKeyFunc;
|
|
@@ -1516,7 +1515,7 @@ export function addReferrerToURL(url: string): string {
|
|
|
1516
1515
|
* 'web.dev' or 'developers.google.com'.
|
|
1517
1516
|
*/
|
|
1518
1517
|
export function addReferrerToURLIfNecessary(url: string): string {
|
|
1519
|
-
if (/(\/\/developers.google.com\/|\/\/web.dev\/)/.test(url)) {
|
|
1518
|
+
if (/(\/\/developers.google.com\/|\/\/web.dev\/|\/\/developer.chrome.com\/)/.test(url)) {
|
|
1520
1519
|
return addReferrerToURL(url);
|
|
1521
1520
|
}
|
|
1522
1521
|
return url;
|
|
@@ -66,7 +66,7 @@ export class ContrastDetails extends Common.ObjectWrapper.ObjectWrapper<EventTyp
|
|
|
66
66
|
private contrastInfo: ContrastInfo;
|
|
67
67
|
private readonly elementInternal: HTMLElement;
|
|
68
68
|
private readonly toggleMainColorPicker:
|
|
69
|
-
(arg0?: boolean|undefined, arg1?: Common.EventTarget.EventTargetEvent
|
|
69
|
+
(arg0?: boolean|undefined, arg1?: Common.EventTarget.EventTargetEvent<unknown>|undefined) => void;
|
|
70
70
|
private readonly expandedChangedCallback: () => void;
|
|
71
71
|
private readonly colorSelectedCallback: (arg0: Common.Color.Color) => void;
|
|
72
72
|
private expandedInternal: boolean;
|
|
@@ -94,7 +94,7 @@ export class ContrastDetails extends Common.ObjectWrapper.ObjectWrapper<EventTyp
|
|
|
94
94
|
constructor(
|
|
95
95
|
contrastInfo: ContrastInfo, contentElement: Element,
|
|
96
96
|
toggleMainColorPickerCallback:
|
|
97
|
-
(arg0?: boolean|undefined, arg1?: Common.EventTarget.EventTargetEvent
|
|
97
|
+
(arg0?: boolean|undefined, arg1?: Common.EventTarget.EventTargetEvent<unknown>|undefined) => void,
|
|
98
98
|
expandedChangedCallback: () => void, colorSelectedCallback: (arg0: Common.Color.Color) => void) {
|
|
99
99
|
super();
|
|
100
100
|
this.contrastInfo = contrastInfo;
|
|
@@ -376,7 +376,7 @@ export class ContrastDetails extends Common.ObjectWrapper.ObjectWrapper<EventTyp
|
|
|
376
376
|
return this.elementInternal;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
private expandButtonClicked(
|
|
379
|
+
private expandButtonClicked(): void {
|
|
380
380
|
const selection = this.contrastValueBubble.getComponentSelection();
|
|
381
381
|
if (selection) {
|
|
382
382
|
selection.empty();
|
|
@@ -1164,7 +1164,7 @@ export class Spectrum extends Common.ObjectWrapper.eventMixin<EventTypes, typeof
|
|
|
1164
1164
|
}
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
|
-
private toggleColorPicker(enabled?: boolean
|
|
1167
|
+
private toggleColorPicker(enabled?: boolean): void {
|
|
1168
1168
|
if (enabled === undefined) {
|
|
1169
1169
|
enabled = !this.colorPickerButton.toggled();
|
|
1170
1170
|
}
|
|
@@ -118,7 +118,7 @@ const elementToPositionMap = new WeakMap<Element, number>();
|
|
|
118
118
|
|
|
119
119
|
const elementToIndexMap = new WeakMap<Element, number>();
|
|
120
120
|
|
|
121
|
-
export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper {
|
|
121
|
+
export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTypes<T>> {
|
|
122
122
|
element: HTMLDivElement;
|
|
123
123
|
private displayName: string;
|
|
124
124
|
private editCallback: ((arg0: any, arg1: string, arg2: any, arg3: any) => any)|undefined;
|
|
@@ -224,7 +224,7 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper {
|
|
|
224
224
|
this.topFillerRow = (this.dataTableBody.createChild('tr', 'data-grid-filler-row revealed') as HTMLElement);
|
|
225
225
|
this.bottomFillerRow = (this.dataTableBody.createChild('tr', 'data-grid-filler-row revealed') as HTMLElement);
|
|
226
226
|
|
|
227
|
-
this.setVerticalPadding(0, 0);
|
|
227
|
+
this.setVerticalPadding(0, 0, true);
|
|
228
228
|
this.refreshHeader();
|
|
229
229
|
|
|
230
230
|
this.editing = false;
|
|
@@ -455,7 +455,7 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper {
|
|
|
455
455
|
this.dataTableColumnGroup.createChild('col', 'corner');
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
protected setVerticalPadding(top: number, bottom: number): void {
|
|
458
|
+
protected setVerticalPadding(top: number, bottom: number, isConstructorTime: boolean = false): void {
|
|
459
459
|
const topPx = top + 'px';
|
|
460
460
|
const bottomPx = (top || bottom) ? bottom + 'px' : 'auto';
|
|
461
461
|
if (this.topFillerRow.style.height === topPx && this.bottomFillerRow.style.height === bottomPx) {
|
|
@@ -463,7 +463,9 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper {
|
|
|
463
463
|
}
|
|
464
464
|
this.topFillerRow.style.height = topPx;
|
|
465
465
|
this.bottomFillerRow.style.height = bottomPx;
|
|
466
|
-
|
|
466
|
+
if (!isConstructorTime) {
|
|
467
|
+
this.dispatchEventToListeners(Events.PaddingChanged);
|
|
468
|
+
}
|
|
467
469
|
}
|
|
468
470
|
|
|
469
471
|
protected setRootNode(rootNode: DataGridNode<T>): void {
|
|
@@ -1516,6 +1518,14 @@ export enum Events {
|
|
|
1516
1518
|
PaddingChanged = 'PaddingChanged',
|
|
1517
1519
|
}
|
|
1518
1520
|
|
|
1521
|
+
export type EventTypes<T> = {
|
|
1522
|
+
[Events.SelectedNode]: DataGridNode<T>,
|
|
1523
|
+
[Events.DeselectedNode]: void,
|
|
1524
|
+
[Events.OpenedNode]: DataGridNode<T>,
|
|
1525
|
+
[Events.SortingChanged]: void,
|
|
1526
|
+
[Events.PaddingChanged]: void,
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1519
1529
|
// TODO(crbug.com/1167717): Make this a const enum again
|
|
1520
1530
|
// eslint-disable-next-line rulesdir/const_enum
|
|
1521
1531
|
export enum Order {
|
|
@@ -1552,7 +1562,7 @@ export type DataGridData = {
|
|
|
1552
1562
|
[key: string]: any,
|
|
1553
1563
|
};
|
|
1554
1564
|
|
|
1555
|
-
export class DataGridNode<T>
|
|
1565
|
+
export class DataGridNode<T> {
|
|
1556
1566
|
elementInternal: Element|null;
|
|
1557
1567
|
expandedInternal: boolean;
|
|
1558
1568
|
private selectedInternal: boolean;
|
|
@@ -1582,7 +1592,6 @@ export class DataGridNode<T> extends Common.ObjectWrapper.ObjectWrapper {
|
|
|
1582
1592
|
isCreationNode: boolean;
|
|
1583
1593
|
|
|
1584
1594
|
constructor(data?: DataGridData|null, hasChildren?: boolean) {
|
|
1585
|
-
super();
|
|
1586
1595
|
this.elementInternal = null;
|
|
1587
1596
|
this.expandedInternal = false;
|
|
1588
1597
|
this.selectedInternal = false;
|
|
@@ -2,6 +2,7 @@
|
|
|
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 Common from '../../../../core/common/common.js';
|
|
5
6
|
import * as i18n from '../../../../core/i18n/i18n.js';
|
|
6
7
|
import * as Platform from '../../../../core/platform/platform.js';
|
|
7
8
|
import * as UI from '../../legacy.js';
|
|
@@ -18,7 +19,8 @@ const UIStrings = {
|
|
|
18
19
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/data_grid/ViewportDataGrid.ts', UIStrings);
|
|
19
20
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
20
21
|
|
|
21
|
-
export class ViewportDataGrid<T> extends
|
|
22
|
+
export class ViewportDataGrid<T> extends Common.ObjectWrapper.eventMixin<EventTypes, typeof DataGridImpl>(
|
|
23
|
+
DataGridImpl)<ViewportDataGridNode<T>> {
|
|
22
24
|
private readonly onScrollBound: (event: Event|null) => void;
|
|
23
25
|
private visibleNodes: ViewportDataGridNode<T>[];
|
|
24
26
|
stickToBottom: boolean;
|
|
@@ -263,6 +265,10 @@ export enum Events {
|
|
|
263
265
|
ViewportCalculated = 'ViewportCalculated',
|
|
264
266
|
}
|
|
265
267
|
|
|
268
|
+
export type EventTypes = {
|
|
269
|
+
[Events.ViewportCalculated]: void,
|
|
270
|
+
};
|
|
271
|
+
|
|
266
272
|
export class ViewportDataGridNode<T> extends DataGridNode<ViewportDataGridNode<T>> {
|
|
267
273
|
private stale: boolean;
|
|
268
274
|
private flatNodes: ViewportDataGridNode<T>[]|null;
|
|
@@ -42,8 +42,12 @@ export class SwatchPopoverHelper extends Common.ObjectWrapper.ObjectWrapper<Even
|
|
|
42
42
|
this.hideProxy();
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
setAnchorElement(anchorElement: Element): void {
|
|
46
|
+
this.anchorElement = anchorElement;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
isShowing(view?: UI.Widget.Widget): boolean {
|
|
50
|
+
return this.popover.isShowing() && ((view && this.view === view) || !view);
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
show(view: UI.Widget.Widget, anchorElement: Element, hiddenCallback?: ((arg0: boolean) => void)): void {
|
|
@@ -101,8 +101,8 @@ export class OverviewGrid {
|
|
|
101
101
|
this.window.setWindow(left, right);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
addEventListener(
|
|
105
|
-
eventType:
|
|
104
|
+
addEventListener<T extends keyof EventTypes>(
|
|
105
|
+
eventType: T, listener: Common.EventTarget.EventListener<EventTypes, T>,
|
|
106
106
|
thisObject?: Object): Common.EventTarget.EventDescriptor {
|
|
107
107
|
return this.window.addEventListener(eventType, listener, thisObject);
|
|
108
108
|
}
|
|
@@ -125,7 +125,7 @@ export const WindowScrollSpeedFactor = .3;
|
|
|
125
125
|
export const ResizerOffset = 3.5; // half pixel because offset values are not rounded but ceiled
|
|
126
126
|
export const OffsetFromWindowEnds = 10;
|
|
127
127
|
|
|
128
|
-
export class Window extends Common.ObjectWrapper.ObjectWrapper {
|
|
128
|
+
export class Window extends Common.ObjectWrapper.ObjectWrapper<EventTypes> {
|
|
129
129
|
private parentElement: Element;
|
|
130
130
|
private calculator: Calculator|undefined;
|
|
131
131
|
private leftResizeElement: HTMLElement;
|
|
@@ -16,7 +16,7 @@ const UIStrings = {
|
|
|
16
16
|
};
|
|
17
17
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/utils/TargetDetachedDialog.ts', UIStrings);
|
|
18
18
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
19
|
-
export class TargetDetachedDialog extends SDK.SDKModel.SDKModel implements ProtocolProxyApi.InspectorDispatcher {
|
|
19
|
+
export class TargetDetachedDialog extends SDK.SDKModel.SDKModel<void> implements ProtocolProxyApi.InspectorDispatcher {
|
|
20
20
|
private static hideCrashedDialog: (() => void)|null;
|
|
21
21
|
constructor(target: SDK.Target.Target) {
|
|
22
22
|
super(target);
|