chrome-devtools-frontend 1.0.1701636 → 1.0.1703574

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 (91) hide show
  1. package/eslint.config.mjs +3 -1
  2. package/front_end/core/common/ParsedURL.ts +5 -1
  3. package/front_end/core/host/UserMetricsEnums.ts +2 -1
  4. package/front_end/core/root/ExperimentNames.ts +1 -0
  5. package/front_end/core/sdk/CSSPropertyParserMatchers.ts +2 -7
  6. package/front_end/core/text_utils/Markdown.ts +73 -0
  7. package/front_end/core/text_utils/text_utils.ts +2 -0
  8. package/front_end/devtools_compatibility.js +2 -1
  9. package/front_end/entrypoints/main/MainImpl.ts +8 -0
  10. package/front_end/generated/InspectorBackendCommands.ts +6 -4
  11. package/front_end/generated/protocol-mapping.d.ts +8 -0
  12. package/front_end/generated/protocol-proxy-api.d.ts +6 -0
  13. package/front_end/generated/protocol.ts +22 -3
  14. package/front_end/models/ai_assistance/AiAgent2.ts +13 -1
  15. package/front_end/models/ai_assistance/AiConversation.ts +1 -1
  16. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +13 -19
  17. package/front_end/models/change_tracker/ChangeTracker.ts +5 -64
  18. package/front_end/models/comment_manager/CD4ABridge.ts +5 -0
  19. package/front_end/models/comment_manager/CommentManager.ts +3 -5
  20. package/front_end/models/comment_manager/CommentThread.ts +30 -13
  21. package/front_end/models/issues_manager/CookieDeprecationMetadataIssue.ts +6 -7
  22. package/front_end/models/issues_manager/DeprecationIssue.ts +1 -1
  23. package/front_end/models/issues_manager/MarkdownIssueDescription.ts +18 -52
  24. package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +2 -4
  25. package/front_end/models/issues_manager/descriptions/cookieWarnMetadataGrantRead.md +0 -1
  26. package/front_end/models/issues_manager/descriptions/cookieWarnMetadataGrantReadOptOut.md +5 -0
  27. package/front_end/models/issues_manager/descriptions/cookieWarnMetadataGrantSet.md +0 -1
  28. package/front_end/models/issues_manager/descriptions/cookieWarnMetadataGrantSetOptOut.md +5 -0
  29. package/front_end/models/issues_manager/descriptions/deprecation.md +1 -1
  30. package/front_end/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +2 -0
  31. package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +1 -1
  32. package/front_end/models/persistence/NetworkPersistenceManager.ts +14 -2
  33. package/front_end/panels/common/CommentThreadWidget.ts +29 -10
  34. package/front_end/panels/common/CommentsOverlayWidget.ts +50 -14
  35. package/front_end/panels/common/CommentsStatusBarPill.ts +40 -7
  36. package/front_end/panels/common/commentThreadWidget.css +11 -0
  37. package/front_end/panels/common/commentsStatusBarPill.css +13 -0
  38. package/front_end/panels/elements/StylePropertiesSection.ts +10 -0
  39. package/front_end/panels/elements/StylePropertyTreeElement.ts +1 -1
  40. package/front_end/panels/elements/StylesSidebarPane.ts +101 -49
  41. package/front_end/panels/elements/components/CSSQuery.ts +1 -1
  42. package/front_end/panels/elements/components/cssQuery.css +4 -0
  43. package/front_end/panels/elements/elements.ts +0 -1
  44. package/front_end/panels/elements/stylesSidebarPane.css +6 -0
  45. package/front_end/panels/issues/IssueView.ts +5 -1
  46. package/front_end/panels/sources/ResourceOriginPlugin.ts +8 -3
  47. package/front_end/panels/sources/ScopeChainSidebarPane.ts +3 -4
  48. package/front_end/panels/sources/SourcesView.ts +127 -147
  49. package/front_end/panels/sources/TabbedEditorContainer.ts +518 -246
  50. package/front_end/panels/sources/UISourceCodeFrame.ts +9 -0
  51. package/front_end/third_party/chromium/README.chromium +1 -1
  52. package/front_end/third_party/chromium/client-variations/ClientVariations.js +25 -96
  53. package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
  54. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  55. package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
  56. package/front_end/third_party/codemirror.next/chunk/cpp.js +1 -1
  57. package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
  58. package/front_end/third_party/codemirror.next/chunk/java.js +1 -1
  59. package/front_end/third_party/codemirror.next/chunk/java.js.map +1 -1
  60. package/front_end/third_party/codemirror.next/chunk/legacy.js +1 -1
  61. package/front_end/third_party/codemirror.next/chunk/less.js +1 -1
  62. package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
  63. package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
  64. package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
  65. package/front_end/third_party/codemirror.next/chunk/php.js +1 -1
  66. package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
  67. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  68. package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
  69. package/front_end/third_party/codemirror.next/chunk/sass.js +1 -1
  70. package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
  71. package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
  72. package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
  73. package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
  74. package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
  75. package/front_end/third_party/codemirror.next/chunk/wast.js.map +1 -1
  76. package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
  77. package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
  78. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  79. package/front_end/third_party/codemirror.next/package.json +4 -1
  80. package/front_end/third_party/codemirror.next/rebuild.sh +1 -1
  81. package/front_end/ui/comments/CommentOverlayManager.ts +11 -10
  82. package/front_end/ui/components/markdown_view/MarkdownPlaceholderLitRenderer.ts +59 -0
  83. package/front_end/ui/components/markdown_view/markdown_view.ts +2 -0
  84. package/front_end/ui/legacy/TabbedPane.ts +51 -40
  85. package/front_end/ui/legacy/Treeoutline.ts +28 -19
  86. package/front_end/ui/legacy/UIUtils.ts +1 -1
  87. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +424 -570
  88. package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -27
  89. package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
  90. package/mcp/mcp.ts +1 -0
  91. package/package.json +2 -1
