chrome-devtools-frontend 1.0.1031400 → 1.0.1032322
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 +20 -5
- package/front_end/core/i18n/locales/en-XL.json +20 -5
- 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/root/Runtime.ts +1 -0
- 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/elements/AccessibilityTreeView.ts +8 -2
- package/front_end/panels/elements/CSSRuleValidator.ts +12 -13
- 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/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/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/legacy/Icon.ts +1 -1
- 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
@@ -52,8 +52,8 @@ inspectorBackend.registerCommand("Animation.setPlaybackRate", [{"name": "playbac
|
|
52
52
|
inspectorBackend.registerCommand("Animation.setTiming", [{"name": "animationId", "type": "string", "optional": false}, {"name": "duration", "type": "number", "optional": false}, {"name": "delay", "type": "number", "optional": false}], []);
|
53
53
|
|
54
54
|
// Audits.
|
55
|
-
inspectorBackend.registerEnum("Audits.CookieExclusionReason", {ExcludeSameSiteUnspecifiedTreatedAsLax: "ExcludeSameSiteUnspecifiedTreatedAsLax", ExcludeSameSiteNoneInsecure: "ExcludeSameSiteNoneInsecure", ExcludeSameSiteLax: "ExcludeSameSiteLax", ExcludeSameSiteStrict: "ExcludeSameSiteStrict", ExcludeInvalidSameParty: "ExcludeInvalidSameParty", ExcludeSamePartyCrossPartyContext: "ExcludeSamePartyCrossPartyContext"});
|
56
|
-
inspectorBackend.registerEnum("Audits.CookieWarningReason", {WarnSameSiteUnspecifiedCrossSiteContext: "WarnSameSiteUnspecifiedCrossSiteContext", WarnSameSiteNoneInsecure: "WarnSameSiteNoneInsecure", WarnSameSiteUnspecifiedLaxAllowUnsafe: "WarnSameSiteUnspecifiedLaxAllowUnsafe", WarnSameSiteStrictLaxDowngradeStrict: "WarnSameSiteStrictLaxDowngradeStrict", WarnSameSiteStrictCrossDowngradeStrict: "WarnSameSiteStrictCrossDowngradeStrict", WarnSameSiteStrictCrossDowngradeLax: "WarnSameSiteStrictCrossDowngradeLax", WarnSameSiteLaxCrossDowngradeStrict: "WarnSameSiteLaxCrossDowngradeStrict", WarnSameSiteLaxCrossDowngradeLax: "WarnSameSiteLaxCrossDowngradeLax", WarnAttributeValueExceedsMaxSize: "WarnAttributeValueExceedsMaxSize"});
|
55
|
+
inspectorBackend.registerEnum("Audits.CookieExclusionReason", {ExcludeSameSiteUnspecifiedTreatedAsLax: "ExcludeSameSiteUnspecifiedTreatedAsLax", ExcludeSameSiteNoneInsecure: "ExcludeSameSiteNoneInsecure", ExcludeSameSiteLax: "ExcludeSameSiteLax", ExcludeSameSiteStrict: "ExcludeSameSiteStrict", ExcludeInvalidSameParty: "ExcludeInvalidSameParty", ExcludeSamePartyCrossPartyContext: "ExcludeSamePartyCrossPartyContext", ExcludeDomainNonASCII: "ExcludeDomainNonASCII"});
|
56
|
+
inspectorBackend.registerEnum("Audits.CookieWarningReason", {WarnSameSiteUnspecifiedCrossSiteContext: "WarnSameSiteUnspecifiedCrossSiteContext", WarnSameSiteNoneInsecure: "WarnSameSiteNoneInsecure", WarnSameSiteUnspecifiedLaxAllowUnsafe: "WarnSameSiteUnspecifiedLaxAllowUnsafe", WarnSameSiteStrictLaxDowngradeStrict: "WarnSameSiteStrictLaxDowngradeStrict", WarnSameSiteStrictCrossDowngradeStrict: "WarnSameSiteStrictCrossDowngradeStrict", WarnSameSiteStrictCrossDowngradeLax: "WarnSameSiteStrictCrossDowngradeLax", WarnSameSiteLaxCrossDowngradeStrict: "WarnSameSiteLaxCrossDowngradeStrict", WarnSameSiteLaxCrossDowngradeLax: "WarnSameSiteLaxCrossDowngradeLax", WarnAttributeValueExceedsMaxSize: "WarnAttributeValueExceedsMaxSize", WarnDomainNonASCII: "WarnDomainNonASCII"});
|
57
57
|
inspectorBackend.registerEnum("Audits.CookieOperation", {SetCookie: "SetCookie", ReadCookie: "ReadCookie"});
|
58
58
|
inspectorBackend.registerEnum("Audits.MixedContentResolutionStatus", {MixedContentBlocked: "MixedContentBlocked", MixedContentAutomaticallyUpgraded: "MixedContentAutomaticallyUpgraded", MixedContentWarning: "MixedContentWarning"});
|
59
59
|
inspectorBackend.registerEnum("Audits.MixedContentResourceType", {AttributionSrc: "AttributionSrc", Audio: "Audio", Beacon: "Beacon", CSPReport: "CSPReport", Download: "Download", EventSource: "EventSource", Favicon: "Favicon", Font: "Font", Form: "Form", Frame: "Frame", Image: "Image", Import: "Import", Manifest: "Manifest", Ping: "Ping", PluginData: "PluginData", PluginResource: "PluginResource", Prefetch: "Prefetch", Resource: "Resource", Script: "Script", ServiceWorker: "ServiceWorker", SharedWorker: "SharedWorker", Stylesheet: "Stylesheet", Track: "Track", Video: "Video", Worker: "Worker", XMLHttpRequest: "XMLHttpRequest", XSLT: "XSLT"});
|
@@ -67,7 +67,7 @@ inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {Permissio
|
|
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"});
|
70
|
-
inspectorBackend.registerEnum("Audits.FederatedAuthRequestIssueReason", {ApprovalDeclined: "ApprovalDeclined", TooManyRequests: "TooManyRequests", ManifestListHttpNotFound: "ManifestListHttpNotFound", ManifestListNoResponse: "ManifestListNoResponse", ManifestListInvalidResponse: "ManifestListInvalidResponse", ManifestNotInManifestList: "ManifestNotInManifestList", ManifestListTooBig: "ManifestListTooBig", ManifestHttpNotFound: "ManifestHttpNotFound", ManifestNoResponse: "ManifestNoResponse", ManifestInvalidResponse: "ManifestInvalidResponse", ClientMetadataHttpNotFound: "ClientMetadataHttpNotFound", ClientMetadataNoResponse: "ClientMetadataNoResponse", ClientMetadataInvalidResponse: "ClientMetadataInvalidResponse",
|
70
|
+
inspectorBackend.registerEnum("Audits.FederatedAuthRequestIssueReason", {ApprovalDeclined: "ApprovalDeclined", TooManyRequests: "TooManyRequests", ManifestListHttpNotFound: "ManifestListHttpNotFound", ManifestListNoResponse: "ManifestListNoResponse", ManifestListInvalidResponse: "ManifestListInvalidResponse", ManifestNotInManifestList: "ManifestNotInManifestList", ManifestListTooBig: "ManifestListTooBig", ManifestHttpNotFound: "ManifestHttpNotFound", ManifestNoResponse: "ManifestNoResponse", ManifestInvalidResponse: "ManifestInvalidResponse", ClientMetadataHttpNotFound: "ClientMetadataHttpNotFound", ClientMetadataNoResponse: "ClientMetadataNoResponse", ClientMetadataInvalidResponse: "ClientMetadataInvalidResponse", DisabledInSettings: "DisabledInSettings", ErrorFetchingSignin: "ErrorFetchingSignin", InvalidSigninResponse: "InvalidSigninResponse", AccountsHttpNotFound: "AccountsHttpNotFound", AccountsNoResponse: "AccountsNoResponse", AccountsInvalidResponse: "AccountsInvalidResponse", IdTokenHttpNotFound: "IdTokenHttpNotFound", IdTokenNoResponse: "IdTokenNoResponse", IdTokenInvalidResponse: "IdTokenInvalidResponse", IdTokenInvalidRequest: "IdTokenInvalidRequest", ErrorIdToken: "ErrorIdToken", Canceled: "Canceled"});
|
71
71
|
inspectorBackend.registerEnum("Audits.InspectorIssueCode", {CookieIssue: "CookieIssue", MixedContentIssue: "MixedContentIssue", BlockedByResponseIssue: "BlockedByResponseIssue", HeavyAdIssue: "HeavyAdIssue", ContentSecurityPolicyIssue: "ContentSecurityPolicyIssue", SharedArrayBufferIssue: "SharedArrayBufferIssue", TrustedWebActivityIssue: "TrustedWebActivityIssue", LowTextContrastIssue: "LowTextContrastIssue", CorsIssue: "CorsIssue", AttributionReportingIssue: "AttributionReportingIssue", QuirksModeIssue: "QuirksModeIssue", NavigatorUserAgentIssue: "NavigatorUserAgentIssue", GenericIssue: "GenericIssue", DeprecationIssue: "DeprecationIssue", ClientHintIssue: "ClientHintIssue", FederatedAuthRequestIssue: "FederatedAuthRequestIssue"});
|
72
72
|
inspectorBackend.registerEvent("Audits.issueAdded", ["issue"]);
|
73
73
|
inspectorBackend.registerEnum("Audits.GetEncodedResponseRequestEncoding", {Webp: "webp", Jpeg: "jpeg", Png: "png"});
|
@@ -1290,8 +1290,7 @@ export const generatedProperties = [
|
|
1290
1290
|
"keywords": [
|
1291
1291
|
"normal",
|
1292
1292
|
"inline-size",
|
1293
|
-
"size"
|
1294
|
-
"style"
|
1293
|
+
"size"
|
1295
1294
|
],
|
1296
1295
|
"name": "container-type"
|
1297
1296
|
},
|
@@ -4073,8 +4072,7 @@ export const generatedPropertyValues = {
|
|
4073
4072
|
"values": [
|
4074
4073
|
"normal",
|
4075
4074
|
"inline-size",
|
4076
|
-
"size"
|
4077
|
-
"style"
|
4075
|
+
"size"
|
4078
4076
|
]
|
4079
4077
|
},
|
4080
4078
|
"content-visibility": {
|
@@ -703,6 +703,7 @@ export namespace Audits {
|
|
703
703
|
ExcludeSameSiteStrict = 'ExcludeSameSiteStrict',
|
704
704
|
ExcludeInvalidSameParty = 'ExcludeInvalidSameParty',
|
705
705
|
ExcludeSamePartyCrossPartyContext = 'ExcludeSamePartyCrossPartyContext',
|
706
|
+
ExcludeDomainNonASCII = 'ExcludeDomainNonASCII',
|
706
707
|
}
|
707
708
|
|
708
709
|
export const enum CookieWarningReason {
|
@@ -715,6 +716,7 @@ export namespace Audits {
|
|
715
716
|
WarnSameSiteLaxCrossDowngradeStrict = 'WarnSameSiteLaxCrossDowngradeStrict',
|
716
717
|
WarnSameSiteLaxCrossDowngradeLax = 'WarnSameSiteLaxCrossDowngradeLax',
|
717
718
|
WarnAttributeValueExceedsMaxSize = 'WarnAttributeValueExceedsMaxSize',
|
719
|
+
WarnDomainNonASCII = 'WarnDomainNonASCII',
|
718
720
|
}
|
719
721
|
|
720
722
|
export const enum CookieOperation {
|
@@ -1116,7 +1118,6 @@ export namespace Audits {
|
|
1116
1118
|
ClientMetadataHttpNotFound = 'ClientMetadataHttpNotFound',
|
1117
1119
|
ClientMetadataNoResponse = 'ClientMetadataNoResponse',
|
1118
1120
|
ClientMetadataInvalidResponse = 'ClientMetadataInvalidResponse',
|
1119
|
-
ClientMetadataMissingPrivacyPolicyUrl = 'ClientMetadataMissingPrivacyPolicyUrl',
|
1120
1121
|
DisabledInSettings = 'DisabledInSettings',
|
1121
1122
|
ErrorFetchingSignin = 'ErrorFetchingSignin',
|
1122
1123
|
InvalidSigninResponse = 'InvalidSigninResponse',
|
@@ -287,7 +287,9 @@ const UIStrings = {
|
|
287
287
|
v8SharedArrayBufferConstructedInExtensionWithoutIsolation:
|
288
288
|
'Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.',
|
289
289
|
/**
|
290
|
-
* @description
|
290
|
+
* @description Warning displayed to developers that they are using
|
291
|
+
* `XMLHttpRequest` API in a way that they expect an unsupported character
|
292
|
+
* encoding `UTF-16` could be used in the server reply.
|
291
293
|
*/
|
292
294
|
xhrJSONEncodingDetection: 'UTF-16 is not supported by response json in `XMLHttpRequest`',
|
293
295
|
/**
|
@@ -434,6 +436,15 @@ export class DeprecationIssue extends Issue {
|
|
434
436
|
messageFunction = i18nLazyString(UIStrings.mediaSourceDurationTruncatingBuffered);
|
435
437
|
feature = 6107495151960064;
|
436
438
|
break;
|
439
|
+
case Protocol.Audits.DeprecationIssueType.NavigateEventRestoreScroll:
|
440
|
+
messageFunction = i18nLazyString(
|
441
|
+
UIStrings.deprecatedWithReplacement, {PH1: 'navigateEvent.restoreScroll()', PH2: 'navigateEvent.scroll()'});
|
442
|
+
break;
|
443
|
+
case Protocol.Audits.DeprecationIssueType.NavigateEventTransitionWhile:
|
444
|
+
messageFunction = i18nLazyString(
|
445
|
+
UIStrings.deprecatedWithReplacement,
|
446
|
+
{PH1: 'navigateEvent.transitionWhile()', PH2: 'navigateEvent.intercept()'});
|
447
|
+
break;
|
437
448
|
case Protocol.Audits.DeprecationIssueType.NoSysexWebMIDIWithoutPermission:
|
438
449
|
messageFunction = i18nLazyString(UIStrings.noSysexWebMIDIWithoutPermission);
|
439
450
|
feature = 5138066234671104;
|
@@ -34,8 +34,7 @@ type Tokenizer = (line: string, callback: (value: string, style: string|null) =>
|
|
34
34
|
export function createCssTokenizer(): Tokenizer {
|
35
35
|
async function tokenize(line: string, callback: (value: string, style: string|null) => void): Promise<void> {
|
36
36
|
const streamParser = await CodeMirror.cssStreamParser();
|
37
|
-
const stream = new CodeMirror.StringStream();
|
38
|
-
stream.string = line;
|
37
|
+
const stream = new CodeMirror.StringStream(line, 4, 2);
|
39
38
|
|
40
39
|
const state = streamParser.startState();
|
41
40
|
let lastPos = stream.pos;
|
@@ -47,6 +47,10 @@ const UIStrings = {
|
|
47
47
|
*/
|
48
48
|
threadS: 'Thread {PH1}',
|
49
49
|
/**
|
50
|
+
*@description Text shown when rendering the User Interactions track in the Performance panel
|
51
|
+
*/
|
52
|
+
userInteractions: 'User Interactions',
|
53
|
+
/**
|
50
54
|
*@description Title of a worker in the timeline flame chart of the Performance panel
|
51
55
|
*@example {https://google.com} PH1
|
52
56
|
*/
|
@@ -244,6 +248,29 @@ export class TimelineModelImpl {
|
|
244
248
|
isUserTimingEvent(event: SDK.TracingModel.Event): boolean {
|
245
249
|
return event.categoriesString === TimelineModelImpl.Category.UserTiming;
|
246
250
|
}
|
251
|
+
|
252
|
+
isEventTimingInteractionEvent(event: SDK.TracingModel.Event): boolean {
|
253
|
+
if (event.name !== RecordType.EventTiming) {
|
254
|
+
return false;
|
255
|
+
}
|
256
|
+
type InteractionEventData = {
|
257
|
+
duration?: number, interactionId: number,
|
258
|
+
};
|
259
|
+
const data = event.args.data as InteractionEventData;
|
260
|
+
// Filter out:
|
261
|
+
// 1. events without a duration, or a duration of 0
|
262
|
+
// 2. events without an interactionId, or with an interactionId of 0,
|
263
|
+
// which indicates that it's not a "top level" interaction event and
|
264
|
+
// we can therefore ignore it. This can happen with "mousedown" for
|
265
|
+
// example; an interaction ID is assigned to the "pointerdown" event
|
266
|
+
// as it's the "first" event to be triggered when the user clicks,
|
267
|
+
// but the browser doesn't attempt to assign IDs to all subsequent
|
268
|
+
// events, as that's a hard heuristic to get right.
|
269
|
+
const duration = data.duration || 0;
|
270
|
+
const interactionId = data.interactionId || 0;
|
271
|
+
return (duration > 0 && interactionId > 0);
|
272
|
+
}
|
273
|
+
|
247
274
|
isParseHTMLEvent(event: SDK.TracingModel.Event): boolean {
|
248
275
|
return event.name === RecordType.ParseHTML;
|
249
276
|
}
|
@@ -362,9 +389,32 @@ export class TimelineModelImpl {
|
|
362
389
|
this.processAsyncBrowserEvents(tracingModel);
|
363
390
|
this.buildGPUEvents(tracingModel);
|
364
391
|
this.buildLoadingEvents(tracingModel, layoutShiftEvents);
|
392
|
+
this.collectInteractionEvents(tracingModel);
|
365
393
|
this.resetProcessingState();
|
366
394
|
}
|
367
395
|
|
396
|
+
private collectInteractionEvents(tracingModel: SDK.TracingModel.TracingModel): void {
|
397
|
+
const mainRendererThread = tracingModel.getThreadByName('Renderer', 'CrRendererMain');
|
398
|
+
if (!mainRendererThread) {
|
399
|
+
return;
|
400
|
+
}
|
401
|
+
|
402
|
+
const interactionEvents: SDK.TracingModel.AsyncEvent[] = [];
|
403
|
+
|
404
|
+
const track = this.ensureNamedTrack(TrackType.UserInteractions);
|
405
|
+
track.thread = mainRendererThread;
|
406
|
+
track.name = UIStrings.userInteractions;
|
407
|
+
track.forMainFrame = true;
|
408
|
+
|
409
|
+
for (const event of mainRendererThread.asyncEvents()) {
|
410
|
+
if (!this.isEventTimingInteractionEvent(event)) {
|
411
|
+
continue;
|
412
|
+
}
|
413
|
+
interactionEvents.push(event);
|
414
|
+
}
|
415
|
+
track.asyncEvents = interactionEvents;
|
416
|
+
}
|
417
|
+
|
368
418
|
private processGenericTrace(tracingModel: SDK.TracingModel.TracingModel): void {
|
369
419
|
let browserMainThread = SDK.TracingModel.TracingModel.browserMainThread(tracingModel);
|
370
420
|
if (!browserMainThread && tracingModel.sortedProcesses().length) {
|
@@ -1610,6 +1660,7 @@ export enum RecordType {
|
|
1610
1660
|
TimeStamp = 'TimeStamp',
|
1611
1661
|
ConsoleTime = 'ConsoleTime',
|
1612
1662
|
UserTiming = 'UserTiming',
|
1663
|
+
EventTiming = 'EventTiming',
|
1613
1664
|
|
1614
1665
|
ResourceWillSendRequest = 'ResourceWillSendRequest',
|
1615
1666
|
ResourceSendRequest = 'ResourceSendRequest',
|
@@ -1822,6 +1873,7 @@ export enum TrackType {
|
|
1822
1873
|
GPU = 'GPU',
|
1823
1874
|
Experience = 'Experience',
|
1824
1875
|
Other = 'Other',
|
1876
|
+
UserInteractions = 'UserInteractions',
|
1825
1877
|
}
|
1826
1878
|
|
1827
1879
|
const enum WorkletType {
|
@@ -7,6 +7,7 @@ import * as SDK from '../../core/sdk/sdk.js';
|
|
7
7
|
import * as TreeOutline from '../../ui/components/tree_outline/tree_outline.js';
|
8
8
|
import * as UI from '../../ui/legacy/legacy.js';
|
9
9
|
import * as AccessibilityTreeUtils from './AccessibilityTreeUtils.js';
|
10
|
+
import accessibilityTreeViewStyles from './accessibilityTreeView.css.js';
|
10
11
|
import {ElementsPanel} from './ElementsPanel.js';
|
11
12
|
|
12
13
|
export class AccessibilityTreeView extends UI.Widget.VBox implements
|
@@ -21,8 +22,12 @@ export class AccessibilityTreeView extends UI.Widget.VBox implements
|
|
21
22
|
// toggleButton is bound to a click handler on ElementsPanel to switch between the DOM tree
|
22
23
|
// and accessibility tree views.
|
23
24
|
this.toggleButton = toggleButton;
|
24
|
-
|
25
|
-
this.contentElement.
|
25
|
+
|
26
|
+
const container = this.contentElement.createChild('div');
|
27
|
+
|
28
|
+
container.classList.add('accessibility-tree-view-container');
|
29
|
+
container.appendChild(this.toggleButton);
|
30
|
+
container.appendChild(this.accessibilityTreeComponent);
|
26
31
|
|
27
32
|
SDK.TargetManager.TargetManager.instance().observeModels(SDK.AccessibilityModel.AccessibilityModel, this);
|
28
33
|
|
@@ -61,6 +66,7 @@ export class AccessibilityTreeView extends UI.Widget.VBox implements
|
|
61
66
|
if (this.inspectedDOMNode) {
|
62
67
|
await this.loadSubTreeIntoAccessibilityModel(this.inspectedDOMNode);
|
63
68
|
}
|
69
|
+
this.registerCSSFiles([accessibilityTreeViewStyles]);
|
64
70
|
}
|
65
71
|
|
66
72
|
async refreshAccessibilityTree(): Promise<void> {
|
@@ -14,47 +14,46 @@ import {
|
|
14
14
|
|
15
15
|
const UIStrings = {
|
16
16
|
/**
|
17
|
-
*@description The type of the CSS rule validation message
|
17
|
+
*@description The type of the CSS rule validation message shown in the Style pane. "Deprecated property" means that a property in the declaration is deprecated and should not be used.
|
18
18
|
*/
|
19
19
|
deprecatedPropertyHintPrefix: 'Deprecated property',
|
20
20
|
/**
|
21
|
-
*@description The type of the CSS rule validation message
|
21
|
+
*@description The type of the CSS rule validation message shown in the Style pane. "Inactive property" means that a property declaration was valid syntactially but didn't have expected effect.
|
22
22
|
*/
|
23
23
|
inactivePropertyHintPrefix: 'Inactive property',
|
24
24
|
/**
|
25
|
-
*@description The message
|
25
|
+
*@description The message shown in the Style pane when the user hovers over a property that has no effect due to some other property.
|
26
26
|
*@example {flex-wrap: nowrap} REASON_PROPERTY_DECLARATION_CODE
|
27
27
|
*@example {align-content} AFFECTED_PROPERTY_DECLARATION_CODE
|
28
28
|
*/
|
29
29
|
ruleViolatedBySameElementRuleReason:
|
30
|
-
'
|
30
|
+
'The {REASON_PROPERTY_DECLARATION_CODE} property on the same element bypasses the effect of {AFFECTED_PROPERTY_DECLARATION_CODE}.',
|
31
31
|
/**
|
32
|
-
*@description The message
|
32
|
+
*@description The message shown in the Style pane when the user hovers over a property declaration that has no effect due to some other property.
|
33
33
|
*@example {flex-wrap: nowrap} REASON_PROPERTY_DECLARATION_CODE
|
34
34
|
*/
|
35
|
-
ruleViolatedBySameElementRuleFix:
|
36
|
-
'For this property to work, please remove or change the value of {REASON_PROPERTY_DECLARATION_CODE}.',
|
35
|
+
ruleViolatedBySameElementRuleFix: 'Try removing {REASON_PROPERTY_DECLARATION_CODE} or changing its value.',
|
37
36
|
/**
|
38
|
-
*@description The message
|
37
|
+
*@description The message shown in the Style pane when the user hovers over a property declaration that has no effect due to the current property value.
|
39
38
|
*@example {display: block} EXISTING_PROPERTY_DECLARATION
|
40
39
|
*@example {display: flex} TARGET_PROPERTY_DECLARATION
|
41
40
|
*/
|
42
41
|
ruleViolatedBySameElementRuleChangeSuggestion:
|
43
|
-
'
|
42
|
+
'Try changing the {EXISTING_PROPERTY_DECLARATION} property to {TARGET_PROPERTY_DECLARATION}.',
|
44
43
|
/**
|
45
|
-
*@description The message
|
44
|
+
*@description The message shown in the Style pane when the user hovers over a property declaration that has no effect due to properties of the parent element.
|
46
45
|
*@example {display: block} REASON_PROPERTY_DECLARATION_CODE
|
47
46
|
*@example {flex} AFFECTED_PROPERTY_DECLARATION_CODE
|
48
47
|
*/
|
49
48
|
ruleViolatedByParentElementRuleReason:
|
50
|
-
'The
|
49
|
+
'The {REASON_PROPERTY_DECLARATION_CODE} property on the parent element bypasses the effect of {AFFECTED_PROPERTY_DECLARATION_CODE}.',
|
51
50
|
/**
|
52
|
-
*@description The message
|
51
|
+
*@description The message shown in the Style pane when the user hovers over a property declaration that has no effect due to the properties of the parent element.
|
53
52
|
*@example {display: block} EXISTING_PARENT_ELEMENT_RULE
|
54
53
|
*@example {display: flex} TARGET_PARENT_ELEMENT_RULE
|
55
54
|
*/
|
56
55
|
ruleViolatedByParentElementRuleFix:
|
57
|
-
'
|
56
|
+
'Try changing the {EXISTING_PARENT_ELEMENT_RULE} property on the parent to {TARGET_PARENT_ELEMENT_RULE}.',
|
58
57
|
};
|
59
58
|
const str_ = i18n.i18n.registerUIStrings('panels/elements/CSSRuleValidator.ts', UIStrings);
|
60
59
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
@@ -77,16 +77,15 @@ export class AccessibilityTreeNode extends HTMLElement {
|
|
77
77
|
const name = LitHtml.html`"<span class='attribute-value'>${this.#name}</span>"`;
|
78
78
|
const properties = this.#properties.map(
|
79
79
|
({name, value}) => isPrintable(value.type) ?
|
80
|
-
LitHtml.html
|
80
|
+
LitHtml.html` <span class='attribute-name'>${name}</span>: <span class='attribute-value'>${
|
81
81
|
value.value}</span>` :
|
82
82
|
LitHtml.nothing);
|
83
|
-
|
83
|
+
const content = this.#ignored ? LitHtml.html`<span>${i18nString(UIStrings.ignored)}</span>` :
|
84
|
+
LitHtml.html`${role} ${name}${properties}`;
|
84
85
|
await Coordinator.RenderCoordinator.RenderCoordinator.instance().write('Accessibility node render', () => {
|
85
86
|
// clang-format off
|
86
87
|
LitHtml.render(
|
87
|
-
|
88
|
-
LitHtml.html`<span>${i18nString(UIStrings.ignored)}</span>` :
|
89
|
-
LitHtml.html`${role} ${name}${properties}`,
|
88
|
+
LitHtml.html`<div class='container'>${content}</div>`,
|
90
89
|
this.#shadow,
|
91
90
|
{host: this});
|
92
91
|
// clang-format on
|
@@ -4,6 +4,15 @@
|
|
4
4
|
* found in the LICENSE file.
|
5
5
|
*/
|
6
6
|
|
7
|
+
.container {
|
8
|
+
width: 100%;
|
9
|
+
display: inline-block;
|
10
|
+
}
|
11
|
+
|
12
|
+
.container:hover {
|
13
|
+
background-color: var(--item-hover-color);
|
14
|
+
}
|
15
|
+
|
7
16
|
span {
|
8
17
|
color: var(--color-syntax-8);
|
9
18
|
font-family: var(--monospace-font-family);
|
@@ -311,7 +311,20 @@ export class NetworkItemView extends UI.TabbedPane.TabbedPane {
|
|
311
311
|
}
|
312
312
|
|
313
313
|
revealHeader(section: NetworkForward.UIRequestLocation.UIHeaderSection, header: string|undefined): void {
|
314
|
-
|
315
|
-
|
314
|
+
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.HEADER_OVERRIDES)) {
|
315
|
+
this.selectTabInternal(NetworkForward.UIRequestLocation.UIRequestTabs.HeadersComponent);
|
316
|
+
this.headersViewComponent.revealHeader(section, header);
|
317
|
+
} else {
|
318
|
+
this.selectTabInternal(NetworkForward.UIRequestLocation.UIRequestTabs.Headers);
|
319
|
+
this.headersView.revealHeader(section, header);
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
getHeadersView(): RequestHeadersView {
|
324
|
+
return this.headersView;
|
325
|
+
}
|
326
|
+
|
327
|
+
getHeadersViewComponent(): NetworkComponents.RequestHeadersView.RequestHeadersView {
|
328
|
+
return this.headersViewComponent;
|
316
329
|
}
|
317
330
|
}
|
@@ -4,6 +4,15 @@
|
|
4
4
|
* found in the LICENSE file.
|
5
5
|
*/
|
6
6
|
|
7
|
+
devtools-request-headers-category {
|
8
|
+
--override-header-highlight-background-color: #ffff78;
|
9
|
+
}
|
10
|
+
|
11
|
+
.-theme-with-dark-background devtools-request-headers-category,
|
12
|
+
:host-context(.-theme-with-dark-background) devtools-request-headers-category {
|
13
|
+
--override-header-highlight-background-color: #4c4c33;
|
14
|
+
}
|
15
|
+
|
7
16
|
.header {
|
8
17
|
background-color: var(--color-background-elevation-1);
|
9
18
|
border-bottom: var(--legacy-divider-border);
|
@@ -208,3 +217,7 @@ summary label {
|
|
208
217
|
summary label:hover {
|
209
218
|
color: var(--color-text-primary);
|
210
219
|
}
|
220
|
+
|
221
|
+
.header-highlight {
|
222
|
+
background-color: var(--override-header-highlight-background-color);
|
223
|
+
}
|