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
@@ -100,23 +100,21 @@ export class IgnoreListManager implements SDK.TargetManager.SDKModelObserver<SDK
|
|
100
100
|
return debuggerModel.setBlackboxPatterns(patterns);
|
101
101
|
}
|
102
102
|
|
103
|
-
isUserOrSourceMapIgnoreListedUISourceCode(
|
104
|
-
uiSourceCode: Workspace.UISourceCode.UISourceCode, sourceMap: SDK.SourceMap.SourceMap|null): boolean {
|
103
|
+
isUserOrSourceMapIgnoreListedUISourceCode(uiSourceCode: Workspace.UISourceCode.UISourceCode): boolean {
|
105
104
|
const projectType = uiSourceCode.project().type();
|
106
105
|
const isContentScript = projectType === Workspace.Workspace.projectTypes.ContentScripts;
|
107
106
|
if (this.skipContentScripts && isContentScript) {
|
108
107
|
return true;
|
109
108
|
}
|
110
109
|
const url = this.uiSourceCodeURL(uiSourceCode);
|
111
|
-
return url ? this.isUserOrSourceMapIgnoreListedURL(url,
|
110
|
+
return url ? this.isUserOrSourceMapIgnoreListedURL(url, uiSourceCode.isKnownThirdParty()) : false;
|
112
111
|
}
|
113
112
|
|
114
|
-
isUserOrSourceMapIgnoreListedURL(url: Platform.DevToolsPath.UrlString,
|
115
|
-
boolean {
|
113
|
+
isUserOrSourceMapIgnoreListedURL(url: Platform.DevToolsPath.UrlString, isKnownThirdParty: boolean): boolean {
|
116
114
|
if (this.isUserIgnoreListedURL(url)) {
|
117
115
|
return true;
|
118
116
|
}
|
119
|
-
if (this.automaticallyIgnoreListKnownThirdPartyScripts &&
|
117
|
+
if (this.automaticallyIgnoreListKnownThirdPartyScripts && isKnownThirdParty) {
|
120
118
|
return true;
|
121
119
|
}
|
122
120
|
return false;
|
@@ -154,7 +152,9 @@ export class IgnoreListManager implements SDK.TargetManager.SDKModelObserver<SDK
|
|
154
152
|
let hasIgnoreListedMappings = false;
|
155
153
|
if (!IgnoreListManager.instance().isUserIgnoreListedURL(script.sourceURL, script.isContentScript())) {
|
156
154
|
hasIgnoreListedMappings =
|
157
|
-
sourceMap?.sourceURLs().some(
|
155
|
+
sourceMap?.sourceURLs().some(
|
156
|
+
url => this.isUserOrSourceMapIgnoreListedURL(url, sourceMap.hasIgnoreListHint(url))) ??
|
157
|
+
false;
|
158
158
|
}
|
159
159
|
if (!hasIgnoreListedMappings) {
|
160
160
|
if (scriptToRange.get(script) && await script.setBlackboxedRanges([])) {
|
@@ -170,7 +170,9 @@ export class IgnoreListManager implements SDK.TargetManager.SDKModelObserver<SDK
|
|
170
170
|
|
171
171
|
const newRanges =
|
172
172
|
sourceMap
|
173
|
-
.findRanges(
|
173
|
+
.findRanges(
|
174
|
+
srcURL => this.isUserOrSourceMapIgnoreListedURL(srcURL, sourceMap.hasIgnoreListHint(srcURL)),
|
175
|
+
{isStartMatching: true})
|
174
176
|
.flatMap(range => [range.start, range.end]);
|
175
177
|
|
176
178
|
const oldRanges = scriptToRange.get(script) || [];
|
@@ -462,10 +462,6 @@ class Binding implements TextUtils.ContentProvider.ContentProvider {
|
|
462
462
|
return this.firstResource().contentType();
|
463
463
|
}
|
464
464
|
|
465
|
-
contentEncoded(): Promise<boolean> {
|
466
|
-
return this.firstResource().contentEncoded();
|
467
|
-
}
|
468
|
-
|
469
465
|
requestContent(): Promise<TextUtils.ContentProvider.DeferredContent> {
|
470
466
|
return this.firstResource().requestContent();
|
471
467
|
}
|
@@ -308,11 +308,6 @@ export class StyleFile implements TextUtils.ContentProvider.ContentProvider {
|
|
308
308
|
return this.headers.values().next().value.originalContentProvider().contentType();
|
309
309
|
}
|
310
310
|
|
311
|
-
contentEncoded(): Promise<boolean> {
|
312
|
-
console.assert(this.headers.size > 0);
|
313
|
-
return this.headers.values().next().value.originalContentProvider().contentEncoded();
|
314
|
-
}
|
315
|
-
|
316
311
|
requestContent(): Promise<TextUtils.ContentProvider.DeferredContent> {
|
317
312
|
console.assert(this.headers.size > 0);
|
318
313
|
return this.headers.values().next().value.originalContentProvider().requestContent();
|
@@ -730,9 +730,8 @@ export class ExtensionServer extends Common.ObjectWrapper.ObjectWrapper<EventTyp
|
|
730
730
|
private async getResourceContent(
|
731
731
|
contentProvider: TextUtils.ContentProvider.ContentProvider, message: PrivateAPI.ExtensionServerRequestMessage,
|
732
732
|
port: MessagePort): Promise<void> {
|
733
|
-
const {content} = await contentProvider.requestContent();
|
734
|
-
|
735
|
-
this.dispatchCallback(message.requestId, port, {encoding: encoded ? 'base64' : '', content: content});
|
733
|
+
const {content, isEncoded} = await contentProvider.requestContent();
|
734
|
+
this.dispatchCallback(message.requestId, port, {encoding: isEncoded ? 'base64' : '', content: content});
|
736
735
|
}
|
737
736
|
|
738
737
|
private onGetRequestContent(message: PrivateAPI.ExtensionServerRequestMessage, port: MessagePort): Record|undefined {
|
@@ -15,6 +15,7 @@ export const enum IssueCode {
|
|
15
15
|
InvalidRegisterSourceHeader = 'AttributionReportingIssue::InvalidRegisterSourceHeader',
|
16
16
|
InvalidRegisterTriggerHeader = 'AttributionReportingIssue::InvalidRegisterTriggerHeader',
|
17
17
|
InvalidEligibleHeader = 'AttributionReportingIssue::InvalidEligibleHeader',
|
18
|
+
TooManyConcurrentRequests = 'AttributionReportingIssue::TooManyConcurrentRequests',
|
18
19
|
// TODO(apaseltiner): Remove this once old issue types are removed from
|
19
20
|
// protocol.
|
20
21
|
Unknown = 'AttributionReportingIssue::Unknown',
|
@@ -34,6 +35,8 @@ function getIssueCode(details: Protocol.Audits.AttributionReportingIssueDetails)
|
|
34
35
|
return IssueCode.InvalidRegisterTriggerHeader;
|
35
36
|
case Protocol.Audits.AttributionReportingIssueType.InvalidEligibleHeader:
|
36
37
|
return IssueCode.InvalidEligibleHeader;
|
38
|
+
case Protocol.Audits.AttributionReportingIssueType.TooManyConcurrentRequests:
|
39
|
+
return IssueCode.TooManyConcurrentRequests;
|
37
40
|
default:
|
38
41
|
return IssueCode.Unknown;
|
39
42
|
}
|
@@ -87,6 +90,11 @@ export class AttributionReportingIssue extends Issue<IssueCode> {
|
|
87
90
|
linkTitle: 'Structured Headers RFC',
|
88
91
|
}],
|
89
92
|
};
|
93
|
+
case IssueCode.TooManyConcurrentRequests:
|
94
|
+
return {
|
95
|
+
file: 'arTooManyConcurrentRequests.md',
|
96
|
+
links: [],
|
97
|
+
};
|
90
98
|
case IssueCode.Unknown:
|
91
99
|
return null;
|
92
100
|
}
|
@@ -434,6 +434,15 @@ export class DeprecationIssue extends Issue {
|
|
434
434
|
messageFunction = i18nLazyString(UIStrings.mediaSourceDurationTruncatingBuffered);
|
435
435
|
feature = 6107495151960064;
|
436
436
|
break;
|
437
|
+
case Protocol.Audits.DeprecationIssueType.NavigateEventRestoreScroll:
|
438
|
+
messageFunction = i18nLazyString(
|
439
|
+
UIStrings.deprecatedWithReplacement, {PH1: 'navigateEvent.restoreScroll()', PH2: 'navigateEvent.scroll()'});
|
440
|
+
break;
|
441
|
+
case Protocol.Audits.DeprecationIssueType.NavigateEventTransitionWhile:
|
442
|
+
messageFunction = i18nLazyString(
|
443
|
+
UIStrings.deprecatedWithReplacement,
|
444
|
+
{PH1: 'navigateEvent.transitionWhile()', PH2: 'navigateEvent.intercept()'});
|
445
|
+
break;
|
437
446
|
case Protocol.Audits.DeprecationIssueType.NoSysexWebMIDIWithoutPermission:
|
438
447
|
messageFunction = i18nLazyString(UIStrings.noSysexWebMIDIWithoutPermission);
|
439
448
|
feature = 5138066234671104;
|
@@ -846,7 +846,7 @@ export const NativeFunctions = [
|
|
846
846
|
{
|
847
847
|
name: 'addEventListener',
|
848
848
|
signatures: [['type','listener','?options']],
|
849
|
-
receivers: ['AbortSignal','SharedWorker','Worker','ServiceWorker','Animation','AudioBufferSourceNode','AudioContext','AudioScheduledSourceNode','AudioWorkletNode','BaseAudioContext','BroadcastChannel','CSSAnimation','CSSTransition','CanvasCaptureMediaStreamTrack','ConstantSourceNode','Document','HTMLElement','MathMLElement','SVGElement','Element','EventSource','FileReader','FontFaceSet','Window','HTMLAnchorElement','HTMLAreaElement','HTMLAudioElement','HTMLBRElement','HTMLBaseElement','HTMLBodyElement','HTMLButtonElement','HTMLCanvasElement','HTMLDListElement','HTMLDataElement','HTMLDataListElement','HTMLDetailsElement','HTMLDialogElement','HTMLDirectoryElement','HTMLDivElement','HTMLDocument','HTMLEmbedElement','HTMLFieldSetElement','HTMLFontElement','HTMLFormElement','HTMLFrameElement','HTMLFrameSetElement','HTMLHRElement','HTMLHeadElement','HTMLHeadingElement','HTMLHtmlElement','HTMLIFrameElement','HTMLImageElement','HTMLInputElement','HTMLLIElement','HTMLLabelElement','HTMLLegendElement','HTMLLinkElement','HTMLMapElement','HTMLMarqueeElement','HTMLMediaElement','HTMLMenuElement','HTMLMetaElement','HTMLMeterElement','HTMLModElement','HTMLOListElement','HTMLObjectElement','HTMLOptGroupElement','HTMLOptionElement','HTMLOutputElement','HTMLParagraphElement','HTMLParamElement','HTMLPictureElement','HTMLPreElement','HTMLProgressElement','HTMLQuoteElement','HTMLScriptElement','HTMLSelectElement','HTMLSlotElement','HTMLSourceElement','HTMLSpanElement','HTMLStyleElement','HTMLTableCaptionElement','HTMLTableCellElement','HTMLTableColElement','HTMLTableDataCellElement','HTMLTableElement','HTMLTableHeaderCellElement','HTMLTableRowElement','HTMLTableSectionElement','HTMLTemplateElement','HTMLTextAreaElement','HTMLTimeElement','HTMLTitleElement','HTMLTrackElement','HTMLUListElement','HTMLUnknownElement','HTMLVideoElement','IDBDatabase','IDBOpenDBRequest','IDBRequest','IDBTransaction','MIDIAccess','MIDIInput','MIDIOutput','MIDIPort','MediaDevices','MediaKeySession','MediaQueryList','MediaRecorder','MediaSource','MediaStream','MediaStreamTrack','MessagePort','Notification','OfflineAudioContext','OscillatorNode','PaymentRequest','Performance','PermissionStatus','PictureInPictureWindow','RTCDTMFSender','RTCDataChannel','RTCDtlsTransport','RTCIceTransport','RTCPeerConnection','RTCSctpTransport','RemotePlayback','SVGAElement','SVGAnimateElement','SVGAnimateMotionElement','SVGAnimateTransformElement','SVGAnimationElement','SVGCircleElement','SVGClipPathElement','SVGComponentTransferFunctionElement','SVGDefsElement','SVGDescElement','SVGEllipseElement','SVGFEBlendElement','SVGFEColorMatrixElement','SVGFEComponentTransferElement','SVGFECompositeElement','SVGFEConvolveMatrixElement','SVGFEDiffuseLightingElement','SVGFEDisplacementMapElement','SVGFEDistantLightElement','SVGFEDropShadowElement','SVGFEFloodElement','SVGFEFuncAElement','SVGFEFuncBElement','SVGFEFuncGElement','SVGFEFuncRElement','SVGFEGaussianBlurElement','SVGFEImageElement','SVGFEMergeElement','SVGFEMergeNodeElement','SVGFEMorphologyElement','SVGFEOffsetElement','SVGFEPointLightElement','SVGFESpecularLightingElement','SVGFESpotLightElement','SVGFETileElement','SVGFETurbulenceElement','SVGFilterElement','SVGForeignObjectElement','SVGGElement','SVGGeometryElement','SVGGradientElement','SVGGraphicsElement','SVGImageElement','SVGLineElement','SVGLinearGradientElement','SVGMPathElement','SVGMarkerElement','SVGMaskElement','SVGMetadataElement','SVGPathElement','SVGPatternElement','SVGPolygonElement','SVGPolylineElement','SVGRadialGradientElement','SVGRectElement','SVGSVGElement','SVGScriptElement','SVGSetElement','SVGStopElement','SVGStyleElement','SVGSwitchElement','SVGSymbolElement','SVGTSpanElement','SVGTextContentElement','SVGTextElement','SVGTextPathElement','SVGTextPositioningElement','SVGTitleElement','SVGUseElement','SVGViewElement','ScreenOrientation','ScriptProcessorNode','ServiceWorkerContainer','ServiceWorkerRegistration','ShadowRoot','SourceBuffer','SourceBufferList','SpeechSynthesis','SpeechSynthesisUtterance','TextTrack','TextTrackCue','TextTrackList','VTTCue','VisualViewport','WebSocket','XMLDocument','XMLHttpRequest','XMLHttpRequestEventTarget','XMLHttpRequestUpload','DedicatedWorkerGlobalScope','ServiceWorkerGlobalScope','SharedWorkerGlobalScope','WorkerGlobalScope']
|
849
|
+
receivers: ['AbortSignal','SharedWorker','Worker','ServiceWorker','Animation','AudioBufferSourceNode','AudioContext','AudioScheduledSourceNode','AudioWorkletNode','BaseAudioContext','BroadcastChannel','CSSAnimation','CSSTransition','CanvasCaptureMediaStreamTrack','ConstantSourceNode','Document','HTMLElement','MathMLElement','SVGElement','Element','EventSource','FileReader','FontFaceSet','Window','HTMLAnchorElement','HTMLAreaElement','HTMLAudioElement','HTMLBRElement','HTMLBaseElement','HTMLBodyElement','HTMLButtonElement','HTMLCanvasElement','HTMLDListElement','HTMLDataElement','HTMLDataListElement','HTMLDetailsElement','HTMLDialogElement','HTMLDirectoryElement','HTMLDivElement','HTMLDocument','HTMLEmbedElement','HTMLFieldSetElement','HTMLFontElement','HTMLFormElement','HTMLFrameElement','HTMLFrameSetElement','HTMLHRElement','HTMLHeadElement','HTMLHeadingElement','HTMLHtmlElement','HTMLIFrameElement','HTMLImageElement','HTMLInputElement','HTMLLIElement','HTMLLabelElement','HTMLLegendElement','HTMLLinkElement','HTMLMapElement','HTMLMarqueeElement','HTMLMediaElement','HTMLMenuElement','HTMLMetaElement','HTMLMeterElement','HTMLModElement','HTMLOListElement','HTMLObjectElement','HTMLOptGroupElement','HTMLOptionElement','HTMLOutputElement','HTMLParagraphElement','HTMLParamElement','HTMLPictureElement','HTMLPreElement','HTMLProgressElement','HTMLQuoteElement','HTMLScriptElement','HTMLSelectElement','HTMLSlotElement','HTMLSourceElement','HTMLSpanElement','HTMLStyleElement','HTMLTableCaptionElement','HTMLTableCellElement','HTMLTableColElement','HTMLTableDataCellElement','HTMLTableElement','HTMLTableHeaderCellElement','HTMLTableRowElement','HTMLTableSectionElement','HTMLTemplateElement','HTMLTextAreaElement','HTMLTimeElement','HTMLTitleElement','HTMLTrackElement','HTMLUListElement','HTMLUnknownElement','HTMLVideoElement','IDBDatabase','IDBOpenDBRequest','IDBRequest','IDBTransaction','MIDIAccess','MIDIInput','MIDIOutput','MIDIPort','MediaDevices','MediaKeySession','MediaQueryList','MediaRecorder','MediaSource','MediaStream','MediaStreamTrack','MessagePort','Notification','OfflineAudioContext','OscillatorNode','PaymentRequest','Performance','PermissionStatus','PictureInPictureWindow','RTCDTMFSender','RTCDataChannel','RTCDtlsTransport','RTCIceTransport','RTCPeerConnection','RTCSctpTransport','RemotePlayback','SVGAElement','SVGAnimateElement','SVGAnimateMotionElement','SVGAnimateTransformElement','SVGAnimationElement','SVGCircleElement','SVGClipPathElement','SVGComponentTransferFunctionElement','SVGDefsElement','SVGDescElement','SVGEllipseElement','SVGFEBlendElement','SVGFEColorMatrixElement','SVGFEComponentTransferElement','SVGFECompositeElement','SVGFEConvolveMatrixElement','SVGFEDiffuseLightingElement','SVGFEDisplacementMapElement','SVGFEDistantLightElement','SVGFEDropShadowElement','SVGFEFloodElement','SVGFEFuncAElement','SVGFEFuncBElement','SVGFEFuncGElement','SVGFEFuncRElement','SVGFEGaussianBlurElement','SVGFEImageElement','SVGFEMergeElement','SVGFEMergeNodeElement','SVGFEMorphologyElement','SVGFEOffsetElement','SVGFEPointLightElement','SVGFESpecularLightingElement','SVGFESpotLightElement','SVGFETileElement','SVGFETurbulenceElement','SVGFilterElement','SVGForeignObjectElement','SVGGElement','SVGGeometryElement','SVGGradientElement','SVGGraphicsElement','SVGImageElement','SVGLineElement','SVGLinearGradientElement','SVGMPathElement','SVGMarkerElement','SVGMaskElement','SVGMetadataElement','SVGPathElement','SVGPatternElement','SVGPolygonElement','SVGPolylineElement','SVGRadialGradientElement','SVGRectElement','SVGSVGElement','SVGScriptElement','SVGSetElement','SVGStopElement','SVGStyleElement','SVGSwitchElement','SVGSymbolElement','SVGTSpanElement','SVGTextContentElement','SVGTextElement','SVGTextPathElement','SVGTextPositioningElement','SVGTitleElement','SVGUseElement','SVGViewElement','ScreenOrientation','ScriptProcessorNode','ServiceWorkerContainer','ServiceWorkerRegistration','ShadowRoot','SourceBuffer','SourceBufferList','SpeechSynthesis','SpeechSynthesisUtterance','TextTrack','TextTrackCue','TextTrackList','VTTCue','VisualViewport','WebSocket','XMLDocument','XMLHttpRequest','XMLHttpRequestEventTarget','XMLHttpRequestUpload','DedicatedWorkerGlobalScope','ServiceWorkerGlobalScope','SharedWorkerGlobalScope','WorkerGlobalScope','Highlight']
|
850
850
|
},
|
851
851
|
{
|
852
852
|
name: 'addEventListener',
|
@@ -856,7 +856,7 @@ export const NativeFunctions = [
|
|
856
856
|
{
|
857
857
|
name: 'removeEventListener',
|
858
858
|
signatures: [['type','listener','?options']],
|
859
|
-
receivers: ['AbortSignal','SharedWorker','Worker','ServiceWorker','Animation','AudioBufferSourceNode','AudioContext','AudioScheduledSourceNode','AudioWorkletNode','BaseAudioContext','BroadcastChannel','CSSAnimation','CSSTransition','CanvasCaptureMediaStreamTrack','ConstantSourceNode','Document','HTMLElement','MathMLElement','SVGElement','Element','EventSource','FileReader','FontFaceSet','Window','HTMLAnchorElement','HTMLAreaElement','HTMLAudioElement','HTMLBRElement','HTMLBaseElement','HTMLBodyElement','HTMLButtonElement','HTMLCanvasElement','HTMLDListElement','HTMLDataElement','HTMLDataListElement','HTMLDetailsElement','HTMLDialogElement','HTMLDirectoryElement','HTMLDivElement','HTMLDocument','HTMLEmbedElement','HTMLFieldSetElement','HTMLFontElement','HTMLFormElement','HTMLFrameElement','HTMLFrameSetElement','HTMLHRElement','HTMLHeadElement','HTMLHeadingElement','HTMLHtmlElement','HTMLIFrameElement','HTMLImageElement','HTMLInputElement','HTMLLIElement','HTMLLabelElement','HTMLLegendElement','HTMLLinkElement','HTMLMapElement','HTMLMarqueeElement','HTMLMediaElement','HTMLMenuElement','HTMLMetaElement','HTMLMeterElement','HTMLModElement','HTMLOListElement','HTMLObjectElement','HTMLOptGroupElement','HTMLOptionElement','HTMLOutputElement','HTMLParagraphElement','HTMLParamElement','HTMLPictureElement','HTMLPreElement','HTMLProgressElement','HTMLQuoteElement','HTMLScriptElement','HTMLSelectElement','HTMLSlotElement','HTMLSourceElement','HTMLSpanElement','HTMLStyleElement','HTMLTableCaptionElement','HTMLTableCellElement','HTMLTableColElement','HTMLTableDataCellElement','HTMLTableElement','HTMLTableHeaderCellElement','HTMLTableRowElement','HTMLTableSectionElement','HTMLTemplateElement','HTMLTextAreaElement','HTMLTimeElement','HTMLTitleElement','HTMLTrackElement','HTMLUListElement','HTMLUnknownElement','HTMLVideoElement','IDBDatabase','IDBOpenDBRequest','IDBRequest','IDBTransaction','MIDIAccess','MIDIInput','MIDIOutput','MIDIPort','MediaDevices','MediaKeySession','MediaQueryList','MediaRecorder','MediaSource','MediaStream','MediaStreamTrack','MessagePort','Notification','OfflineAudioContext','OscillatorNode','PaymentRequest','Performance','PermissionStatus','PictureInPictureWindow','RTCDTMFSender','RTCDataChannel','RTCDtlsTransport','RTCIceTransport','RTCPeerConnection','RTCSctpTransport','RemotePlayback','SVGAElement','SVGAnimateElement','SVGAnimateMotionElement','SVGAnimateTransformElement','SVGAnimationElement','SVGCircleElement','SVGClipPathElement','SVGComponentTransferFunctionElement','SVGDefsElement','SVGDescElement','SVGEllipseElement','SVGFEBlendElement','SVGFEColorMatrixElement','SVGFEComponentTransferElement','SVGFECompositeElement','SVGFEConvolveMatrixElement','SVGFEDiffuseLightingElement','SVGFEDisplacementMapElement','SVGFEDistantLightElement','SVGFEDropShadowElement','SVGFEFloodElement','SVGFEFuncAElement','SVGFEFuncBElement','SVGFEFuncGElement','SVGFEFuncRElement','SVGFEGaussianBlurElement','SVGFEImageElement','SVGFEMergeElement','SVGFEMergeNodeElement','SVGFEMorphologyElement','SVGFEOffsetElement','SVGFEPointLightElement','SVGFESpecularLightingElement','SVGFESpotLightElement','SVGFETileElement','SVGFETurbulenceElement','SVGFilterElement','SVGForeignObjectElement','SVGGElement','SVGGeometryElement','SVGGradientElement','SVGGraphicsElement','SVGImageElement','SVGLineElement','SVGLinearGradientElement','SVGMPathElement','SVGMarkerElement','SVGMaskElement','SVGMetadataElement','SVGPathElement','SVGPatternElement','SVGPolygonElement','SVGPolylineElement','SVGRadialGradientElement','SVGRectElement','SVGSVGElement','SVGScriptElement','SVGSetElement','SVGStopElement','SVGStyleElement','SVGSwitchElement','SVGSymbolElement','SVGTSpanElement','SVGTextContentElement','SVGTextElement','SVGTextPathElement','SVGTextPositioningElement','SVGTitleElement','SVGUseElement','SVGViewElement','ScreenOrientation','ScriptProcessorNode','ServiceWorkerContainer','ServiceWorkerRegistration','ShadowRoot','SourceBuffer','SourceBufferList','SpeechSynthesis','SpeechSynthesisUtterance','TextTrack','TextTrackCue','TextTrackList','VTTCue','VisualViewport','WebSocket','XMLDocument','XMLHttpRequest','XMLHttpRequestEventTarget','XMLHttpRequestUpload','DedicatedWorkerGlobalScope','ServiceWorkerGlobalScope','SharedWorkerGlobalScope','WorkerGlobalScope']
|
859
|
+
receivers: ['AbortSignal','SharedWorker','Worker','ServiceWorker','Animation','AudioBufferSourceNode','AudioContext','AudioScheduledSourceNode','AudioWorkletNode','BaseAudioContext','BroadcastChannel','CSSAnimation','CSSTransition','CanvasCaptureMediaStreamTrack','ConstantSourceNode','Document','HTMLElement','MathMLElement','SVGElement','Element','EventSource','FileReader','FontFaceSet','Window','HTMLAnchorElement','HTMLAreaElement','HTMLAudioElement','HTMLBRElement','HTMLBaseElement','HTMLBodyElement','HTMLButtonElement','HTMLCanvasElement','HTMLDListElement','HTMLDataElement','HTMLDataListElement','HTMLDetailsElement','HTMLDialogElement','HTMLDirectoryElement','HTMLDivElement','HTMLDocument','HTMLEmbedElement','HTMLFieldSetElement','HTMLFontElement','HTMLFormElement','HTMLFrameElement','HTMLFrameSetElement','HTMLHRElement','HTMLHeadElement','HTMLHeadingElement','HTMLHtmlElement','HTMLIFrameElement','HTMLImageElement','HTMLInputElement','HTMLLIElement','HTMLLabelElement','HTMLLegendElement','HTMLLinkElement','HTMLMapElement','HTMLMarqueeElement','HTMLMediaElement','HTMLMenuElement','HTMLMetaElement','HTMLMeterElement','HTMLModElement','HTMLOListElement','HTMLObjectElement','HTMLOptGroupElement','HTMLOptionElement','HTMLOutputElement','HTMLParagraphElement','HTMLParamElement','HTMLPictureElement','HTMLPreElement','HTMLProgressElement','HTMLQuoteElement','HTMLScriptElement','HTMLSelectElement','HTMLSlotElement','HTMLSourceElement','HTMLSpanElement','HTMLStyleElement','HTMLTableCaptionElement','HTMLTableCellElement','HTMLTableColElement','HTMLTableDataCellElement','HTMLTableElement','HTMLTableHeaderCellElement','HTMLTableRowElement','HTMLTableSectionElement','HTMLTemplateElement','HTMLTextAreaElement','HTMLTimeElement','HTMLTitleElement','HTMLTrackElement','HTMLUListElement','HTMLUnknownElement','HTMLVideoElement','IDBDatabase','IDBOpenDBRequest','IDBRequest','IDBTransaction','MIDIAccess','MIDIInput','MIDIOutput','MIDIPort','MediaDevices','MediaKeySession','MediaQueryList','MediaRecorder','MediaSource','MediaStream','MediaStreamTrack','MessagePort','Notification','OfflineAudioContext','OscillatorNode','PaymentRequest','Performance','PermissionStatus','PictureInPictureWindow','RTCDTMFSender','RTCDataChannel','RTCDtlsTransport','RTCIceTransport','RTCPeerConnection','RTCSctpTransport','RemotePlayback','SVGAElement','SVGAnimateElement','SVGAnimateMotionElement','SVGAnimateTransformElement','SVGAnimationElement','SVGCircleElement','SVGClipPathElement','SVGComponentTransferFunctionElement','SVGDefsElement','SVGDescElement','SVGEllipseElement','SVGFEBlendElement','SVGFEColorMatrixElement','SVGFEComponentTransferElement','SVGFECompositeElement','SVGFEConvolveMatrixElement','SVGFEDiffuseLightingElement','SVGFEDisplacementMapElement','SVGFEDistantLightElement','SVGFEDropShadowElement','SVGFEFloodElement','SVGFEFuncAElement','SVGFEFuncBElement','SVGFEFuncGElement','SVGFEFuncRElement','SVGFEGaussianBlurElement','SVGFEImageElement','SVGFEMergeElement','SVGFEMergeNodeElement','SVGFEMorphologyElement','SVGFEOffsetElement','SVGFEPointLightElement','SVGFESpecularLightingElement','SVGFESpotLightElement','SVGFETileElement','SVGFETurbulenceElement','SVGFilterElement','SVGForeignObjectElement','SVGGElement','SVGGeometryElement','SVGGradientElement','SVGGraphicsElement','SVGImageElement','SVGLineElement','SVGLinearGradientElement','SVGMPathElement','SVGMarkerElement','SVGMaskElement','SVGMetadataElement','SVGPathElement','SVGPatternElement','SVGPolygonElement','SVGPolylineElement','SVGRadialGradientElement','SVGRectElement','SVGSVGElement','SVGScriptElement','SVGSetElement','SVGStopElement','SVGStyleElement','SVGSwitchElement','SVGSymbolElement','SVGTSpanElement','SVGTextContentElement','SVGTextElement','SVGTextPathElement','SVGTextPositioningElement','SVGTitleElement','SVGUseElement','SVGViewElement','ScreenOrientation','ScriptProcessorNode','ServiceWorkerContainer','ServiceWorkerRegistration','ShadowRoot','SourceBuffer','SourceBufferList','SpeechSynthesis','SpeechSynthesisUtterance','TextTrack','TextTrackCue','TextTrackList','VTTCue','VisualViewport','WebSocket','XMLDocument','XMLHttpRequest','XMLHttpRequestEventTarget','XMLHttpRequestUpload','DedicatedWorkerGlobalScope','ServiceWorkerGlobalScope','SharedWorkerGlobalScope','WorkerGlobalScope','Highlight']
|
860
860
|
},
|
861
861
|
{
|
862
862
|
name: 'removeEventListener',
|
@@ -5920,6 +5920,10 @@ export const NativeFunctions = [
|
|
5920
5920
|
name: 'ContentVisibilityAutoStateChangedEvent',
|
5921
5921
|
signatures: [['type','?eventInitDict']]
|
5922
5922
|
},
|
5923
|
+
{
|
5924
|
+
name: 'prepare',
|
5925
|
+
signatures: [['?callback']]
|
5926
|
+
},
|
5923
5927
|
{
|
5924
5928
|
name: 'timeout',
|
5925
5929
|
signatures: [['milliseconds']]
|
@@ -370,9 +370,8 @@ export class NetworkPersistenceManager extends Common.ObjectWrapper.ObjectWrappe
|
|
370
370
|
await PersistenceImpl.instance().addBinding(binding);
|
371
371
|
const uiSourceCodeOfTruth =
|
372
372
|
this.savingForOverrides.has(networkUISourceCode) ? networkUISourceCode : fileSystemUISourceCode;
|
373
|
-
const
|
374
|
-
|
375
|
-
PersistenceImpl.instance().syncContent(uiSourceCodeOfTruth, content || '', encoded);
|
373
|
+
const {content, isEncoded} = await uiSourceCodeOfTruth.requestContent();
|
374
|
+
PersistenceImpl.instance().syncContent(uiSourceCodeOfTruth, content || '', isEncoded);
|
376
375
|
}
|
377
376
|
|
378
377
|
private onUISourceCodeWorkingCopyCommitted(uiSourceCode: Workspace.UISourceCode.UISourceCode): void {
|
@@ -390,14 +389,13 @@ export class NetworkPersistenceManager extends Common.ObjectWrapper.ObjectWrappe
|
|
390
389
|
}
|
391
390
|
this.savingForOverrides.add(uiSourceCode);
|
392
391
|
let encodedPath = this.encodedPathFromUrl(uiSourceCode.url());
|
393
|
-
const content =
|
394
|
-
const encoded = await uiSourceCode.contentEncoded();
|
392
|
+
const {content, isEncoded} = await uiSourceCode.requestContent();
|
395
393
|
const lastIndexOfSlash = encodedPath.lastIndexOf('/');
|
396
394
|
const encodedFileName = Common.ParsedURL.ParsedURL.substring(encodedPath, lastIndexOfSlash + 1);
|
397
395
|
const rawFileName = Common.ParsedURL.ParsedURL.encodedPathToRawPathString(encodedFileName);
|
398
396
|
encodedPath = Common.ParsedURL.ParsedURL.substr(encodedPath, 0, lastIndexOfSlash);
|
399
397
|
if (this.projectInternal) {
|
400
|
-
await this.projectInternal.createFile(encodedPath, rawFileName, content,
|
398
|
+
await this.projectInternal.createFile(encodedPath, rawFileName, content ?? '', isEncoded);
|
401
399
|
}
|
402
400
|
this.fileCreatedForTest(encodedPath, rawFileName);
|
403
401
|
this.savingForOverrides.delete(uiSourceCode);
|
@@ -54,12 +54,13 @@ export class ContextMenuProvider implements UI.ContextMenu.Provider {
|
|
54
54
|
if (contentProvider instanceof Workspace.UISourceCode.UISourceCode) {
|
55
55
|
(contentProvider as Workspace.UISourceCode.UISourceCode).commitWorkingCopy();
|
56
56
|
}
|
57
|
-
|
58
|
-
|
59
|
-
|
57
|
+
const content = await contentProvider.requestContent();
|
58
|
+
let decodedContent = content.content || '';
|
59
|
+
if (content.isEncoded) {
|
60
|
+
decodedContent = window.atob(decodedContent);
|
60
61
|
}
|
61
62
|
const url = contentProvider.contentURL();
|
62
|
-
void Workspace.FileManager.FileManager.instance().save(url,
|
63
|
+
void Workspace.FileManager.FileManager.instance().save(url, decodedContent, true);
|
63
64
|
Workspace.FileManager.FileManager.instance().close(url);
|
64
65
|
}
|
65
66
|
|
@@ -37,12 +37,25 @@ export function createCssTokenizer(): Tokenizer {
|
|
37
37
|
const stream = new CodeMirror.StringStream();
|
38
38
|
stream.string = line;
|
39
39
|
|
40
|
-
const
|
40
|
+
const state = streamParser.startState();
|
41
41
|
let lastPos = stream.pos;
|
42
42
|
while (!stream.eol()) {
|
43
|
-
|
44
|
-
|
45
|
-
|
43
|
+
stream.start = lastPos;
|
44
|
+
let tokenType = streamParser.token(stream, state);
|
45
|
+
/**
|
46
|
+
* We expect unknown properties (like `unknownProp: unknownPropVal`) to still be
|
47
|
+
* formatted correctly. However, `tokenType` for such properties are marked
|
48
|
+
* as `error` from CodeMirror side and the internal state of the parser becomes `maybeprop`.
|
49
|
+
*
|
50
|
+
* So, we handle that specific keyword to be marked as `property` even though it is
|
51
|
+
* not a known property. We do this because for our formatting purposes it doesn't matter
|
52
|
+
* whether a property is a known CSS property or not.
|
53
|
+
*/
|
54
|
+
if (tokenType === 'error' && state.state === 'maybeprop') {
|
55
|
+
tokenType = 'property';
|
56
|
+
}
|
57
|
+
const segment = stream.current();
|
58
|
+
callback(segment, tokenType);
|
46
59
|
lastPos = stream.pos;
|
47
60
|
}
|
48
61
|
}
|
@@ -34,7 +34,6 @@ import type * as Platform from '../../core/platform/platform.js';
|
|
34
34
|
export abstract class ContentProvider {
|
35
35
|
abstract contentURL(): Platform.DevToolsPath.UrlString;
|
36
36
|
abstract contentType(): Common.ResourceType.ResourceType;
|
37
|
-
abstract contentEncoded(): Promise<boolean>;
|
38
37
|
abstract requestContent(): Promise<DeferredContent>;
|
39
38
|
abstract searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<SearchMatch[]>;
|
40
39
|
}
|
@@ -39,10 +39,6 @@ export class StaticContentProvider implements ContentProvider {
|
|
39
39
|
return this.contentTypeInternal;
|
40
40
|
}
|
41
41
|
|
42
|
-
contentEncoded(): Promise<boolean> {
|
43
|
-
return Promise.resolve(false);
|
44
|
-
}
|
45
|
-
|
46
42
|
requestContent(): Promise<DeferredContent> {
|
47
43
|
return this.lazyContent();
|
48
44
|
}
|
@@ -71,6 +71,7 @@ export class UISourceCode extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
|
|
71
71
|
private workingCopyGetter: (() => string)|null;
|
72
72
|
private disableEditInternal: boolean;
|
73
73
|
private contentEncodedInternal?: boolean;
|
74
|
+
private isKnownThirdPartyInternal: boolean;
|
74
75
|
|
75
76
|
constructor(project: Project, url: Platform.DevToolsPath.UrlString, contentType: Common.ResourceType.ResourceType) {
|
76
77
|
super();
|
@@ -108,6 +109,7 @@ export class UISourceCode extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
|
|
108
109
|
this.workingCopyInternal = null;
|
109
110
|
this.workingCopyGetter = null;
|
110
111
|
this.disableEditInternal = false;
|
112
|
+
this.isKnownThirdPartyInternal = false;
|
111
113
|
}
|
112
114
|
|
113
115
|
requestMetadata(): Promise<UISourceCodeMetadata|null> {
|
@@ -207,11 +209,6 @@ export class UISourceCode extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
|
|
207
209
|
return this.contentTypeInternal;
|
208
210
|
}
|
209
211
|
|
210
|
-
async contentEncoded(): Promise<boolean> {
|
211
|
-
await this.requestContent();
|
212
|
-
return this.contentEncodedInternal || false;
|
213
|
-
}
|
214
|
-
|
215
212
|
project(): Project {
|
216
213
|
return this.projectInternal;
|
217
214
|
}
|
@@ -401,6 +398,14 @@ export class UISourceCode extends Common.ObjectWrapper.ObjectWrapper<EventTypes>
|
|
401
398
|
return this.workingCopyInternal !== null || this.workingCopyGetter !== null;
|
402
399
|
}
|
403
400
|
|
401
|
+
isKnownThirdParty(): boolean {
|
402
|
+
return this.isKnownThirdPartyInternal;
|
403
|
+
}
|
404
|
+
|
405
|
+
markKnownThirdParty(): void {
|
406
|
+
this.isKnownThirdPartyInternal = true;
|
407
|
+
}
|
408
|
+
|
404
409
|
extension(): string {
|
405
410
|
return Common.ParsedURL.ParsedURL.extractExtension(this.nameInternal);
|
406
411
|
}
|
@@ -155,7 +155,7 @@ export class StackTrace extends HTMLElement {
|
|
155
155
|
const expandableRows = [];
|
156
156
|
let hiddenCallFramesCount = 0;
|
157
157
|
for (const item of this.#stackTraceRows) {
|
158
|
-
if (this.#showHidden ||
|
158
|
+
if (this.#showHidden || !item.ignoreListHide) {
|
159
159
|
if ('functionName' in item) {
|
160
160
|
expandableRows.push(LitHtml.html`
|
161
161
|
<${StackTraceRow.litTagName} data-stack-trace-row .data=${{
|
@@ -168,7 +168,7 @@ export class StackTrace extends HTMLElement {
|
|
168
168
|
`);
|
169
169
|
}
|
170
170
|
}
|
171
|
-
if (!this.#showHidden && 'functionName' in item &&
|
171
|
+
if (!this.#showHidden && 'functionName' in item && item.ignoreListHide) {
|
172
172
|
hiddenCallFramesCount++;
|
173
173
|
}
|
174
174
|
}
|
@@ -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> {
|