chrome-devtools-frontend 1.0.1026160 → 1.0.1027447

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.
Files changed (49) hide show
  1. package/config/owner/LIGHTHOUSE_OWNERS +1 -1
  2. package/docs/triage_guidelines.md +1 -122
  3. package/front_end/core/host/UserMetrics.ts +2 -1
  4. package/front_end/core/i18n/locales/en-US.json +24 -0
  5. package/front_end/core/i18n/locales/en-XL.json +24 -0
  6. package/front_end/core/root/Runtime.ts +1 -0
  7. package/front_end/core/sdk/NetworkManager.ts +24 -3
  8. package/front_end/core/sdk/ResourceTreeModel.ts +1 -1
  9. package/front_end/core/sdk/SourceMap.ts +22 -6
  10. package/front_end/core/sdk/sdk-meta.ts +7 -0
  11. package/front_end/devtools_compatibility.js +1 -0
  12. package/front_end/entrypoints/main/MainImpl.ts +5 -0
  13. package/front_end/generated/ARIAProperties.js +723 -723
  14. package/front_end/generated/SupportedCSSProperties.js +2835 -2835
  15. package/front_end/generated/protocol.ts +4 -0
  16. package/front_end/legacy_test_runner/axe_core_test_runner/axe_core_test_runner.js +1 -1
  17. package/front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js +1 -1
  18. package/front_end/models/bindings/CompilerScriptMapping.ts +1 -1
  19. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +38 -11
  20. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +7 -1
  21. package/front_end/models/bindings/IgnoreListManager.ts +35 -22
  22. package/front_end/models/issues_manager/descriptions/clientHintMetaTagAllowListInvalidOrigin.md +1 -1
  23. package/front_end/models/issues_manager/descriptions/clientHintMetaTagModifiedHTML.md +1 -1
  24. package/front_end/models/text_utils/TextRange.ts +8 -0
  25. package/front_end/models/timeline_model/TimelineModel.ts +18 -1
  26. package/front_end/panels/accessibility/ARIAAttributesView.ts +2 -0
  27. package/front_end/panels/console/consoleView.css +4 -0
  28. package/front_end/panels/elements/ElementsTreeOutline.ts +10 -16
  29. package/front_end/panels/elements/TopLayerContainer.ts +16 -22
  30. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +45 -50
  31. package/front_end/panels/lighthouse/LighthouseController.ts +3 -0
  32. package/front_end/panels/lighthouse/LighthousePanel.ts +2 -0
  33. package/front_end/panels/security/SecurityPanel.ts +52 -0
  34. package/front_end/panels/security/originView.css +1 -1
  35. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +16 -0
  36. package/front_end/panels/sources/CallStackSidebarPane.ts +2 -3
  37. package/front_end/panels/sources/DebuggerPlugin.ts +8 -2
  38. package/front_end/panels/sources/navigatorTree.css +3 -3
  39. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +1 -1
  40. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +172 -1
  41. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +15 -16
  42. package/front_end/ui/components/panel_feedback/previewToggle.css +13 -15
  43. package/front_end/ui/components/text_editor/TextEditor.ts +3 -0
  44. package/front_end/ui/legacy/ARIAUtils.ts +1 -75
  45. package/front_end/ui/legacy/ListControl.ts +4 -0
  46. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +13 -3
  47. package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +5 -4
  48. package/front_end/ui/legacy/inspectorCommon.css +0 -9
  49. package/package.json +1 -1
@@ -70,7 +70,7 @@ function populateContextMenu(link: Element, event: Event): void {
70
70
  const uiLocation = Linkifier.uiLocation(link);
71
71
  if (uiLocation &&
72
72
  Bindings.IgnoreListManager.IgnoreListManager.instance().canIgnoreListUISourceCode(uiLocation.uiSourceCode)) {
73
- if (Bindings.IgnoreListManager.IgnoreListManager.instance().isIgnoreListedUISourceCode(uiLocation.uiSourceCode)) {
73
+ if (Bindings.IgnoreListManager.IgnoreListManager.instance().isUserIgnoreListedURL(uiLocation.uiSourceCode.url())) {
74
74
  contextMenu.debugSection().appendItem(
75
75
  i18nString(UIStrings.removeFromIgnore),
76
76
  () => Bindings.IgnoreListManager.IgnoreListManager.instance().unIgnoreListUISourceCode(
@@ -127,8 +127,8 @@ export function buildStackTraceRows(
127
127
  // TODO(crbug.com/1183325): fix race condition with uiLocation still being null here
128
128
  const uiLocation = Linkifier.uiLocation(link);
129
129
  if (uiLocation &&
130
- Bindings.IgnoreListManager.IgnoreListManager.instance().isIgnoreListedUISourceCode(
131
- uiLocation.uiSourceCode)) {
130
+ Bindings.IgnoreListManager.IgnoreListManager.instance().isUserIgnoreListedURL(
131
+ uiLocation.uiSourceCode.url())) {
132
132
  ignoreListHide = true;
133
133
  }
134
134
  // Linkifier is using a workaround with the 'zero width space' (\u200b).
@@ -175,7 +175,8 @@ function updateHiddenRows(
175
175
  if ('link' in row && row.link) {
176
176
  const uiLocation = Linkifier.uiLocation(row.link);
177
177
  if (uiLocation &&
178
- Bindings.IgnoreListManager.IgnoreListManager.instance().isIgnoreListedUISourceCode(uiLocation.uiSourceCode)) {
178
+ Bindings.IgnoreListManager.IgnoreListManager.instance().isUserIgnoreListedURL(
179
+ uiLocation.uiSourceCode.url())) {
179
180
  row.ignoreListHide = true;
180
181
  }
181
182
  if (row.rowCountHide || row.ignoreListHide) {
@@ -629,15 +629,6 @@ button.link:focus-visible {
629
629
  --override-link-focus-background-color: rgb(230 230 230 / 8%);
630
630
  }
631
631
 
632
- /* See ARIAUtils.js */
633
- [data-aria-utils-animation-hack] {
634
- animation: ANIMATION-HACK 0s;
635
- }
636
-
637
- @keyframes ANIMATION-HACK {
638
- /* empty keyframe to trigger the animation hack above */
639
- }
640
-
641
632
  @media (forced-colors: active) {
642
633
  .dimmed,
643
634
  .chrome-select:disabled {
package/package.json CHANGED
@@ -55,5 +55,5 @@
55
55
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
56
56
  "watch": "vpython third_party/node/node.py --output scripts/watch_build.js"
57
57
  },
58
- "version": "1.0.1026160"
58
+ "version": "1.0.1027447"
59
59
  }