chrome-devtools-frontend 1.0.1030946 → 1.0.1032245
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/devtools_grd_files.gni +5 -0
- package/front_end/core/host/UserMetrics.ts +2 -1
- package/front_end/core/i18n/locales/af.json +301 -31
- package/front_end/core/i18n/locales/am.json +307 -37
- package/front_end/core/i18n/locales/ar.json +299 -29
- package/front_end/core/i18n/locales/as.json +294 -24
- package/front_end/core/i18n/locales/az.json +302 -32
- package/front_end/core/i18n/locales/be.json +303 -33
- package/front_end/core/i18n/locales/bg.json +296 -26
- package/front_end/core/i18n/locales/bn.json +294 -24
- package/front_end/core/i18n/locales/bs.json +298 -28
- package/front_end/core/i18n/locales/ca.json +302 -32
- package/front_end/core/i18n/locales/cs.json +295 -25
- package/front_end/core/i18n/locales/cy.json +294 -24
- package/front_end/core/i18n/locales/da.json +299 -29
- package/front_end/core/i18n/locales/de.json +301 -31
- package/front_end/core/i18n/locales/el.json +301 -31
- package/front_end/core/i18n/locales/en-GB.json +294 -24
- package/front_end/core/i18n/locales/en-US.json +22 -7
- package/front_end/core/i18n/locales/en-XL.json +22 -7
- package/front_end/core/i18n/locales/es-419.json +298 -28
- package/front_end/core/i18n/locales/es.json +306 -36
- package/front_end/core/i18n/locales/et.json +299 -29
- package/front_end/core/i18n/locales/eu.json +301 -31
- package/front_end/core/i18n/locales/fa.json +301 -31
- package/front_end/core/i18n/locales/fi.json +295 -25
- package/front_end/core/i18n/locales/fil.json +295 -25
- package/front_end/core/i18n/locales/fr-CA.json +296 -26
- package/front_end/core/i18n/locales/fr.json +296 -26
- package/front_end/core/i18n/locales/gl.json +296 -26
- package/front_end/core/i18n/locales/gu.json +295 -25
- package/front_end/core/i18n/locales/he.json +300 -30
- package/front_end/core/i18n/locales/hi.json +306 -36
- package/front_end/core/i18n/locales/hr.json +298 -28
- package/front_end/core/i18n/locales/hu.json +301 -31
- package/front_end/core/i18n/locales/hy.json +296 -26
- package/front_end/core/i18n/locales/id.json +295 -25
- package/front_end/core/i18n/locales/is.json +294 -24
- package/front_end/core/i18n/locales/it.json +298 -28
- package/front_end/core/i18n/locales/ja.json +300 -30
- package/front_end/core/i18n/locales/ka.json +294 -24
- package/front_end/core/i18n/locales/kk.json +305 -35
- package/front_end/core/i18n/locales/km.json +300 -30
- package/front_end/core/i18n/locales/kn.json +302 -32
- package/front_end/core/i18n/locales/ko.json +297 -27
- package/front_end/core/i18n/locales/ky.json +297 -27
- package/front_end/core/i18n/locales/lo.json +297 -27
- package/front_end/core/i18n/locales/lt.json +295 -25
- package/front_end/core/i18n/locales/lv.json +301 -31
- package/front_end/core/i18n/locales/mk.json +294 -24
- package/front_end/core/i18n/locales/ml.json +297 -27
- package/front_end/core/i18n/locales/mn.json +296 -26
- package/front_end/core/i18n/locales/mr.json +298 -28
- package/front_end/core/i18n/locales/ms.json +296 -26
- package/front_end/core/i18n/locales/my.json +301 -31
- package/front_end/core/i18n/locales/ne.json +302 -32
- package/front_end/core/i18n/locales/nl.json +304 -34
- package/front_end/core/i18n/locales/no.json +294 -24
- package/front_end/core/i18n/locales/or.json +303 -33
- package/front_end/core/i18n/locales/pa.json +301 -31
- package/front_end/core/i18n/locales/pl.json +298 -28
- package/front_end/core/i18n/locales/pt-PT.json +299 -29
- package/front_end/core/i18n/locales/pt.json +298 -28
- package/front_end/core/i18n/locales/ro.json +297 -27
- package/front_end/core/i18n/locales/ru.json +296 -26
- package/front_end/core/i18n/locales/si.json +299 -29
- package/front_end/core/i18n/locales/sk.json +301 -31
- package/front_end/core/i18n/locales/sl.json +301 -31
- package/front_end/core/i18n/locales/sq.json +304 -34
- package/front_end/core/i18n/locales/sr-Latn.json +296 -26
- package/front_end/core/i18n/locales/sr.json +296 -26
- package/front_end/core/i18n/locales/sv.json +295 -25
- package/front_end/core/i18n/locales/sw.json +298 -28
- package/front_end/core/i18n/locales/ta.json +301 -31
- package/front_end/core/i18n/locales/te.json +333 -63
- package/front_end/core/i18n/locales/th.json +294 -24
- package/front_end/core/i18n/locales/tr.json +294 -24
- package/front_end/core/i18n/locales/uk.json +296 -26
- package/front_end/core/i18n/locales/ur.json +295 -25
- package/front_end/core/i18n/locales/uz.json +298 -28
- package/front_end/core/i18n/locales/vi.json +303 -33
- package/front_end/core/i18n/locales/zh-HK.json +294 -24
- package/front_end/core/i18n/locales/zh-TW.json +300 -30
- package/front_end/core/i18n/locales/zh.json +299 -29
- package/front_end/core/i18n/locales/zu.json +302 -32
- package/front_end/core/platform/string-utilities.ts +2 -5
- package/front_end/core/root/Runtime.ts +1 -0
- package/front_end/core/sdk/Target.ts +4 -0
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +4 -1
- package/front_end/entrypoints/main/MainImpl.ts +3 -0
- package/front_end/generated/InspectorBackendCommands.js +3 -3
- package/front_end/generated/SupportedCSSProperties.js +2 -4
- package/front_end/generated/protocol.ts +2 -1
- package/front_end/models/issues_manager/DeprecationIssue.ts +12 -1
- package/front_end/models/text_utils/CodeMirrorUtils.ts +1 -2
- package/front_end/models/timeline_model/TimelineModel.ts +52 -0
- package/front_end/panels/application/components/StackTrace.ts +2 -2
- package/front_end/panels/elements/AccessibilityTreeView.ts +8 -2
- package/front_end/panels/elements/CSSRuleValidator.ts +12 -13
- package/front_end/panels/elements/ElementsTreeOutline.ts +23 -7
- package/front_end/panels/elements/TopLayerContainer.ts +17 -28
- package/front_end/panels/elements/accessibilityTreeView.css +10 -0
- package/front_end/panels/elements/components/AccessibilityTreeNode.ts +4 -5
- package/front_end/panels/elements/components/accessibilityTreeNode.css +9 -0
- package/front_end/panels/elements/components/cssHintDetailsView.css +6 -2
- package/front_end/panels/elements/stylesSectionTree.css +1 -1
- package/front_end/panels/network/NetworkItemView.ts +15 -2
- package/front_end/panels/network/components/RequestHeadersView.css +13 -0
- package/front_end/panels/network/components/RequestHeadersView.ts +59 -57
- package/front_end/panels/sources/BreakpointsSidebarPane.ts +37 -0
- package/front_end/panels/sources/FilteredUISourceCodeListProvider.ts +7 -0
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +3 -3
- package/front_end/panels/sources/sources-meta.ts +3 -0
- package/front_end/panels/sources/sources.ts +2 -0
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +21 -2
- package/front_end/panels/timeline/TimelineUIUtils.ts +16 -0
- package/front_end/services/puppeteer/PuppeteerConnection.ts +7 -1
- package/front_end/third_party/codemirror.next/bundle.ts +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/cpp.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/java.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/json.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/legacy.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/php.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
- package/front_end/third_party/codemirror.next/codemirror.next.d.ts +342 -1314
- package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
- package/front_end/third_party/codemirror.next/package.json +21 -21
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +15 -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 +95 -76
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +7 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.d.ts +37 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.js +297 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ChromeTargetManager.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +10 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js +2 -2
- 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/Debug.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +16 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js +36 -36
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts +45 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.js +196 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FirefoxTargetManager.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +8 -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 +105 -72
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +4 -0
- 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 +6 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts +4 -0
- 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 +29 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +1 -1
- 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 +43 -68
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts +0 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +21 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TargetManager.d.ts +55 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TargetManager.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TargetManager.js +18 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TargetManager.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +21 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js +47 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.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 +2 -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.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +0 -3
- 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/puppeteer.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +15 -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 +95 -76
- 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/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +7 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.d.ts +37 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.js +293 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ChromeTargetManager.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +10 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js +3 -3
- 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/Debug.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +14 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js +36 -36
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts +45 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.js +192 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FirefoxTargetManager.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +8 -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 +106 -73
- 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/JSHandle.d.ts +4 -0
- 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 +6 -0
- 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/LifecycleWatcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts +4 -0
- 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 +30 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +1 -1
- 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 +45 -47
- 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/Puppeteer.d.ts +0 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +10 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +21 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TargetManager.d.ts +55 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TargetManager.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TargetManager.js +17 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TargetManager.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +21 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js +44 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.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 +1 -0
- 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.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js +0 -3
- 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/puppeteer.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +37 -2
- package/front_end/third_party/puppeteer/package/package.json +7 -6
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +2 -3
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +97 -17
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +1 -1
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewerUtils.ts +4 -0
- package/front_end/ui/legacy/Icon.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +9 -7
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +18 -17
- package/package.json +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/tsconfig.cjs.tsbuildinfo +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/tsconfig.tsbuildinfo +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/vendor/tsconfig.cjs.tsbuildinfo +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/tsconfig.esm.tsbuildinfo +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/tsconfig.tsbuildinfo +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/vendor/tsconfig.esm.tsbuildinfo +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"puppeteer.d.ts","sourceRoot":"","sources":["../../../src/puppeteer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AAEnC;;GAEG;AACH,QAAA,MAAM,SAAS,oCAAmC,CAAC;AAEnD,eAAO,MACL,OAAO,2FACP,oBAAoB,gGACpB,WAAW,6EACX,cAAc,4CACd,MAAM,kGACK,CAAC;AAEd,eAAe,SAAS,CAAC"}
|
1
|
+
{"version":3,"file":"puppeteer.d.ts","sourceRoot":"","sources":["../../../src/puppeteer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C;;GAEG;AACH,QAAA,MAAM,SAAS,oCAAmC,CAAC;AAEnD,eAAO,MACL,OAAO,2FACP,oBAAoB,gGACpB,WAAW,6EACX,cAAc,4CACd,MAAM,kGACK,CAAC;AAEd,eAAe,SAAS,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"puppeteer.js","sourceRoot":"","sources":["../../../src/puppeteer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAE7D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"puppeteer.js","sourceRoot":"","sources":["../../../src/puppeteer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAE7D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AAInC;;GAEG;AACH,MAAM,SAAS,GAAG,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAEnD,MAAM,CAAC,MAAM,EACX,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,cAAc,EACd,MAAM,GACP,GAAG,SAAS,CAAC;AAEd,eAAe,SAAS,CAAC"}
|
@@ -9,6 +9,7 @@ export * from './common/AriaQueryHandler.js';
|
|
9
9
|
export * from './common/Browser.js';
|
10
10
|
export * from './common/BrowserConnector.js';
|
11
11
|
export * from './common/BrowserWebSocketTransport.js';
|
12
|
+
export * from './common/ChromeTargetManager.js';
|
12
13
|
export * from './common/Connection.js';
|
13
14
|
export * from './common/ConnectionTransport.js';
|
14
15
|
export * from './common/ConsoleMessage.js';
|
@@ -23,6 +24,7 @@ export * from './common/Errors.js';
|
|
23
24
|
export * from './common/EventEmitter.js';
|
24
25
|
export * from './common/ExecutionContext.js';
|
25
26
|
export * from './common/FileChooser.js';
|
27
|
+
export * from './common/FirefoxTargetManager.js';
|
26
28
|
export * from './common/FrameManager.js';
|
27
29
|
export * from './common/HTTPRequest.js';
|
28
30
|
export * from './common/HTTPResponse.js';
|
@@ -40,6 +42,7 @@ export * from './common/PuppeteerViewport.js';
|
|
40
42
|
export * from './common/QueryHandler.js';
|
41
43
|
export * from './common/SecurityDetails.js';
|
42
44
|
export * from './common/Target.js';
|
45
|
+
export * from './common/TargetManager.js';
|
43
46
|
export * from './common/TaskQueue.js';
|
44
47
|
export * from './common/TimeoutSettings.js';
|
45
48
|
export * from './common/Tracing.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AAC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AC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,wBAAwB,CAAC"}
|
@@ -11,6 +11,7 @@ export * from './common/AriaQueryHandler.js';
|
|
11
11
|
export * from './common/Browser.js';
|
12
12
|
export * from './common/BrowserConnector.js';
|
13
13
|
export * from './common/BrowserWebSocketTransport.js';
|
14
|
+
export * from './common/ChromeTargetManager.js';
|
14
15
|
export * from './common/Connection.js';
|
15
16
|
export * from './common/ConnectionTransport.js';
|
16
17
|
export * from './common/ConsoleMessage.js';
|
@@ -25,6 +26,7 @@ export * from './common/Errors.js';
|
|
25
26
|
export * from './common/EventEmitter.js';
|
26
27
|
export * from './common/ExecutionContext.js';
|
27
28
|
export * from './common/FileChooser.js';
|
29
|
+
export * from './common/FirefoxTargetManager.js';
|
28
30
|
export * from './common/FrameManager.js';
|
29
31
|
export * from './common/HTTPRequest.js';
|
30
32
|
export * from './common/HTTPResponse.js';
|
@@ -42,6 +44,7 @@ export * from './common/PuppeteerViewport.js';
|
|
42
44
|
export * from './common/QueryHandler.js';
|
43
45
|
export * from './common/SecurityDetails.js';
|
44
46
|
export * from './common/Target.js';
|
47
|
+
export * from './common/TargetManager.js';
|
45
48
|
export * from './common/TaskQueue.js';
|
46
49
|
export * from './common/TimeoutSettings.js';
|
47
50
|
export * from './common/Tracing.js';
|
@@ -1 +1 @@
|
|
1
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C3B,cAAc,wBAAwB,CAAC"}
|
@@ -168,11 +168,14 @@ export declare class Browser extends EventEmitter {
|
|
168
168
|
/* Excluded from this release type: _create */
|
169
169
|
/* Excluded from this release type: _targets */
|
170
170
|
/* Excluded from this release type: __constructor */
|
171
|
+
/* Excluded from this release type: _attach */
|
172
|
+
/* Excluded from this release type: _detach */
|
171
173
|
/**
|
172
174
|
* The spawned browser process. Returns `null` if the browser instance was created with
|
173
175
|
* {@link Puppeteer.connect}.
|
174
176
|
*/
|
175
177
|
process(): ChildProcess | null;
|
178
|
+
/* Excluded from this release type: _targetManager */
|
176
179
|
/* Excluded from this release type: _getIsPageTargetCallback */
|
177
180
|
/**
|
178
181
|
* Creates a new incognito browser context. This won't share cookies/cache with other
|
@@ -747,6 +750,8 @@ export declare interface CDPSessionOnMessageObject {
|
|
747
750
|
*/
|
748
751
|
export declare type ChromeReleaseChannel = 'chrome' | 'chrome-beta' | 'chrome-canary' | 'chrome-dev';
|
749
752
|
|
753
|
+
/* Excluded from this release type: ChromeTargetManager */
|
754
|
+
|
750
755
|
/**
|
751
756
|
* Clears all registered handlers.
|
752
757
|
*
|
@@ -815,6 +820,7 @@ export declare class Connection extends EventEmitter {
|
|
815
820
|
/* Excluded from this release type: _rawSend */
|
816
821
|
/* Excluded from this release type: onMessage */
|
817
822
|
dispose(): void;
|
823
|
+
/* Excluded from this release type: isAutoAttached */
|
818
824
|
/**
|
819
825
|
* @param targetInfo - The target info
|
820
826
|
* @returns The CDP session that is created
|
@@ -866,7 +872,6 @@ export declare interface ConnectOptions extends BrowserConnectOptions {
|
|
866
872
|
browserWSEndpoint?: string;
|
867
873
|
browserURL?: string;
|
868
874
|
transport?: ConnectionTransport;
|
869
|
-
product?: Product;
|
870
875
|
}
|
871
876
|
|
872
877
|
/* Excluded from this release type: _connectToBrowser */
|
@@ -1042,6 +1047,8 @@ export declare interface CoverageEntry {
|
|
1042
1047
|
|
1043
1048
|
export declare const createBrowserFetcher: (options: BrowserFetcherOptions) => BrowserFetcher;
|
1044
1049
|
|
1050
|
+
/* Excluded from this release type: createDeferredPromiseWithTimer */
|
1051
|
+
|
1045
1052
|
/* Excluded from this release type: createJSHandle */
|
1046
1053
|
|
1047
1054
|
/* Excluded from this release type: createLauncher */
|
@@ -1135,6 +1142,8 @@ export declare const DEFAULT_INTERCEPT_RESOLUTION_PRIORITY = 0;
|
|
1135
1142
|
|
1136
1143
|
export declare const defaultArgs: (options?: BrowserLaunchArgumentOptions) => string[];
|
1137
1144
|
|
1145
|
+
/* Excluded from this release type: DeferredPromise */
|
1146
|
+
|
1138
1147
|
/**
|
1139
1148
|
* Copyright 2017 Google Inc. All rights reserved.
|
1140
1149
|
*
|
@@ -1910,6 +1919,8 @@ export declare class FileChooser {
|
|
1910
1919
|
|
1911
1920
|
/* Excluded from this release type: FirefoxLauncher */
|
1912
1921
|
|
1922
|
+
/* Excluded from this release type: FirefoxTargetManager */
|
1923
|
+
|
1913
1924
|
/**
|
1914
1925
|
* @public
|
1915
1926
|
*/
|
@@ -1977,6 +1988,10 @@ export declare class Frame {
|
|
1977
1988
|
/* Excluded from this release type: _childFrames */
|
1978
1989
|
/* Excluded from this release type: __constructor */
|
1979
1990
|
/* Excluded from this release type: _updateClient */
|
1991
|
+
/**
|
1992
|
+
* @returns a page associated with the frame.
|
1993
|
+
*/
|
1994
|
+
page(): Page;
|
1980
1995
|
/**
|
1981
1996
|
* @remarks
|
1982
1997
|
*
|
@@ -2905,6 +2920,10 @@ export declare class HTTPResponse {
|
|
2905
2920
|
frame(): Frame | null;
|
2906
2921
|
}
|
2907
2922
|
|
2923
|
+
/* Excluded from this release type: importDebug */
|
2924
|
+
|
2925
|
+
/* Excluded from this release type: importFS */
|
2926
|
+
|
2908
2927
|
/* Excluded from this release type: initializePuppeteer */
|
2909
2928
|
|
2910
2929
|
/**
|
@@ -3121,6 +3140,10 @@ export declare class HTTPResponse {
|
|
3121
3140
|
* @remarks Useful during debugging.
|
3122
3141
|
*/
|
3123
3142
|
toString(): string;
|
3143
|
+
/**
|
3144
|
+
* Provides access to [Protocol.Runtime.RemoteObject](https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#type-RemoteObject) backing this JSHandle.
|
3145
|
+
*/
|
3146
|
+
remoteObject(): Protocol.Runtime.RemoteObject;
|
3124
3147
|
}
|
3125
3148
|
|
3126
3149
|
/**
|
@@ -5152,7 +5175,7 @@ export declare class HTTPResponse {
|
|
5152
5175
|
* visible, i.e. to not have `display: none` or `visibility: hidden` CSS
|
5153
5176
|
* properties. Defaults to `false`.
|
5154
5177
|
*
|
5155
|
-
* - `hidden`:
|
5178
|
+
* - `hidden`: Wait for element to not be found in the DOM or to be hidden,
|
5156
5179
|
* i.e. have `display: none` or `visibility: hidden` CSS properties. Defaults to
|
5157
5180
|
* `false`.
|
5158
5181
|
*
|
@@ -5704,6 +5727,8 @@ export declare class HTTPResponse {
|
|
5704
5727
|
product: Product;
|
5705
5728
|
}
|
5706
5729
|
|
5730
|
+
export { Protocol }
|
5731
|
+
|
5707
5732
|
/**
|
5708
5733
|
* ProtocolError is emitted whenever there is an error from the protocol.
|
5709
5734
|
*
|
@@ -6212,10 +6237,12 @@ export declare class HTTPResponse {
|
|
6212
6237
|
/* Excluded from this release type: _targetId */
|
6213
6238
|
/* Excluded from this release type: _isPageTargetCallback */
|
6214
6239
|
/* Excluded from this release type: __constructor */
|
6240
|
+
/* Excluded from this release type: _session */
|
6215
6241
|
/**
|
6216
6242
|
* Creates a Chrome Devtools Protocol session attached to the target.
|
6217
6243
|
*/
|
6218
6244
|
createCDPSession(): Promise<CDPSession>;
|
6245
|
+
/* Excluded from this release type: _targetManager */
|
6219
6246
|
/* Excluded from this release type: _getTargetInfo */
|
6220
6247
|
/**
|
6221
6248
|
* If the target is not of type `"page"` or `"background_page"`, returns `null`.
|
@@ -6249,11 +6276,19 @@ export declare class HTTPResponse {
|
|
6249
6276
|
/* Excluded from this release type: _targetInfoChanged */
|
6250
6277
|
}
|
6251
6278
|
|
6279
|
+
/* Excluded from this release type: TargetFactory */
|
6280
|
+
|
6252
6281
|
/**
|
6253
6282
|
* @public
|
6254
6283
|
*/
|
6255
6284
|
export declare type TargetFilterCallback = (target: Protocol.Target.TargetInfo) => boolean;
|
6256
6285
|
|
6286
|
+
/* Excluded from this release type: TargetInterceptor */
|
6287
|
+
|
6288
|
+
/* Excluded from this release type: TargetManager */
|
6289
|
+
|
6290
|
+
/* Excluded from this release type: TargetManagerEmittedEvents */
|
6291
|
+
|
6257
6292
|
/* Excluded from this release type: TaskQueue */
|
6258
6293
|
|
6259
6294
|
/**
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "puppeteer",
|
3
|
-
"version": "
|
3
|
+
"version": "16.0.0",
|
4
4
|
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
5
5
|
"keywords": [
|
6
6
|
"puppeteer",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"node": ">=14.1.0"
|
28
28
|
},
|
29
29
|
"scripts": {
|
30
|
-
"test": "c8 --check-coverage --lines
|
30
|
+
"test": "c8 --check-coverage --lines 93 run-s test:chrome test:chrome:* test:firefox",
|
31
31
|
"test:types": "tsd",
|
32
32
|
"test:install": "scripts/test-install.sh",
|
33
33
|
"test:firefox": "cross-env PUPPETEER_PRODUCT=firefox MOZ_WEBRENDER=0 mocha",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"docs": "run-s build generate:markdown",
|
50
50
|
"debug": "npm run build && mocha --inspect-brk",
|
51
51
|
"commitlint": "commitlint --from=HEAD~1",
|
52
|
-
"clean": "rimraf lib",
|
52
|
+
"clean": "rimraf lib && rimraf test/build",
|
53
53
|
"check": "run-p check:*",
|
54
54
|
"check:protocol-revision": "ts-node -s scripts/ensure-correct-devtools-protocol-package",
|
55
55
|
"check:pinned-deps": "ts-node -s scripts/ensure-pinned-deps",
|
@@ -62,14 +62,15 @@
|
|
62
62
|
"files": [
|
63
63
|
"lib",
|
64
64
|
"install.js",
|
65
|
-
"typescript-if-required.js"
|
65
|
+
"typescript-if-required.js",
|
66
|
+
"!**/*.tsbuildinfo"
|
66
67
|
],
|
67
68
|
"author": "The Chromium Authors",
|
68
69
|
"license": "Apache-2.0",
|
69
70
|
"dependencies": {
|
70
71
|
"cross-fetch": "3.1.5",
|
71
72
|
"debug": "4.3.4",
|
72
|
-
"devtools-protocol": "0.0.
|
73
|
+
"devtools-protocol": "0.0.1019158",
|
73
74
|
"extract-zip": "2.0.1",
|
74
75
|
"https-proxy-agent": "5.0.1",
|
75
76
|
"pkg-dir": "4.2.0",
|
@@ -78,7 +79,7 @@
|
|
78
79
|
"rimraf": "3.0.2",
|
79
80
|
"tar-fs": "2.1.1",
|
80
81
|
"unbzip2-stream": "1.4.3",
|
81
|
-
"ws": "8.8.
|
82
|
+
"ws": "8.8.1"
|
82
83
|
},
|
83
84
|
"devDependencies": {
|
84
85
|
"@commitlint/cli": "17.0.1",
|
@@ -160,12 +160,11 @@ export class LinearMemoryInspector extends HTMLElement {
|
|
160
160
|
throw new Error('Memory offset has to be greater or equal to zero.');
|
161
161
|
}
|
162
162
|
|
163
|
-
if (data.highlightInfo
|
163
|
+
if (data.highlightInfo) {
|
164
164
|
if (data.highlightInfo.size < 0) {
|
165
165
|
throw new Error('Object size has to be greater than or equal to zero');
|
166
166
|
}
|
167
|
-
if (data.highlightInfo.startAddress
|
168
|
-
data.highlightInfo.startAddress < 0) {
|
167
|
+
if (data.highlightInfo.startAddress < 0 || data.highlightInfo.startAddress >= data.outerMemoryLength) {
|
169
168
|
throw new Error('Object start address is out of bounds.');
|
170
169
|
}
|
171
170
|
}
|
@@ -164,6 +164,21 @@ export class LinearMemoryInspectorController extends SDK.TargetManager.SDKModelO
|
|
164
164
|
return await memoryWrapper.getRange(start, chunkEnd);
|
165
165
|
}
|
166
166
|
|
167
|
+
async evaluateExpression(callFrame: SDK.DebuggerModel.CallFrame, expressionName: string):
|
168
|
+
Promise<SDK.RemoteObject.RemoteObject|undefined> {
|
169
|
+
const result = await callFrame.evaluate({expression: expressionName});
|
170
|
+
if ('error' in result) {
|
171
|
+
console.error(`Tried to evaluate the expression '${expressionName}' but got an error: ${result.error}`);
|
172
|
+
return undefined;
|
173
|
+
}
|
174
|
+
if ('exceptionDetails' in result && result?.exceptionDetails?.text) {
|
175
|
+
console.error(
|
176
|
+
`Tried to evaluate the expression '${expressionName}' but got an exception: ${result.exceptionDetails.text}`);
|
177
|
+
return undefined;
|
178
|
+
}
|
179
|
+
return result.object;
|
180
|
+
}
|
181
|
+
|
167
182
|
saveSettings(data: Settings): void {
|
168
183
|
const valueTypes = Array.from(data.valueTypes);
|
169
184
|
const modes = [...data.modes];
|
@@ -233,14 +248,15 @@ export class LinearMemoryInspectorController extends SDK.TargetManager.SDKModelO
|
|
233
248
|
// This function returns the size of the source language value represented
|
234
249
|
// by the ValueNode. If the value is a pointer, the function returns the size of
|
235
250
|
// the pointed-to value. If the pointed-to value is also a pointer, it returns
|
236
|
-
// the size of the pointer (usually 4 bytes)
|
251
|
+
// the size of the pointer (usually 4 bytes). This is the convention taken
|
252
|
+
// by the DWARF extension.
|
237
253
|
// > double x = 42.0;
|
238
254
|
// > double *ptr = &x;
|
239
255
|
// > double **dblptr = &ptr;
|
240
256
|
//
|
241
257
|
// retrieveObjectSize(ptr_ValueNode) -> 8, the size of a double
|
242
258
|
// retrieveObjectSize(dblptr_ValueNode) -> 4, the size of a pointer
|
243
|
-
static
|
259
|
+
static extractObjectSize(obj: Bindings.DebuggerLanguagePlugins.ValueNode): number {
|
244
260
|
let typeInfo = obj.sourceType.typeInfo;
|
245
261
|
const pointerMembers = typeInfo.members.filter(member => member.name === '*');
|
246
262
|
if (pointerMembers.length === 1) {
|
@@ -257,7 +273,34 @@ export class LinearMemoryInspectorController extends SDK.TargetManager.SDKModelO
|
|
257
273
|
return typeInfo.size;
|
258
274
|
}
|
259
275
|
|
260
|
-
|
276
|
+
// The object type description corresponds to the type of the highlighted memory
|
277
|
+
// that the user sees in the memory inspector. For pointers, we highlight the pointed to object.
|
278
|
+
//
|
279
|
+
// Example: The variable `x` has the type `int *`. Assume that `x` points to the value 3.
|
280
|
+
// -> The memory inspector will jump to the address where 3 is stored.
|
281
|
+
// -> The memory inspector will highlight the bytes that represent the 3.
|
282
|
+
// -> The object type description of what we show will thus be `int` and not `int *`.
|
283
|
+
static extractObjectTypeDescription(obj: Bindings.DebuggerLanguagePlugins.ValueNode): string {
|
284
|
+
const objType = obj.description;
|
285
|
+
if (!objType) {
|
286
|
+
return '';
|
287
|
+
}
|
288
|
+
const lastChar = objType.charAt(objType.length - 1);
|
289
|
+
const secondToLastChar = objType.charAt(objType.length - 2);
|
290
|
+
const isPointerType = lastChar === '*' || lastChar === '&';
|
291
|
+
const isOneLevelPointer = secondToLastChar === ' ';
|
292
|
+
if (!isPointerType) {
|
293
|
+
return objType;
|
294
|
+
}
|
295
|
+
if (isOneLevelPointer) {
|
296
|
+
// For example, 'int *'and 'int &' become 'int'.
|
297
|
+
return objType.slice(0, objType.length - 2);
|
298
|
+
}
|
299
|
+
// For example, 'int **' becomes 'int *'.
|
300
|
+
return objType.slice(0, objType.length - 1);
|
301
|
+
}
|
302
|
+
|
303
|
+
async openInspectorView(obj: SDK.RemoteObject.RemoteObject, address?: number, expression?: string): Promise<void> {
|
261
304
|
const response = await LinearMemoryInspectorController.retrieveDWARFMemoryObjectAndAddress(obj);
|
262
305
|
let memoryObj = obj;
|
263
306
|
let memoryAddress = address;
|
@@ -288,8 +331,8 @@ export class LinearMemoryInspectorController extends SDK.TargetManager.SDKModelO
|
|
288
331
|
}
|
289
332
|
const memoryProperty = internalProperties?.find(({name}) => name === '[[WebAssemblyMemory]]');
|
290
333
|
const memory = memoryProperty?.value;
|
291
|
-
const highlightInfo = LinearMemoryInspectorController.extractHighlightInfo(obj,
|
292
|
-
if (highlightInfo
|
334
|
+
const highlightInfo = LinearMemoryInspectorController.extractHighlightInfo(obj, expression);
|
335
|
+
if (highlightInfo) {
|
293
336
|
this.#setHighlightInfo(id, highlightInfo);
|
294
337
|
} else {
|
295
338
|
this.#resetHighlightInfo(id);
|
@@ -308,17 +351,21 @@ export class LinearMemoryInspectorController extends SDK.TargetManager.SDKModelO
|
|
308
351
|
void UI.ViewManager.ViewManager.instance().showView('linear-memory-inspector');
|
309
352
|
}
|
310
353
|
|
311
|
-
static extractHighlightInfo(obj: SDK.RemoteObject.RemoteObject,
|
354
|
+
static extractHighlightInfo(obj: SDK.RemoteObject.RemoteObject, expression?: string): HighlightInfo|undefined {
|
355
|
+
if (!(obj instanceof Bindings.DebuggerLanguagePlugins.ValueNode)) {
|
356
|
+
return undefined;
|
357
|
+
}
|
358
|
+
|
312
359
|
let highlightInfo;
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
}
|
320
|
-
|
321
|
-
|
360
|
+
try {
|
361
|
+
highlightInfo = {
|
362
|
+
startAddress: obj.inspectableAddress || 0,
|
363
|
+
size: LinearMemoryInspectorController.extractObjectSize(obj),
|
364
|
+
name: expression,
|
365
|
+
type: LinearMemoryInspectorController.extractObjectTypeDescription(obj),
|
366
|
+
};
|
367
|
+
} catch (err) {
|
368
|
+
highlightInfo = undefined;
|
322
369
|
}
|
323
370
|
return highlightInfo;
|
324
371
|
}
|
@@ -337,8 +384,16 @@ export class LinearMemoryInspectorController extends SDK.TargetManager.SDKModelO
|
|
337
384
|
const debuggerModel = event.data;
|
338
385
|
for (const [bufferId, remoteObject] of this.#bufferIdToRemoteObject) {
|
339
386
|
if (debuggerModel.runtimeModel() === remoteObject.runtimeModel()) {
|
340
|
-
|
341
|
-
|
387
|
+
const topCallFrame = debuggerModel.debuggerPausedDetails()?.callFrames[0];
|
388
|
+
if (topCallFrame) {
|
389
|
+
void this
|
390
|
+
.updateHighlightedMemory(bufferId, topCallFrame)
|
391
|
+
// Need to call refreshView in the callback to trigger re-render.
|
392
|
+
.then(() => this.#paneInstance.refreshView(bufferId));
|
393
|
+
} else {
|
394
|
+
this.#resetHighlightInfo(bufferId);
|
395
|
+
this.#paneInstance.refreshView(bufferId);
|
396
|
+
}
|
342
397
|
}
|
343
398
|
}
|
344
399
|
}
|
@@ -355,4 +410,29 @@ export class LinearMemoryInspectorController extends SDK.TargetManager.SDKModelO
|
|
355
410
|
this.#bufferIdToRemoteObject.delete(bufferId);
|
356
411
|
this.#resetHighlightInfo(bufferId);
|
357
412
|
}
|
413
|
+
|
414
|
+
async updateHighlightedMemory(bufferId: string, callFrame: SDK.DebuggerModel.CallFrame): Promise<void> {
|
415
|
+
const oldHighlightInfo = this.getHighlightInfo(bufferId);
|
416
|
+
const expressionName = oldHighlightInfo?.name;
|
417
|
+
if (!oldHighlightInfo || !expressionName) {
|
418
|
+
this.#resetHighlightInfo(bufferId);
|
419
|
+
return;
|
420
|
+
}
|
421
|
+
const obj = await this.evaluateExpression(callFrame, expressionName);
|
422
|
+
if (!obj) {
|
423
|
+
this.#resetHighlightInfo(bufferId);
|
424
|
+
return;
|
425
|
+
}
|
426
|
+
|
427
|
+
const newHighlightInfo = LinearMemoryInspectorController.extractHighlightInfo(obj, expressionName);
|
428
|
+
if (!newHighlightInfo || !this.#pointToSameMemoryObject(newHighlightInfo, oldHighlightInfo)) {
|
429
|
+
this.#resetHighlightInfo(bufferId);
|
430
|
+
} else {
|
431
|
+
this.#setHighlightInfo(bufferId, newHighlightInfo);
|
432
|
+
}
|
433
|
+
}
|
434
|
+
|
435
|
+
#pointToSameMemoryObject(highlightInfoA: HighlightInfo, highlightInfoB: HighlightInfo): boolean {
|
436
|
+
return highlightInfoA.type === highlightInfoB.type && highlightInfoA.startAddress === highlightInfoB.startAddress;
|
437
|
+
}
|
358
438
|
}
|
@@ -226,7 +226,7 @@ class LinearMemoryInspectorView extends UI.Widget.VBox {
|
|
226
226
|
const highlightInfo = LinearMemoryInspectorController.instance().getHighlightInfo(this.#tabId);
|
227
227
|
if (highlightInfo !== undefined) {
|
228
228
|
if (highlightInfo.startAddress < 0 || highlightInfo.startAddress >= this.#memoryWrapper.length()) {
|
229
|
-
throw new Error('
|
229
|
+
throw new Error('HighlightInfo start address is out of bounds.');
|
230
230
|
}
|
231
231
|
if (highlightInfo.size <= 0) {
|
232
232
|
throw new Error('Highlight size must be a positive number.');
|
@@ -105,7 +105,7 @@ const initialDescriptors = new Map<string, Descriptor>([
|
|
105
105
|
['smallicon-checkmark-behind', {position: 'd6', spritesheet: 'smallicons', isMask: true}],
|
106
106
|
['smallicon-command-result', {position: 'a4', spritesheet: 'smallicons'}],
|
107
107
|
['smallicon-contrast-ratio', {position: 'a6', spritesheet: 'smallicons', isMask: true}],
|
108
|
-
['smallicon-cross', {position: 'b4', spritesheet: 'smallicons'}],
|
108
|
+
['smallicon-cross', {position: 'b4', spritesheet: 'smallicons', isMask: true}],
|
109
109
|
['smallicon-device', {position: 'c5', spritesheet: 'smallicons'}],
|
110
110
|
['smallicon-error', {position: 'c4', spritesheet: 'smallicons'}],
|
111
111
|
['smallicon-expand-less', {position: 'f5', spritesheet: 'smallicons', isMask: true}],
|
@@ -386,16 +386,17 @@ export class ObjectPropertiesSection extends UI.TreeOutline.TreeOutlineInShadow
|
|
386
386
|
|
387
387
|
static createPropertyValueWithCustomSupport(
|
388
388
|
value: SDK.RemoteObject.RemoteObject, wasThrown: boolean, showPreview: boolean, parentElement?: Element,
|
389
|
-
linkifier?: Components.Linkifier.Linkifier): ObjectPropertyValue {
|
389
|
+
linkifier?: Components.Linkifier.Linkifier, variableName?: string): ObjectPropertyValue {
|
390
390
|
if (value.customPreview()) {
|
391
391
|
const result = (new CustomPreviewComponent(value)).element;
|
392
392
|
result.classList.add('object-properties-section-custom-section');
|
393
393
|
return new ObjectPropertyValue(result);
|
394
394
|
}
|
395
|
-
return ObjectPropertiesSection.createPropertyValue(
|
395
|
+
return ObjectPropertiesSection.createPropertyValue(
|
396
|
+
value, wasThrown, showPreview, parentElement, linkifier, variableName);
|
396
397
|
}
|
397
398
|
|
398
|
-
static appendMemoryIcon(element: Element, obj: SDK.RemoteObject.RemoteObject): void {
|
399
|
+
static appendMemoryIcon(element: Element, obj: SDK.RemoteObject.RemoteObject, variableName?: string): void {
|
399
400
|
// We show the memory icon only on ArrayBuffer, WebAssembly.Memory and DWARF memory instances.
|
400
401
|
// TypedArrays DataViews are also supported, but showing the icon next to their
|
401
402
|
// previews is quite a significant visual overhead, and users can easily get to
|
@@ -418,7 +419,7 @@ export class ObjectPropertiesSection extends UI.TreeOutline.TreeOutlineInShadow
|
|
418
419
|
const controller =
|
419
420
|
LinearMemoryInspector.LinearMemoryInspectorController.LinearMemoryInspectorController.instance();
|
420
421
|
Host.userMetrics.linearMemoryInspectorRevealedFrom(Host.UserMetrics.LinearMemoryInspectorRevealedFrom.MemoryIcon);
|
421
|
-
void controller.openInspectorView(obj);
|
422
|
+
void controller.openInspectorView(obj, undefined /* address */, variableName);
|
422
423
|
};
|
423
424
|
|
424
425
|
UI.Tooltip.Tooltip.install(memoryIcon, 'Reveal in Memory Inspector panel');
|
@@ -428,7 +429,7 @@ export class ObjectPropertiesSection extends UI.TreeOutline.TreeOutlineInShadow
|
|
428
429
|
|
429
430
|
static createPropertyValue(
|
430
431
|
value: SDK.RemoteObject.RemoteObject, wasThrown: boolean, showPreview: boolean, parentElement?: Element,
|
431
|
-
linkifier?: Components.Linkifier.Linkifier): ObjectPropertyValue {
|
432
|
+
linkifier?: Components.Linkifier.Linkifier, variableName?: string): ObjectPropertyValue {
|
432
433
|
let propertyValue;
|
433
434
|
const type = value.type;
|
434
435
|
const subtype = value.subtype;
|
@@ -464,7 +465,7 @@ export class ObjectPropertiesSection extends UI.TreeOutline.TreeOutlineInShadow
|
|
464
465
|
propertyValue.element.textContent = description;
|
465
466
|
UI.Tooltip.Tooltip.install(propertyValue.element as HTMLElement, description);
|
466
467
|
}
|
467
|
-
this.appendMemoryIcon(valueElement, value);
|
468
|
+
this.appendMemoryIcon(valueElement, value, variableName);
|
468
469
|
}
|
469
470
|
|
470
471
|
if (wasThrown) {
|
@@ -1090,7 +1091,8 @@ export class ObjectPropertyTreeElement extends UI.TreeOutline.TreeElement {
|
|
1090
1091
|
} else if (this.property.value) {
|
1091
1092
|
const showPreview = this.property.name !== '[[Prototype]]';
|
1092
1093
|
this.propertyValue = ObjectPropertiesSection.createPropertyValueWithCustomSupport(
|
1093
|
-
this.property.value, this.property.wasThrown, showPreview, this.listItemElement, this.linkifier
|
1094
|
+
this.property.value, this.property.wasThrown, showPreview, this.listItemElement, this.linkifier,
|
1095
|
+
this.path() /* variableName */);
|
1094
1096
|
this.valueElement = (this.propertyValue.element as HTMLElement);
|
1095
1097
|
} else if (this.property.getter) {
|
1096
1098
|
this.valueElement = document.createElement('span');
|