chrome-devtools-frontend 1.0.1030457 → 1.0.1031822
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 +4 -0
- package/front_end/Tests.js +0 -28
- 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 +13 -10
- package/front_end/core/i18n/locales/en-XL.json +13 -10
- 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/CSSStyleSheetHeader.ts +0 -4
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +0 -4
- package/front_end/core/sdk/NetworkRequest.ts +0 -4
- package/front_end/core/sdk/Resource.ts +0 -5
- package/front_end/core/sdk/Script.ts +71 -76
- 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 +4 -0
- package/front_end/generated/InspectorBackendCommands.js +10 -8
- package/front_end/generated/protocol-mapping.d.ts +16 -2
- package/front_end/generated/protocol-proxy-api.d.ts +11 -1
- package/front_end/generated/protocol.ts +75 -1
- package/front_end/models/bindings/CompilerScriptMapping.ts +6 -3
- package/front_end/models/bindings/ContentProviderBasedProject.ts +2 -3
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +1 -4
- package/front_end/models/bindings/IgnoreListManager.ts +10 -8
- package/front_end/models/bindings/ResourceMapping.ts +0 -4
- package/front_end/models/bindings/StylesSourceMapping.ts +0 -5
- package/front_end/models/extensions/ExtensionServer.ts +2 -3
- package/front_end/models/issues_manager/AttributionReportingIssue.ts +8 -0
- package/front_end/models/issues_manager/DeprecationIssue.ts +9 -0
- package/front_end/models/issues_manager/descriptions/arTooManyConcurrentRequests.md +5 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +6 -2
- package/front_end/models/persistence/NetworkPersistenceManager.ts +4 -6
- package/front_end/models/persistence/PersistenceActions.ts +5 -4
- package/front_end/models/text_utils/CodeMirrorUtils.ts +17 -4
- package/front_end/models/text_utils/ContentProvider.ts +0 -1
- package/front_end/models/text_utils/StaticContentProvider.ts +0 -4
- package/front_end/models/workspace/UISourceCode.ts +10 -5
- 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 +107 -123
- 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/CSSHintDetailsView.ts +23 -20
- package/front_end/panels/elements/components/accessibilityTreeNode.css +9 -0
- package/front_end/panels/elements/components/cssHintDetailsView.css +8 -2
- package/front_end/panels/elements/stylesSectionTree.css +1 -1
- package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +12 -0
- package/front_end/panels/network/components/RequestHeadersView.css +1 -0
- package/front_end/panels/network/components/RequestHeadersView.ts +7 -0
- package/front_end/panels/sources/FilteredUISourceCodeListProvider.ts +7 -0
- package/front_end/panels/sources/NavigatorView.ts +22 -0
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +3 -3
- 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 -2
- package/front_end/third_party/codemirror.next/chunk/java.js +1 -2
- package/front_end/third_party/codemirror.next/chunk/json.js +1 -2
- package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -2
- package/front_end/third_party/codemirror.next/chunk/php.js +1 -2
- package/front_end/third_party/codemirror.next/chunk/python.js +1 -2
- package/front_end/third_party/codemirror.next/chunk/wast.js +1 -2
- package/front_end/third_party/codemirror.next/chunk/xml.js +1 -2
- package/front_end/third_party/codemirror.next/codemirror.next.d.ts +1247 -116
- package/front_end/third_party/codemirror.next/codemirror.next.js +1 -2
- 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/docs/building-ui-documentation/StylingComponents.md +64 -0
- 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/source_frame/ImageView.ts +10 -11
- package/front_end/ui/legacy/components/source_frame/PreviewFactory.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +49 -0
- 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
@@ -68,10 +68,6 @@ export class CompilerSourceMappingContentProvider implements TextUtils.ContentPr
|
|
68
68
|
return this.#contentTypeInternal;
|
69
69
|
}
|
70
70
|
|
71
|
-
async contentEncoded(): Promise<boolean> {
|
72
|
-
return false;
|
73
|
-
}
|
74
|
-
|
75
71
|
async requestContent(): Promise<TextUtils.ContentProvider.DeferredContent> {
|
76
72
|
try {
|
77
73
|
const {content} = await PageResourceLoader.instance().loadResource(this.#sourceURL, this.#initiator);
|
@@ -1196,10 +1196,6 @@ export class NetworkRequest extends Common.ObjectWrapper.ObjectWrapper<EventType
|
|
1196
1196
|
return this.#resourceTypeInternal;
|
1197
1197
|
}
|
1198
1198
|
|
1199
|
-
async contentEncoded(): Promise<boolean> {
|
1200
|
-
return (await this.contentData()).encoded;
|
1201
|
-
}
|
1202
|
-
|
1203
1199
|
async requestContent(): Promise<TextUtils.ContentProvider.DeferredContent> {
|
1204
1200
|
const {content, error, encoded} = await this.contentData();
|
1205
1201
|
return {
|
@@ -162,11 +162,6 @@ export class Resource implements TextUtils.ContentProvider.ContentProvider {
|
|
162
162
|
return this.resourceType();
|
163
163
|
}
|
164
164
|
|
165
|
-
async contentEncoded(): Promise<boolean> {
|
166
|
-
await this.requestContent();
|
167
|
-
return this.#contentEncodedInternal;
|
168
|
-
}
|
169
|
-
|
170
165
|
async requestContent(): Promise<TextUtils.ContentProvider.DeferredContent> {
|
171
166
|
if (typeof this.#contentInternal !== 'undefined') {
|
172
167
|
return {
|
@@ -69,7 +69,6 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
|
|
69
69
|
debugSymbols: Protocol.Debugger.DebugSymbols|null;
|
70
70
|
hasSourceURL: boolean;
|
71
71
|
contentLength: number;
|
72
|
-
#originalContentProviderInternal: TextUtils.ContentProvider.ContentProvider|null;
|
73
72
|
originStackTrace: Protocol.Runtime.StackTrace|null;
|
74
73
|
readonly #codeOffsetInternal: number|null;
|
75
74
|
readonly #language: string|null;
|
@@ -100,7 +99,6 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
|
|
100
99
|
this.debugSymbols = debugSymbols;
|
101
100
|
this.hasSourceURL = hasSourceURL;
|
102
101
|
this.contentLength = length;
|
103
|
-
this.#originalContentProviderInternal = null;
|
104
102
|
this.originStackTrace = originStackTrace;
|
105
103
|
this.#codeOffsetInternal = codeOffset;
|
106
104
|
this.#language = scriptLanguage;
|
@@ -171,13 +169,79 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
|
|
171
169
|
return Common.ResourceType.resourceTypes.Script;
|
172
170
|
}
|
173
171
|
|
174
|
-
async
|
175
|
-
|
172
|
+
private async loadTextContent(): Promise<TextUtils.ContentProvider.DeferredContent> {
|
173
|
+
const result = await this.debuggerModel.target().debuggerAgent().invoke_getScriptSource({scriptId: this.scriptId});
|
174
|
+
if (result.getError()) {
|
175
|
+
throw new Error(result.getError());
|
176
|
+
}
|
177
|
+
const {scriptSource, bytecode} = result;
|
178
|
+
if (bytecode) {
|
179
|
+
return {content: bytecode, isEncoded: true};
|
180
|
+
}
|
181
|
+
let content: string = scriptSource || '';
|
182
|
+
if (this.hasSourceURL && this.sourceURL.startsWith('snippet://')) {
|
183
|
+
// TODO(crbug.com/1330846): Find a better way to establish the snippet automapping binding then adding
|
184
|
+
// a sourceURL comment before evaluation and removing it here.
|
185
|
+
content = Script.trimSourceURLComment(content);
|
186
|
+
}
|
187
|
+
return {content, isEncoded: false};
|
188
|
+
}
|
189
|
+
|
190
|
+
private async loadWasmContent(): Promise<TextUtils.ContentProvider.DeferredContent> {
|
191
|
+
if (!this.isWasm()) {
|
192
|
+
throw new Error('Not a wasm script');
|
193
|
+
}
|
194
|
+
const result =
|
195
|
+
await this.debuggerModel.target().debuggerAgent().invoke_disassembleWasmModule({scriptId: this.scriptId});
|
196
|
+
|
197
|
+
if (result.getError()) {
|
198
|
+
// Fall through to text content loading if v8-based disassembly fails. This is to ensure backwards compatibility with
|
199
|
+
// older v8 versions;
|
200
|
+
return this.loadTextContent();
|
201
|
+
}
|
202
|
+
|
203
|
+
const {streamId, functionBodyOffsets, chunk: {lines, bytecodeOffsets}} = result;
|
204
|
+
const lineChunks = [];
|
205
|
+
const bytecodeOffsetChunks = [];
|
206
|
+
if (streamId) {
|
207
|
+
while (true) {
|
208
|
+
const result = await this.debuggerModel.target().debuggerAgent().invoke_nextWasmDisassemblyChunk({streamId});
|
209
|
+
|
210
|
+
if (result.getError()) {
|
211
|
+
throw new Error(result.getError());
|
212
|
+
}
|
213
|
+
|
214
|
+
const {chunk: {lines: linesChunk, bytecodeOffsets: bytecodeOffsetsChunk}} = result;
|
215
|
+
if (linesChunk.length === 0) {
|
216
|
+
break;
|
217
|
+
}
|
218
|
+
lineChunks.push(linesChunk);
|
219
|
+
bytecodeOffsetChunks.push(bytecodeOffsetsChunk);
|
220
|
+
}
|
221
|
+
}
|
222
|
+
const functionBodyRanges: Array<{start: number, end: number}> = [];
|
223
|
+
// functionBodyOffsets contains a sequence of pairs of start and end offsets
|
224
|
+
for (let i = 0; i < functionBodyOffsets.length; i += 2) {
|
225
|
+
functionBodyRanges.push({start: functionBodyOffsets[i], end: functionBodyOffsets[i + 1]});
|
226
|
+
}
|
227
|
+
const wasmDisassemblyInfo = new Common.WasmDisassembly.WasmDisassembly(
|
228
|
+
lines.concat(...lineChunks), bytecodeOffsets.concat(...bytecodeOffsetChunks), functionBodyRanges);
|
229
|
+
return {content: '', isEncoded: false, wasmDisassemblyInfo};
|
176
230
|
}
|
177
231
|
|
178
232
|
requestContent(): Promise<TextUtils.ContentProvider.DeferredContent> {
|
179
233
|
if (!this.#contentPromise) {
|
180
|
-
this.#contentPromise =
|
234
|
+
this.#contentPromise = (async(): Promise<TextUtils.ContentProvider.DeferredContent> => {
|
235
|
+
if (!this.scriptId) {
|
236
|
+
return {content: null, error: i18nString(UIStrings.scriptRemovedOrDeleted), isEncoded: false};
|
237
|
+
}
|
238
|
+
try {
|
239
|
+
return this.isWasm() ? await this.loadWasmContent() : await this.loadTextContent();
|
240
|
+
} catch (err) {
|
241
|
+
// TODO(bmeurer): Propagate errors as exceptions / rejections.
|
242
|
+
return {content: null, error: i18nString(UIStrings.unableToFetchScriptSource), isEncoded: false};
|
243
|
+
}
|
244
|
+
})();
|
181
245
|
}
|
182
246
|
return this.#contentPromise;
|
183
247
|
}
|
@@ -189,77 +253,8 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
|
|
189
253
|
}
|
190
254
|
|
191
255
|
originalContentProvider(): TextUtils.ContentProvider.ContentProvider {
|
192
|
-
|
193
|
-
|
194
|
-
this.#originalContentProviderInternal =
|
195
|
-
new TextUtils.StaticContentProvider.StaticContentProvider(this.contentURL(), this.contentType(), () => {
|
196
|
-
if (!lazyContentPromise) {
|
197
|
-
lazyContentPromise = (async(): Promise<TextUtils.ContentProvider.DeferredContent> => {
|
198
|
-
if (!this.scriptId) {
|
199
|
-
return {content: null, error: i18nString(UIStrings.scriptRemovedOrDeleted), isEncoded: false};
|
200
|
-
}
|
201
|
-
if (this.isWasm()) {
|
202
|
-
const result = await this.debuggerModel.target().debuggerAgent().invoke_disassembleWasmModule(
|
203
|
-
{scriptId: this.scriptId});
|
204
|
-
|
205
|
-
if (result.getError()) {
|
206
|
-
throw new Error(result.getError());
|
207
|
-
}
|
208
|
-
|
209
|
-
const {streamId, functionBodyOffsets, chunk: {lines, bytecodeOffsets}} = result;
|
210
|
-
const lineChunks = [];
|
211
|
-
const bytecodeOffsetChunks = [];
|
212
|
-
if (streamId) {
|
213
|
-
while (true) {
|
214
|
-
const result =
|
215
|
-
await this.debuggerModel.target().debuggerAgent().invoke_nextWasmDisassemblyChunk({streamId});
|
216
|
-
|
217
|
-
if (result.getError()) {
|
218
|
-
throw new Error(result.getError());
|
219
|
-
}
|
220
|
-
|
221
|
-
const {chunk: {lines: linesChunk, bytecodeOffsets: bytecodeOffsetsChunk}} = result;
|
222
|
-
if (linesChunk.length === 0) {
|
223
|
-
break;
|
224
|
-
}
|
225
|
-
lineChunks.push(linesChunk);
|
226
|
-
bytecodeOffsetChunks.push(bytecodeOffsetsChunk);
|
227
|
-
}
|
228
|
-
}
|
229
|
-
const functionBodyRanges: Array<{start: number, end: number}> = [];
|
230
|
-
// functionBodyOffsets contains a sequence of pairs of start and end offsets
|
231
|
-
for (let i = 0; i < functionBodyOffsets.length; i += 2) {
|
232
|
-
functionBodyRanges.push({start: functionBodyOffsets[i], end: functionBodyOffsets[i + 1]});
|
233
|
-
}
|
234
|
-
const wasmDisassemblyInfo = new Common.WasmDisassembly.WasmDisassembly(
|
235
|
-
lines.concat(...lineChunks), bytecodeOffsets.concat(...bytecodeOffsetChunks), functionBodyRanges);
|
236
|
-
return {content: '', isEncoded: false, wasmDisassemblyInfo};
|
237
|
-
}
|
238
|
-
try {
|
239
|
-
const result = await this.debuggerModel.target().debuggerAgent().invoke_getScriptSource(
|
240
|
-
{scriptId: this.scriptId});
|
241
|
-
if (result.getError()) {
|
242
|
-
throw new Error(result.getError());
|
243
|
-
}
|
244
|
-
const {scriptSource} = result;
|
245
|
-
let content: string = scriptSource || '';
|
246
|
-
if (this.hasSourceURL && this.sourceURL.startsWith('snippet://')) {
|
247
|
-
// TODO(crbug.com/1330846): Find a better way to establish the snippet automapping binding then adding
|
248
|
-
// a sourceURL comment before evaluation and removing it here.
|
249
|
-
content = Script.trimSourceURLComment(content);
|
250
|
-
}
|
251
|
-
return {content, isEncoded: false};
|
252
|
-
|
253
|
-
} catch (err) {
|
254
|
-
// TODO(bmeurer): Propagate errors as exceptions / rejections.
|
255
|
-
return {content: null, error: i18nString(UIStrings.unableToFetchScriptSource), isEncoded: false};
|
256
|
-
}
|
257
|
-
})();
|
258
|
-
}
|
259
|
-
return lazyContentPromise;
|
260
|
-
});
|
261
|
-
}
|
262
|
-
return this.#originalContentProviderInternal;
|
256
|
+
return new TextUtils.StaticContentProvider.StaticContentProvider(
|
257
|
+
this.contentURL(), this.contentType(), () => this.requestContent());
|
263
258
|
}
|
264
259
|
|
265
260
|
async searchInContent(query: string, caseSensitive: boolean, isRegex: boolean):
|
@@ -73,6 +73,9 @@ export class Target extends ProtocolClient.InspectorBackend.TargetBase {
|
|
73
73
|
case Type.Browser:
|
74
74
|
this.#capabilitiesMask = Capability.Target | Capability.IO;
|
75
75
|
break;
|
76
|
+
case Type.Tab:
|
77
|
+
this.#capabilitiesMask = Capability.Target;
|
78
|
+
break;
|
76
79
|
}
|
77
80
|
this.#typeInternal = type;
|
78
81
|
this.#parentTargetInternal = parentTarget;
|
@@ -227,6 +230,7 @@ export enum Type {
|
|
227
230
|
Node = 'node',
|
228
231
|
Browser = 'browser',
|
229
232
|
AuctionWorklet = 'auction-worklet',
|
233
|
+
Tab = 'tab',
|
230
234
|
}
|
231
235
|
|
232
236
|
// TODO(crbug.com/1167717): Make this a const enum again
|
@@ -52,7 +52,10 @@ export class InspectorMainImpl implements Common.Runnable.Runnable {
|
|
52
52
|
async run(): Promise<void> {
|
53
53
|
let firstCall = true;
|
54
54
|
await SDK.Connections.initMainConnection(async () => {
|
55
|
-
const type = Root.Runtime.Runtime.queryParam('v8only') ?
|
55
|
+
const type = Root.Runtime.Runtime.queryParam('v8only') ?
|
56
|
+
SDK.Target.Type.Node :
|
57
|
+
(Root.Runtime.Runtime.queryParam('targetType') === 'tab' ? SDK.Target.Type.Tab : SDK.Target.Type.Frame);
|
58
|
+
// TODO(crbug.com/1348385): support waiting for debugger with tab target.
|
56
59
|
const waitForDebuggerInPage =
|
57
60
|
type === SDK.Target.Type.Frame && Root.Runtime.Runtime.queryParam('panel') === 'sources';
|
58
61
|
const target = SDK.TargetManager.TargetManager.instance().createTarget(
|
@@ -406,6 +406,10 @@ export class MainImpl {
|
|
406
406
|
Root.Runtime.experiments.register(
|
407
407
|
Root.Runtime.ExperimentName.AUTHORED_DEPLOYED_GROUPING, 'Group sources into Authored and Deployed trees');
|
408
408
|
|
409
|
+
// Hide third party code (as determined by ignore lists or source maps)
|
410
|
+
Root.Runtime.experiments.register(
|
411
|
+
Root.Runtime.ExperimentName.JUST_MY_CODE, 'Hide ignore-listed code in sources tree view');
|
412
|
+
|
409
413
|
// Highlight important DOM properties in the Object Properties viewer.
|
410
414
|
Root.Runtime.experiments.register(
|
411
415
|
Root.Runtime.ExperimentName.IMPORTANT_DOM_PROPERTIES,
|
@@ -63,7 +63,7 @@ inspectorBackend.registerEnum("Audits.HeavyAdReason", {NetworkTotalLimit: "Netwo
|
|
63
63
|
inspectorBackend.registerEnum("Audits.ContentSecurityPolicyViolationType", {KInlineViolation: "kInlineViolation", KEvalViolation: "kEvalViolation", KURLViolation: "kURLViolation", KTrustedTypesSinkViolation: "kTrustedTypesSinkViolation", KTrustedTypesPolicyViolation: "kTrustedTypesPolicyViolation", KWasmEvalViolation: "kWasmEvalViolation"});
|
64
64
|
inspectorBackend.registerEnum("Audits.SharedArrayBufferIssueType", {TransferIssue: "TransferIssue", CreationIssue: "CreationIssue"});
|
65
65
|
inspectorBackend.registerEnum("Audits.TwaQualityEnforcementViolationType", {KHttpError: "kHttpError", KUnavailableOffline: "kUnavailableOffline", KDigitalAssetLinks: "kDigitalAssetLinks"});
|
66
|
-
inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {PermissionPolicyDisabled: "PermissionPolicyDisabled", UntrustworthyReportingOrigin: "UntrustworthyReportingOrigin", InsecureContext: "InsecureContext", InvalidHeader: "InvalidHeader", InvalidRegisterTriggerHeader: "InvalidRegisterTriggerHeader", InvalidEligibleHeader: "InvalidEligibleHeader"});
|
66
|
+
inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {PermissionPolicyDisabled: "PermissionPolicyDisabled", UntrustworthyReportingOrigin: "UntrustworthyReportingOrigin", InsecureContext: "InsecureContext", InvalidHeader: "InvalidHeader", InvalidRegisterTriggerHeader: "InvalidRegisterTriggerHeader", InvalidEligibleHeader: "InvalidEligibleHeader", TooManyConcurrentRequests: "TooManyConcurrentRequests"});
|
67
67
|
inspectorBackend.registerEnum("Audits.GenericIssueErrorType", {CrossOriginPortalPostMessageError: "CrossOriginPortalPostMessageError"});
|
68
68
|
inspectorBackend.registerEnum("Audits.DeprecationIssueType", {AuthorizationCoveredByWildcard: "AuthorizationCoveredByWildcard", CanRequestURLHTTPContainingNewline: "CanRequestURLHTTPContainingNewline", ChromeLoadTimesConnectionInfo: "ChromeLoadTimesConnectionInfo", ChromeLoadTimesFirstPaintAfterLoadTime: "ChromeLoadTimesFirstPaintAfterLoadTime", ChromeLoadTimesWasAlternateProtocolAvailable: "ChromeLoadTimesWasAlternateProtocolAvailable", CookieWithTruncatingChar: "CookieWithTruncatingChar", CrossOriginAccessBasedOnDocumentDomain: "CrossOriginAccessBasedOnDocumentDomain", CrossOriginWindowAlert: "CrossOriginWindowAlert", CrossOriginWindowConfirm: "CrossOriginWindowConfirm", CSSSelectorInternalMediaControlsOverlayCastButton: "CSSSelectorInternalMediaControlsOverlayCastButton", DeprecationExample: "DeprecationExample", DocumentDomainSettingWithoutOriginAgentClusterHeader: "DocumentDomainSettingWithoutOriginAgentClusterHeader", EventPath: "EventPath", ExpectCTHeader: "ExpectCTHeader", GeolocationInsecureOrigin: "GeolocationInsecureOrigin", GeolocationInsecureOriginDeprecatedNotRemoved: "GeolocationInsecureOriginDeprecatedNotRemoved", GetUserMediaInsecureOrigin: "GetUserMediaInsecureOrigin", HostCandidateAttributeGetter: "HostCandidateAttributeGetter", IdentityInCanMakePaymentEvent: "IdentityInCanMakePaymentEvent", InsecurePrivateNetworkSubresourceRequest: "InsecurePrivateNetworkSubresourceRequest", LegacyConstraintGoogIPv6: "LegacyConstraintGoogIPv6", LocalCSSFileExtensionRejected: "LocalCSSFileExtensionRejected", MediaSourceAbortRemove: "MediaSourceAbortRemove", MediaSourceDurationTruncatingBuffered: "MediaSourceDurationTruncatingBuffered", NavigateEventRestoreScroll: "NavigateEventRestoreScroll", NavigateEventTransitionWhile: "NavigateEventTransitionWhile", NoSysexWebMIDIWithoutPermission: "NoSysexWebMIDIWithoutPermission", NotificationInsecureOrigin: "NotificationInsecureOrigin", NotificationPermissionRequestedIframe: "NotificationPermissionRequestedIframe", ObsoleteWebRtcCipherSuite: "ObsoleteWebRtcCipherSuite", OpenWebDatabaseInsecureContext: "OpenWebDatabaseInsecureContext", OverflowVisibleOnReplacedElement: "OverflowVisibleOnReplacedElement", PersistentQuotaType: "PersistentQuotaType", PictureSourceSrc: "PictureSourceSrc", PrefixedCancelAnimationFrame: "PrefixedCancelAnimationFrame", PrefixedRequestAnimationFrame: "PrefixedRequestAnimationFrame", PrefixedStorageInfo: "PrefixedStorageInfo", PrefixedVideoDisplayingFullscreen: "PrefixedVideoDisplayingFullscreen", PrefixedVideoEnterFullscreen: "PrefixedVideoEnterFullscreen", PrefixedVideoEnterFullScreen: "PrefixedVideoEnterFullScreen", PrefixedVideoExitFullscreen: "PrefixedVideoExitFullscreen", PrefixedVideoExitFullScreen: "PrefixedVideoExitFullScreen", PrefixedVideoSupportsFullscreen: "PrefixedVideoSupportsFullscreen", RangeExpand: "RangeExpand", RequestedSubresourceWithEmbeddedCredentials: "RequestedSubresourceWithEmbeddedCredentials", RTCConstraintEnableDtlsSrtpFalse: "RTCConstraintEnableDtlsSrtpFalse", RTCConstraintEnableDtlsSrtpTrue: "RTCConstraintEnableDtlsSrtpTrue", RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics: "RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics", RTCPeerConnectionSdpSemanticsPlanB: "RTCPeerConnectionSdpSemanticsPlanB", RtcpMuxPolicyNegotiate: "RtcpMuxPolicyNegotiate", SharedArrayBufferConstructedWithoutIsolation: "SharedArrayBufferConstructedWithoutIsolation", TextToSpeech_DisallowedByAutoplay: "TextToSpeech_DisallowedByAutoplay", V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "V8SharedArrayBufferConstructedInExtensionWithoutIsolation", XHRJSONEncodingDetection: "XHRJSONEncodingDetection", XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: "XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload", XRSupportsSession: "XRSupportsSession"});
|
69
69
|
inspectorBackend.registerEnum("Audits.ClientHintIssueReason", {MetaTagAllowListInvalidOrigin: "MetaTagAllowListInvalidOrigin", MetaTagModifiedHTML: "MetaTagModifiedHTML"});
|
@@ -346,7 +346,7 @@ inspectorBackend.registerCommand("IndexedDB.enable", [], []);
|
|
346
346
|
inspectorBackend.registerCommand("IndexedDB.requestData", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}, {"name": "objectStoreName", "type": "string", "optional": false}, {"name": "indexName", "type": "string", "optional": false}, {"name": "skipCount", "type": "number", "optional": false}, {"name": "pageSize", "type": "number", "optional": false}, {"name": "keyRange", "type": "object", "optional": true}], ["objectStoreDataEntries", "hasMore"]);
|
347
347
|
inspectorBackend.registerCommand("IndexedDB.getMetadata", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}, {"name": "objectStoreName", "type": "string", "optional": false}], ["entriesCount", "keyGeneratorValue"]);
|
348
348
|
inspectorBackend.registerCommand("IndexedDB.requestDatabase", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}], ["databaseWithObjectStores"]);
|
349
|
-
inspectorBackend.registerCommand("IndexedDB.requestDatabaseNames", [{"name": "securityOrigin", "type": "string", "optional":
|
349
|
+
inspectorBackend.registerCommand("IndexedDB.requestDatabaseNames", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}], ["databaseNames"]);
|
350
350
|
|
351
351
|
// Input.
|
352
352
|
inspectorBackend.registerEnum("Input.GestureSourceType", {Default: "default", Touch: "touch", Mouse: "mouse"});
|
@@ -717,8 +717,8 @@ inspectorBackend.registerEnum("Storage.StorageType", {Appcache: "appcache", Cook
|
|
717
717
|
inspectorBackend.registerEnum("Storage.InterestGroupAccessType", {Join: "join", Leave: "leave", Update: "update", Bid: "bid", Win: "win"});
|
718
718
|
inspectorBackend.registerEvent("Storage.cacheStorageContentUpdated", ["origin", "cacheName"]);
|
719
719
|
inspectorBackend.registerEvent("Storage.cacheStorageListUpdated", ["origin"]);
|
720
|
-
inspectorBackend.registerEvent("Storage.indexedDBContentUpdated", ["origin", "databaseName", "objectStoreName"]);
|
721
|
-
inspectorBackend.registerEvent("Storage.indexedDBListUpdated", ["origin"]);
|
720
|
+
inspectorBackend.registerEvent("Storage.indexedDBContentUpdated", ["origin", "storageKey", "databaseName", "objectStoreName"]);
|
721
|
+
inspectorBackend.registerEvent("Storage.indexedDBListUpdated", ["origin", "storageKey"]);
|
722
722
|
inspectorBackend.registerEvent("Storage.interestGroupAccessed", ["accessTime", "type", "ownerOrigin", "name"]);
|
723
723
|
inspectorBackend.registerCommand("Storage.getStorageKeyForFrame", [{"name": "frameId", "type": "string", "optional": false}], ["storageKey"]);
|
724
724
|
inspectorBackend.registerCommand("Storage.clearDataForOrigin", [{"name": "origin", "type": "string", "optional": false}, {"name": "storageTypes", "type": "string", "optional": false}], []);
|
@@ -730,8 +730,10 @@ inspectorBackend.registerCommand("Storage.getUsageAndQuota", [{"name": "origin",
|
|
730
730
|
inspectorBackend.registerCommand("Storage.overrideQuotaForOrigin", [{"name": "origin", "type": "string", "optional": false}, {"name": "quotaSize", "type": "number", "optional": true}], []);
|
731
731
|
inspectorBackend.registerCommand("Storage.trackCacheStorageForOrigin", [{"name": "origin", "type": "string", "optional": false}], []);
|
732
732
|
inspectorBackend.registerCommand("Storage.trackIndexedDBForOrigin", [{"name": "origin", "type": "string", "optional": false}], []);
|
733
|
+
inspectorBackend.registerCommand("Storage.trackIndexedDBForStorageKey", [{"name": "storageKey", "type": "string", "optional": false}], []);
|
733
734
|
inspectorBackend.registerCommand("Storage.untrackCacheStorageForOrigin", [{"name": "origin", "type": "string", "optional": false}], []);
|
734
735
|
inspectorBackend.registerCommand("Storage.untrackIndexedDBForOrigin", [{"name": "origin", "type": "string", "optional": false}], []);
|
736
|
+
inspectorBackend.registerCommand("Storage.untrackIndexedDBForStorageKey", [{"name": "storageKey", "type": "string", "optional": false}], []);
|
735
737
|
inspectorBackend.registerCommand("Storage.getTrustTokens", [], ["tokens"]);
|
736
738
|
inspectorBackend.registerCommand("Storage.clearTrustTokens", [{"name": "issuerOrigin", "type": "string", "optional": false}], ["didDeleteTokens"]);
|
737
739
|
inspectorBackend.registerCommand("Storage.getInterestGroupDetails", [{"name": "ownerOrigin", "type": "string", "optional": false}, {"name": "name", "type": "string", "optional": false}], ["details"]);
|
@@ -762,11 +764,11 @@ inspectorBackend.registerCommand("Target.createTarget", [{"name": "url", "type":
|
|
762
764
|
inspectorBackend.registerCommand("Target.detachFromTarget", [{"name": "sessionId", "type": "string", "optional": true}, {"name": "targetId", "type": "string", "optional": true}], []);
|
763
765
|
inspectorBackend.registerCommand("Target.disposeBrowserContext", [{"name": "browserContextId", "type": "string", "optional": false}], []);
|
764
766
|
inspectorBackend.registerCommand("Target.getTargetInfo", [{"name": "targetId", "type": "string", "optional": true}], ["targetInfo"]);
|
765
|
-
inspectorBackend.registerCommand("Target.getTargets", [], ["targetInfos"]);
|
767
|
+
inspectorBackend.registerCommand("Target.getTargets", [{"name": "filter", "type": "object", "optional": true}], ["targetInfos"]);
|
766
768
|
inspectorBackend.registerCommand("Target.sendMessageToTarget", [{"name": "message", "type": "string", "optional": false}, {"name": "sessionId", "type": "string", "optional": true}, {"name": "targetId", "type": "string", "optional": true}], []);
|
767
|
-
inspectorBackend.registerCommand("Target.setAutoAttach", [{"name": "autoAttach", "type": "boolean", "optional": false}, {"name": "waitForDebuggerOnStart", "type": "boolean", "optional": false}, {"name": "flatten", "type": "boolean", "optional": true}], []);
|
768
|
-
inspectorBackend.registerCommand("Target.autoAttachRelated", [{"name": "targetId", "type": "string", "optional": false}, {"name": "waitForDebuggerOnStart", "type": "boolean", "optional": false}], []);
|
769
|
-
inspectorBackend.registerCommand("Target.setDiscoverTargets", [{"name": "discover", "type": "boolean", "optional": false}], []);
|
769
|
+
inspectorBackend.registerCommand("Target.setAutoAttach", [{"name": "autoAttach", "type": "boolean", "optional": false}, {"name": "waitForDebuggerOnStart", "type": "boolean", "optional": false}, {"name": "flatten", "type": "boolean", "optional": true}, {"name": "filter", "type": "object", "optional": true}], []);
|
770
|
+
inspectorBackend.registerCommand("Target.autoAttachRelated", [{"name": "targetId", "type": "string", "optional": false}, {"name": "waitForDebuggerOnStart", "type": "boolean", "optional": false}, {"name": "filter", "type": "object", "optional": true}], []);
|
771
|
+
inspectorBackend.registerCommand("Target.setDiscoverTargets", [{"name": "discover", "type": "boolean", "optional": false}, {"name": "filter", "type": "object", "optional": true}], []);
|
770
772
|
inspectorBackend.registerCommand("Target.setRemoteLocations", [{"name": "locations", "type": "object", "optional": false}], []);
|
771
773
|
|
772
774
|
// Tethering.
|
@@ -2160,7 +2160,7 @@ export namespace ProtocolMapping {
|
|
2160
2160
|
* Requests database names for given security origin.
|
2161
2161
|
*/
|
2162
2162
|
'IndexedDB.requestDatabaseNames': {
|
2163
|
-
paramsType: [Protocol.IndexedDB.RequestDatabaseNamesRequest];
|
2163
|
+
paramsType: [Protocol.IndexedDB.RequestDatabaseNamesRequest?];
|
2164
2164
|
returnType: Protocol.IndexedDB.RequestDatabaseNamesResponse;
|
2165
2165
|
};
|
2166
2166
|
/**
|
@@ -3472,6 +3472,13 @@ export namespace ProtocolMapping {
|
|
3472
3472
|
paramsType: [Protocol.Storage.TrackIndexedDBForOriginRequest];
|
3473
3473
|
returnType: void;
|
3474
3474
|
};
|
3475
|
+
/**
|
3476
|
+
* Registers storage key to be notified when an update occurs to its IndexedDB.
|
3477
|
+
*/
|
3478
|
+
'Storage.trackIndexedDBForStorageKey': {
|
3479
|
+
paramsType: [Protocol.Storage.TrackIndexedDBForStorageKeyRequest];
|
3480
|
+
returnType: void;
|
3481
|
+
};
|
3475
3482
|
/**
|
3476
3483
|
* Unregisters origin from receiving notifications for cache storage.
|
3477
3484
|
*/
|
@@ -3486,6 +3493,13 @@ export namespace ProtocolMapping {
|
|
3486
3493
|
paramsType: [Protocol.Storage.UntrackIndexedDBForOriginRequest];
|
3487
3494
|
returnType: void;
|
3488
3495
|
};
|
3496
|
+
/**
|
3497
|
+
* Unregisters storage key from receiving notifications for IndexedDB.
|
3498
|
+
*/
|
3499
|
+
'Storage.untrackIndexedDBForStorageKey': {
|
3500
|
+
paramsType: [Protocol.Storage.UntrackIndexedDBForStorageKeyRequest];
|
3501
|
+
returnType: void;
|
3502
|
+
};
|
3489
3503
|
/**
|
3490
3504
|
* Returns the number of stored Trust Tokens per issuer for the
|
3491
3505
|
* current browsing context.
|
@@ -3620,7 +3634,7 @@ export namespace ProtocolMapping {
|
|
3620
3634
|
* Retrieves a list of available targets.
|
3621
3635
|
*/
|
3622
3636
|
'Target.getTargets': {
|
3623
|
-
paramsType: [];
|
3637
|
+
paramsType: [Protocol.Target.GetTargetsRequest?];
|
3624
3638
|
returnType: Protocol.Target.GetTargetsResponse;
|
3625
3639
|
};
|
3626
3640
|
/**
|
@@ -2917,6 +2917,11 @@ declare namespace ProtocolProxyApi {
|
|
2917
2917
|
*/
|
2918
2918
|
invoke_trackIndexedDBForOrigin(params: Protocol.Storage.TrackIndexedDBForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
|
2919
2919
|
|
2920
|
+
/**
|
2921
|
+
* Registers storage key to be notified when an update occurs to its IndexedDB.
|
2922
|
+
*/
|
2923
|
+
invoke_trackIndexedDBForStorageKey(params: Protocol.Storage.TrackIndexedDBForStorageKeyRequest): Promise<Protocol.ProtocolResponseWithError>;
|
2924
|
+
|
2920
2925
|
/**
|
2921
2926
|
* Unregisters origin from receiving notifications for cache storage.
|
2922
2927
|
*/
|
@@ -2927,6 +2932,11 @@ declare namespace ProtocolProxyApi {
|
|
2927
2932
|
*/
|
2928
2933
|
invoke_untrackIndexedDBForOrigin(params: Protocol.Storage.UntrackIndexedDBForOriginRequest): Promise<Protocol.ProtocolResponseWithError>;
|
2929
2934
|
|
2935
|
+
/**
|
2936
|
+
* Unregisters storage key from receiving notifications for IndexedDB.
|
2937
|
+
*/
|
2938
|
+
invoke_untrackIndexedDBForStorageKey(params: Protocol.Storage.UntrackIndexedDBForStorageKeyRequest): Promise<Protocol.ProtocolResponseWithError>;
|
2939
|
+
|
2930
2940
|
/**
|
2931
2941
|
* Returns the number of stored Trust Tokens per issuer for the
|
2932
2942
|
* current browsing context.
|
@@ -3061,7 +3071,7 @@ declare namespace ProtocolProxyApi {
|
|
3061
3071
|
/**
|
3062
3072
|
* Retrieves a list of available targets.
|
3063
3073
|
*/
|
3064
|
-
invoke_getTargets(): Promise<Protocol.Target.GetTargetsResponse>;
|
3074
|
+
invoke_getTargets(params: Protocol.Target.GetTargetsRequest): Promise<Protocol.Target.GetTargetsResponse>;
|
3065
3075
|
|
3066
3076
|
/**
|
3067
3077
|
* Sends protocol message over session with given id.
|
@@ -968,6 +968,7 @@ export namespace Audits {
|
|
968
968
|
InvalidHeader = 'InvalidHeader',
|
969
969
|
InvalidRegisterTriggerHeader = 'InvalidRegisterTriggerHeader',
|
970
970
|
InvalidEligibleHeader = 'InvalidEligibleHeader',
|
971
|
+
TooManyConcurrentRequests = 'TooManyConcurrentRequests',
|
971
972
|
}
|
972
973
|
|
973
974
|
/**
|
@@ -6017,9 +6018,14 @@ export namespace IndexedDB {
|
|
6017
6018
|
|
6018
6019
|
export interface RequestDatabaseNamesRequest {
|
6019
6020
|
/**
|
6021
|
+
* At least and at most one of securityOrigin, storageKey must be specified.
|
6020
6022
|
* Security origin.
|
6021
6023
|
*/
|
6022
|
-
securityOrigin
|
6024
|
+
securityOrigin?: string;
|
6025
|
+
/**
|
6026
|
+
* Storage key.
|
6027
|
+
*/
|
6028
|
+
storageKey?: string;
|
6023
6029
|
}
|
6024
6030
|
|
6025
6031
|
export interface RequestDatabaseNamesResponse extends ProtocolResponseWithError {
|
@@ -13035,6 +13041,13 @@ export namespace Storage {
|
|
13035
13041
|
origin: string;
|
13036
13042
|
}
|
13037
13043
|
|
13044
|
+
export interface TrackIndexedDBForStorageKeyRequest {
|
13045
|
+
/**
|
13046
|
+
* Storage key.
|
13047
|
+
*/
|
13048
|
+
storageKey: string;
|
13049
|
+
}
|
13050
|
+
|
13038
13051
|
export interface UntrackCacheStorageForOriginRequest {
|
13039
13052
|
/**
|
13040
13053
|
* Security origin.
|
@@ -13049,6 +13062,13 @@ export namespace Storage {
|
|
13049
13062
|
origin: string;
|
13050
13063
|
}
|
13051
13064
|
|
13065
|
+
export interface UntrackIndexedDBForStorageKeyRequest {
|
13066
|
+
/**
|
13067
|
+
* Storage key.
|
13068
|
+
*/
|
13069
|
+
storageKey: string;
|
13070
|
+
}
|
13071
|
+
|
13052
13072
|
export interface GetTrustTokensResponse extends ProtocolResponseWithError {
|
13053
13073
|
tokens: TrustTokens[];
|
13054
13074
|
}
|
@@ -13109,6 +13129,10 @@ export namespace Storage {
|
|
13109
13129
|
* Origin to update.
|
13110
13130
|
*/
|
13111
13131
|
origin: string;
|
13132
|
+
/**
|
13133
|
+
* Storage key to update.
|
13134
|
+
*/
|
13135
|
+
storageKey: string;
|
13112
13136
|
/**
|
13113
13137
|
* Database to update.
|
13114
13138
|
*/
|
@@ -13127,6 +13151,10 @@ export namespace Storage {
|
|
13127
13151
|
* Origin to update.
|
13128
13152
|
*/
|
13129
13153
|
origin: string;
|
13154
|
+
/**
|
13155
|
+
* Storage key to update.
|
13156
|
+
*/
|
13157
|
+
storageKey: string;
|
13130
13158
|
}
|
13131
13159
|
|
13132
13160
|
/**
|
@@ -13398,6 +13426,30 @@ export namespace Target {
|
|
13398
13426
|
browserContextId?: Browser.BrowserContextID;
|
13399
13427
|
}
|
13400
13428
|
|
13429
|
+
/**
|
13430
|
+
* A filter used by target query/discovery/auto-attach operations.
|
13431
|
+
*/
|
13432
|
+
export interface FilterEntry {
|
13433
|
+
/**
|
13434
|
+
* If set, causes exclusion of mathcing targets from the list.
|
13435
|
+
*/
|
13436
|
+
exclude?: boolean;
|
13437
|
+
/**
|
13438
|
+
* If not present, matches any type.
|
13439
|
+
*/
|
13440
|
+
type?: string;
|
13441
|
+
}
|
13442
|
+
|
13443
|
+
/**
|
13444
|
+
* The entries in TargetFilter are matched sequentially against targets and
|
13445
|
+
* the first entry that matches determines if the target is included or not,
|
13446
|
+
* depending on the value of `exclude` field in the entry.
|
13447
|
+
* If filter is not specified, the one assumed is
|
13448
|
+
* [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
|
13449
|
+
* (i.e. include everything but `browser` and `tab`).
|
13450
|
+
*/
|
13451
|
+
export type TargetFilter = FilterEntry[];
|
13452
|
+
|
13401
13453
|
export interface RemoteLocation {
|
13402
13454
|
host: string;
|
13403
13455
|
port: integer;
|
@@ -13547,6 +13599,15 @@ export namespace Target {
|
|
13547
13599
|
targetInfo: TargetInfo;
|
13548
13600
|
}
|
13549
13601
|
|
13602
|
+
export interface GetTargetsRequest {
|
13603
|
+
/**
|
13604
|
+
* Only targets matching filter will be reported. If filter is not specified
|
13605
|
+
* and target discovery is currently enabled, a filter used for target discovery
|
13606
|
+
* is used for consistency.
|
13607
|
+
*/
|
13608
|
+
filter?: TargetFilter;
|
13609
|
+
}
|
13610
|
+
|
13550
13611
|
export interface GetTargetsResponse extends ProtocolResponseWithError {
|
13551
13612
|
/**
|
13552
13613
|
* The list of targets.
|
@@ -13582,6 +13643,10 @@ export namespace Target {
|
|
13582
13643
|
* and eventually retire it. See crbug.com/991325.
|
13583
13644
|
*/
|
13584
13645
|
flatten?: boolean;
|
13646
|
+
/**
|
13647
|
+
* Only targets matching filter will be attached.
|
13648
|
+
*/
|
13649
|
+
filter?: TargetFilter;
|
13585
13650
|
}
|
13586
13651
|
|
13587
13652
|
export interface AutoAttachRelatedRequest {
|
@@ -13591,6 +13656,10 @@ export namespace Target {
|
|
13591
13656
|
* to run paused targets.
|
13592
13657
|
*/
|
13593
13658
|
waitForDebuggerOnStart: boolean;
|
13659
|
+
/**
|
13660
|
+
* Only targets matching filter will be attached.
|
13661
|
+
*/
|
13662
|
+
filter?: TargetFilter;
|
13594
13663
|
}
|
13595
13664
|
|
13596
13665
|
export interface SetDiscoverTargetsRequest {
|
@@ -13598,6 +13667,11 @@ export namespace Target {
|
|
13598
13667
|
* Whether to discover available targets.
|
13599
13668
|
*/
|
13600
13669
|
discover: boolean;
|
13670
|
+
/**
|
13671
|
+
* Only targets matching filter will be attached. If `discover` is false,
|
13672
|
+
* `filter` must be omitted or empty.
|
13673
|
+
*/
|
13674
|
+
filter?: TargetFilter;
|
13601
13675
|
}
|
13602
13676
|
|
13603
13677
|
export interface SetRemoteLocationsRequest {
|
@@ -345,11 +345,14 @@ class Binding {
|
|
345
345
|
this.uiSourceCode = null;
|
346
346
|
}
|
347
347
|
|
348
|
-
private recreateUISourceCodeIfNeeded(frameId: Protocol.Page.FrameId): void {
|
348
|
+
private recreateUISourceCodeIfNeeded(frameId: Protocol.Page.FrameId, isKnownThirdParty: boolean): void {
|
349
349
|
const sourceMap = this.referringSourceMaps[this.referringSourceMaps.length - 1];
|
350
350
|
|
351
351
|
const newUISourceCode =
|
352
352
|
this.#project.createUISourceCode(this.#url, Common.ResourceType.resourceTypes.SourceMapScript);
|
353
|
+
if (isKnownThirdParty) {
|
354
|
+
newUISourceCode.markKnownThirdParty();
|
355
|
+
}
|
353
356
|
uiSourceCodeToBinding.set(newUISourceCode, this);
|
354
357
|
const contentProvider =
|
355
358
|
sourceMap.sourceContentProvider(this.#url, Common.ResourceType.resourceTypes.SourceMapScript);
|
@@ -374,7 +377,7 @@ class Binding {
|
|
374
377
|
NetworkProject.addFrameAttribution(this.uiSourceCode, frameId);
|
375
378
|
}
|
376
379
|
this.referringSourceMaps.push(sourceMap);
|
377
|
-
this.recreateUISourceCodeIfNeeded(frameId);
|
380
|
+
this.recreateUISourceCodeIfNeeded(frameId, sourceMap.hasIgnoreListHint(this.#url));
|
378
381
|
}
|
379
382
|
|
380
383
|
removeSourceMap(sourceMap: SDK.SourceMap.SourceMap, frameId: Protocol.Page.FrameId): void {
|
@@ -388,7 +391,7 @@ class Binding {
|
|
388
391
|
this.#project.removeFile(uiSourceCode.url());
|
389
392
|
this.uiSourceCode = null;
|
390
393
|
} else {
|
391
|
-
this.recreateUISourceCodeIfNeeded(frameId);
|
394
|
+
this.recreateUISourceCodeIfNeeded(frameId, sourceMap.hasIgnoreListHint(this.#url));
|
392
395
|
}
|
393
396
|
}
|
394
397
|
|
@@ -66,13 +66,12 @@ export class ContentProviderBasedProject extends Workspace.Workspace.ProjectStor
|
|
66
66
|
const contentProvider =
|
67
67
|
(this.#contentProviders.get(uiSourceCode.url()) as TextUtils.ContentProvider.ContentProvider);
|
68
68
|
try {
|
69
|
-
const
|
70
|
-
await Promise.all([contentProvider.requestContent(), contentProvider.contentEncoded()]);
|
69
|
+
const content = await contentProvider.requestContent();
|
71
70
|
const wasmDisassemblyInfo = 'wasmDisassemblyInfo' in content ? content.wasmDisassemblyInfo : undefined;
|
72
71
|
return {
|
73
72
|
content: content.content,
|
74
73
|
wasmDisassemblyInfo,
|
75
|
-
isEncoded,
|
74
|
+
isEncoded: content.isEncoded,
|
76
75
|
error: 'error' in content && content.error || '',
|
77
76
|
};
|
78
77
|
} catch (err) {
|
@@ -512,10 +512,7 @@ export class Location extends LiveLocationWithPool {
|
|
512
512
|
if (!uiLocation) {
|
513
513
|
return false;
|
514
514
|
}
|
515
|
-
|
516
|
-
const script = this.rawLocation.script();
|
517
|
-
const map = script ? await manager.sourceMapForClientPromise(script) : null;
|
518
|
-
return IgnoreListManager.instance().isUserOrSourceMapIgnoreListedUISourceCode(uiLocation.uiSourceCode, map);
|
515
|
+
return IgnoreListManager.instance().isUserOrSourceMapIgnoreListedUISourceCode(uiLocation.uiSourceCode);
|
519
516
|
}
|
520
517
|
}
|
521
518
|
|