@@ -32,17 +32,6 @@ li.object-properties-section {
32
32
  }
33
33
  }
34
34
 
35
- .object-properties-section li.editing-sub-part {
36
- padding: 3px var(--sys-size-6) var(--sys-size-5) var(--sys-size-4);
37
- margin: calc(-1 * var(--sys-size-1)) calc(-1 * var(--sys-size-4)) calc(-1 * var(--sys-size-5));
38
- text-overflow: clip;
39
- }
40
-
41
- .object-properties-section li.editing {
42
- margin-left: 10px;
43
- text-overflow: clip;
44
- }
45
-
46
35
  .tree-outline ol.title-less-mode {
47
36
  padding-left: 0;
48
37
  }
@@ -64,10 +53,6 @@ li.object-properties-section {
64
53
  flex-direction: row;
65
54
  }
66
55
 
67
- .object-properties-section .editable-div {
68
- overflow: hidden;
69
- }
70
-
71
56
  .name-and-value {
72
57
  line-height: var(--sys-size-8);
73
58
  display: flex;
@@ -79,15 +64,6 @@ li.object-properties-section {
79
64
  flex-shrink: 0;
80
65
  }
81
66
 
82
- .editing-sub-part .name-and-value {
83
- overflow: visible;
84
- display: inline-flex;
85
- }
86
-
87
- .property-prompt {
88
- margin-left: var(--sys-size-3);
89
- }
90
-
91
67
  .tree-outline.hide-selection-when-blurred .selected:focus-visible {
92
68
  background: none;
93
69
  outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);
@@ -95,7 +71,7 @@ li.object-properties-section {
95
71
  }
96
72
 
97
73
  .tree-outline.hide-selection-when-blurred .selected:focus-visible ::slotted(*),
98
- .tree-outline.hide-selection-when-blurred .selected:focus-visible .tree-element-title,
74
+ .tree-outline.hide-selection-when-blurred .selected:focus-visible .tree-element-title:not(:has(.name-and-value, .gray-info-message)),
99
75
  .tree-outline.hide-selection-when-blurred .selected:focus-visible .name-and-value,
100
76
  .tree-outline.hide-selection-when-blurred .selected:focus-visible .gray-info-message {
101
77
  background: var(--sys-color-state-focus-highlight);
@@ -116,8 +92,7 @@ li.object-properties-section {
116
92
  color: ButtonText;
117
93
  }
118
94
 
119
- .tree-outline.hide-selection-when-blurred .selected:focus-visible .tree-element-title,
120
- .tree-outline.hide-selection-when-blurred .selected:focus-visible .name-and-value {
95
+ .tree-outline.hide-selection-when-blurred .selected:focus-visible .tree-element-title {
121
96
  background: transparent;
122
97
  box-shadow: none;
123
98
  }
@@ -931,6 +931,7 @@ export const knownContextValues: Set<string> = new Set([
931
931
  'command',
932
932
  'command-editor',
933
933
  'command-input',
934
+ 'comments-send-to-agent',
934
935
  'comments-status-bar-pill',
935
936
  'comments.toggle-comment-mode',
936
937
  'commit',
package/mcp/mcp.ts CHANGED
@@ -40,6 +40,7 @@ export {
40
40
  } from '../front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.js';
41
41
  export {AgentFocus} from '../front_end/models/ai_assistance/performance/AIContext.js';
42
42
  export {DebuggerWorkspaceBinding} from '../front_end/models/bindings/DebuggerWorkspaceBinding.js';
43
+ export type * as CD4ABridge from '../front_end/models/comment_manager/CD4ABridge.js';
43
44
  export * as CrUXManager from '../front_end/models/crux-manager/CrUXManager.js';
44
45
  export * as Formatter from '../front_end/models/formatter/formatter.js';
45
46
  export * as HeapSnapshotModel from '../front_end/models/heap_snapshot/heap_snapshot.js';
package/package.json CHANGED
@@ -20,6 +20,7 @@
20
20
  "bake-strings": "npm run collect-strings && vpython3 third_party/node/node.py --output third_party/i18n/bake-strings.js front_end/core/i18n/locales",
21
21
  "build": "vpython3 third_party/node/node.py --output scripts/run_build.mjs",
22
22
  "check-external-links": "vpython3 third_party/node/node.py --output scripts/check_external_links.js",
23
+ "check-gn": "vpython3 third_party/node/node.py --output scripts/gn_deps_verifier/cli.ts",
23
24
  "collect-strings": "vpython3 third_party/node/node.py --output third_party/i18n/collect-strings.js front_end",
24
25
  "debug-webtest": "vpython3 third_party/node/node.py --output scripts/npm_test.js --debug-devtools",
25
26
  "generate-protocol-resources": "vpython3 scripts/deps/generate_protocol_resources.py && git cl format --js",
@@ -90,5 +91,5 @@
90
91
  "yargs": "18.1.0",
91
92
  "yargs-unparser": "2.0.0"
92
93
  },
93
- "version": "1.0.1701636"
94
+ "version": "1.0.1703574"
94
95
  }