Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
320 commits
Select commit Hold shift + click to select a range
4152b30
Revert "Ensure parent groups of visible messages are always shown in …
bmeurer Sep 17, 2025
d2a54e2
Fix some infra typos
Lightning00Blade Sep 17, 2025
9f181d8
RPP: final tidy-ups from removal of clone work
jackfranklin Sep 17, 2025
118878f
[RPP] Add gzip compression option when exporting trace
Sep 17, 2025
8204b2b
RPP: change precision of units in Performance AI output
jackfranklin Sep 17, 2025
5048b8d
Configurable vertical offset for Tooltip
wolfib Sep 17, 2025
1bc3a3f
Fix debugging test from VS Code
Lightning00Blade Sep 17, 2025
0bffe4d
Add parse options to insight context
Sep 17, 2025
9be7a94
Add PRESUBMIT check for unintended `node_module` changes
Lightning00Blade Sep 17, 2025
df9da18
Validate that events are Complete
Sep 17, 2025
208b5ca
[AI] Add selectEventByKey to performance agent
Sep 17, 2025
1ccee02
RPP: Add test for enhanced test rehydration
paulirish Sep 17, 2025
d45a582
RPP: Correct trace event types for isolate/hash
paulirish Sep 18, 2025
9d92aac
Call `res.end()` when snapshot file is missing
Sep 17, 2025
0b6adc8
Update DevTools DEPS (trusted)
Sep 18, 2025
1bedadf
Roll puppeteer-core
Sep 17, 2025
647a7be
AI generated suggestion should not show if menu suggestion is keyword
Sep 17, 2025
948ad0b
Fix missing color text in computed styles tab
pfaffe Sep 18, 2025
0478f40
[GdpIntegration] Do not enable integration for off the record profiles
ergunsh Sep 18, 2025
b009d52
Tooltip: immediately hide on blur
wolfib Sep 18, 2025
691d941
[AI] Only show "Analyze trace" context once
Sep 17, 2025
1b11bcc
[AiCompletion] Fix showing AI suggestion even when there is no text
ergunsh Sep 18, 2025
5306543
Fix flaky perf test by stripping whitespace
jackfranklin Sep 18, 2025
4ce9e4a
[Regression] Fix `LayoutPane` leaking inspector common styles to othe…
ergunsh Sep 18, 2025
c8a0589
Replace tabs and form feeds with spaces in Windows curl command gener…
danilsomsikov Sep 18, 2025
06a8d19
Added metrics for code completion for UMA dashboard
Sep 17, 2025
c44d974
Ensure links to sources get linked correctly.
finnurbreki Sep 17, 2025
d1424c1
Update Chrome (for Testing) PIN
Lightning00Blade Sep 18, 2025
2ab6de5
[GdpIntegration] Handle remind me later, dismiss clicks and auto closing
ergunsh Sep 17, 2025
fc24585
[sources] Fix endless loop in outline generation.
bmeurer Sep 18, 2025
7e4f294
Update Chrome (for Testing) PIN
Sep 18, 2025
1ce37fe
Inline `navigator` reference in FormatterWorkerPool
jackfranklin Sep 18, 2025
2a5d1da
Dispatch AI suggestion only if cursor is at the same position
Sep 18, 2025
95eff53
Add a screenshot test to ARIAAttributesView
pfaffe Sep 18, 2025
aca4faa
Use LitHTML for rendering tree elements content in SearchResultsPane
danilsomsikov Sep 18, 2025
26ac4a0
Render empty states declaratively in the SearchView
danilsomsikov Sep 18, 2025
ba25548
Update DevTools DEPS (trusted)
Sep 18, 2025
3f3b926
Use `live()` directive for the search query input.
danilsomsikov Sep 18, 2025
ac31c0e
Move SearchResultsTreeElement expansion logic to SearchResultsPane.
danilsomsikov Sep 18, 2025
d28bfdb
[DevTools]: Make one row Timings and Custom tracks non expandable.
finnurbreki Sep 18, 2025
5ec59a7
Attribute name in attr() call is now link that highlights attribute
Sep 18, 2025
9566f73
ssci: update diff metadata to include autoroll exemption
wacky6 Sep 18, 2025
42dbe81
Update Chrome (for Testing) PIN
Sep 19, 2025
b82df50
Update DevTools DEPS (trusted)
Sep 19, 2025
e4823a0
Add a speedster badge triggering on insight click
Sep 16, 2025
42c0a64
Refactor SearchResultsPane to remove custom SearchResultsTreeElement.
danilsomsikov Sep 18, 2025
0d0d57e
Tooltip: make position-options configurable
wolfib Sep 19, 2025
89bac28
Make focusSearchInput an output function instead of an input parameter
danilsomsikov Sep 18, 2025
e660a85
Only register impression for the first time AI-suggestion is shown
Sep 19, 2025
fa71d87
Skip sources/can-disable-auto-sources-focus_test.ts due to flaky VE e…
Sep 19, 2025
3e99825
Conditionally disable GDP integration feature
wolfib Sep 19, 2025
0cf6c36
Improve type safety in Searchable view
Lightning00Blade Sep 19, 2025
ce85bb0
RPP: fix logic for pairing async events to deal with reused IDs
jackfranklin Sep 19, 2025
fe17e7f
Create TextPromptElement
pfaffe Sep 19, 2025
357bcb6
[PerfGraph]: Switch to 'Function Stack' label.
finnurbreki Sep 18, 2025
bf6fbbb
[AiCompletion] Pass console context to snippet completions as well
ergunsh Sep 19, 2025
129c036
Migrate test/e2e/console/console-insight_test.ts
Sep 19, 2025
0fe6c2e
Update DevTools DEPS (trusted)
Sep 19, 2025
6fd1ef5
Migrate AriaAttributesView
pfaffe Sep 19, 2025
c16c0e7
Roll browser-protocol
Sep 19, 2025
eba8569
[PerfGraph]: Fix track headers getting squished.
finnurbreki Sep 19, 2025
99c1f60
Update DevTools DEPS (trusted)
Sep 20, 2025
0d7ce23
Update DevTools DEPS (trusted)
Sep 22, 2025
2970105
Separate view and presenter concerns in the SearchResultsPane
danilsomsikov Sep 21, 2025
5ab40b5
RPP: deal with ID reuse when pairing async events
jackfranklin Sep 22, 2025
c0546c4
Update to @codemirror/lang-html 6.4.10.
bmeurer Sep 22, 2025
24aa0ac
Bump karma browser timeouts
OrKoN Sep 22, 2025
60f1a6e
Update Chrome (for Testing) PIN
OrKoN Sep 22, 2025
683107e
[AICompletion] Add tooltip for loading spinner
Sep 22, 2025
3c07799
[cleanup] Use correct tag for codeblocks
Lightning00Blade Sep 19, 2025
ac130cc
Add tests for ChangesSidebar
pfaffe Sep 22, 2025
9b5a483
Update infra for debugging
Lightning00Blade Sep 22, 2025
3aa3ddc
Update logic for checking if traditional and AI suggestion match
Sep 22, 2025
3e14e88
Add docs for bisect script
Lightning00Blade Sep 22, 2025
04f225f
Roll browser-protocol
Sep 22, 2025
871b670
[StartScript] Add `DevToolsGdpProfiles` to start script
ergunsh Sep 22, 2025
d2f57f1
[cleanup] Remove dead code
Lightning00Blade Sep 22, 2025
3de419d
Copy classes and event handles from the <li> nodes
danilsomsikov Sep 22, 2025
1330c94
Skip failing test
Sep 22, 2025
f6019c5
Update Chrome (for Testing) PIN
OrKoN Sep 22, 2025
78251d5
Update DevTools DEPS (trusted)
Sep 22, 2025
2c0315d
[GdpIntegration] Add visual logging to badge notifications and sync s…
ergunsh Sep 22, 2025
658f6aa
Do not show AI completion suggestion if it is repeating existing text
Sep 22, 2025
49aec91
[GdpIntegration] Add delay before triggering the badge
ergunsh Sep 22, 2025
67b1cb7
Implement the Code Whisperer badge for JS debugging
Sep 22, 2025
6074c42
[GdpIntegration] Snooze starter badge after cancelling sign-up
ergunsh Sep 22, 2025
fedf891
Add screenshot test in preparation for migration to widget.
Sep 22, 2025
2c69017
Fix no-lit-render-outside-of-view violation in CPUThrottlingSelector
Sep 22, 2025
4acb414
Properly handling tree elements added in the middle of the list
danilsomsikov Sep 22, 2025
913053e
[AI] Fetch content in getResourceContent if not already present
Sep 18, 2025
5171536
[AI] Linkify trace events referenced by Performance agent
Sep 22, 2025
408cd5d
[AI] Linkify URLs referenced by Performance agent
Sep 22, 2025
7e62229
[AI] Add more conversation starters based on insights
Sep 23, 2025
2b66c51
[AI] Use response suggestions UX in performance agent
Sep 23, 2025
d552d92
Update Chrome (for Testing) PIN
Sep 23, 2025
344cce9
Update DevTools DEPS (trusted)
Sep 23, 2025
01762aa
Roll browser-protocol
Sep 23, 2025
06529a1
Mark a node as expandable even if it has empty subtree
danilsomsikov Sep 23, 2025
cbc6746
Make TreeSearch.highlight static, so that it can be used with externa…
danilsomsikov Sep 23, 2025
cfbc077
[AI] Display just link text when bad link is seen
Sep 23, 2025
e2c0abf
[AiCompletion] Clear cached request when it is accepted or rejected
Sep 22, 2025
9e30fec
[GdpIntegration] Fix GDP images being focusable
ergunsh Sep 23, 2025
8554de9
[GdpIntegration] Add explicit jslogContext to badges
ergunsh Sep 23, 2025
5bb5394
AI: deal with Insights being errors and gracefully ignore them
jackfranklin Sep 23, 2025
59a161b
[AICompletion] Add placeholder link for "Learn more" in Settings
Sep 23, 2025
8a908ff
unit tests: add logging for navigations and tests
OrKoN Sep 23, 2025
9b53373
[AiCompletion] Add `ai-code-completion-spinner-tooltip` to known cont…
ergunsh Sep 23, 2025
c201f83
[AiCompletion] Allow wrapping of SourcesView toolbar
ergunsh Sep 23, 2025
8480e11
Implement the AI Explorer badge
Sep 23, 2025
7374143
[GdpIntegration] Use `devtools-button` instead of `devtools-chrome-li…
ergunsh Sep 23, 2025
eacd546
[cleanup] Remove uses of Lit.html``
Lightning00Blade Sep 23, 2025
3bcce13
Roll puppeteer-core
Sep 23, 2025
ae5832a
Update DevTools DEPS (trusted)
Sep 23, 2025
d78e1d3
AI: remove component import from PerformanceAgent
jackfranklin Sep 23, 2025
91e0a2f
Fully adopt UI eng vision in the SearchResultsPane
danilsomsikov Sep 23, 2025
27ffb7b
Add nroscino to owners
OrKoN Sep 23, 2025
c5172a7
Convert private members and methods in `SearchResultsPane` to use pri…
danilsomsikov Sep 23, 2025
674490a
Replace addSearchResults with setter to allow declarative updates
danilsomsikov Sep 23, 2025
58f07f8
Remove debugging statement for screen capture
Sep 23, 2025
4e48d67
[visual_logging] Enforce kebab case for new jslog contexts.
bmeurer Sep 23, 2025
2d0e165
Record screenshot errors when running locally
pfaffe Sep 18, 2025
f57b956
Fix SourcesPanel responsive layout with vertical drawer.
Sep 12, 2025
2cc6c17
RPP: fix incorrect Interactions timeline
jackfranklin Sep 23, 2025
168e5df
Collect screenshots from successful results too
Sep 23, 2025
f5e31c4
[a11y] Correct role and label for devtools-switch
ergunsh Sep 23, 2025
a879f4d
RPP: Fix orphan script association in EnhancedTracesParser
paulirish Sep 18, 2025
96ab526
[AI] Move suggestions parsing to base AiAgent class
Sep 23, 2025
23a60eb
Make min check in eventIsInBounds exclusive
Sep 23, 2025
cd732c3
Bump performance unit test timeouts
OrKoN Sep 23, 2025
5b0d4a5
[AI] Correctly ignore errors in AgentFocus.lookupEvent
Sep 23, 2025
d362d34
RPP: Ensure hasFakeConnection for rehydrated_devtools_app
paulirish Sep 23, 2025
024709f
Update Chrome (for Testing) PIN
Sep 24, 2025
5364b32
Update DevTools DEPS (trusted)
Sep 24, 2025
c17b8c5
Roll browser-protocol
Sep 24, 2025
934edcf
Roll puppeteer-core
Sep 24, 2025
3850d16
preload: use parsed speculation rules tag from protocol
Sep 24, 2025
2259470
Fix tabs not revealing correctly in narrow tab bar.
Sep 23, 2025
edc012d
Restrict language features to Node 22+ subset
OrKoN Sep 24, 2025
35f379a
Add new badge to the AI completion feature teaser
Sep 24, 2025
577106b
Update editor and eslint's tsconfig.json
OrKoN Sep 24, 2025
063a9e9
[GdpIntegration] Instrument `GdpClient.initialize` calls for metrics
ergunsh Sep 24, 2025
0d995f1
Add a screenshot test for the CoverageListView
danilsomsikov Sep 24, 2025
c32f0dc
Update Chrome (for Testing) PIN
Sep 24, 2025
91316c4
Implement new starter badge triggers
Sep 24, 2025
fc95361
[Animations] Fix toolbar view getting obscured on small heights
ergunsh Sep 24, 2025
007b894
[AI] Linkify elements referenced by Performance agent
Sep 23, 2025
725d8b6
[AI] Support network requests in Performance agent context
Sep 23, 2025
a877fc3
[AiCompletion] Fix teaser showing up even after continued typing in s…
ergunsh Sep 24, 2025
f72a998
Explicitly clear cached AI completion when console/history is cleared
Sep 24, 2025
bc179fc
Use Lit to render cells and default sorting in the CoverageListView d…
danilsomsikov Sep 24, 2025
829391b
Change PopoverHelper for devtools-tooltip
Sep 22, 2025
4234825
Add column to indicate whether network request is ad-related
Sep 23, 2025
e14475f
Remove aixba as owner and in refs
Sep 24, 2025
0ede77d
[AI] Use performance markdown renderer for historical chats
Sep 24, 2025
738a9c3
[AI] Add event key for all urls in insight formatter
Sep 24, 2025
397a013
[AI] Simplify AgentFocus properties
Sep 24, 2025
a960134
[AI] Move eventKey into AICallTree.serialize
Sep 24, 2025
17d08fe
Update Chrome (for Testing) PIN
Sep 25, 2025
0aa9e40
Update DevTools DEPS (trusted)
Sep 25, 2025
98d3f8f
Roll puppeteer-core
Sep 25, 2025
d944547
Document some ui engineering migration guidelines
pfaffe Sep 25, 2025
28ba59a
Document TextPrompt and Treeoutline migrations
pfaffe Sep 25, 2025
ebba779
Remove unused `ignoreTextFilter` parameter from `CoverageView.isVisib…
danilsomsikov Sep 25, 2025
3e2f420
Attempt to deflake pause-button_test'
pfaffe Sep 25, 2025
4016d12
Attempt to deflate colors-swatch test
pfaffe Sep 25, 2025
3403f7e
Remove helpers dead code
Sep 24, 2025
7c07e2b
Update owners
OrKoN Sep 24, 2025
92e0dbf
Make SearchView instantiate SearchResultsPane within Lit template
danilsomsikov Sep 25, 2025
2b6d68f
Fix circular dependency in Performance formatters
jackfranklin Sep 25, 2025
6803e2c
[UNO-d] Remove sync references in devtools strings
Sep 24, 2025
08c55df
Use existing helper to create FileManager stub for some tests
Sep 25, 2025
dff6831
Deflake network/network-request-view_test.ts
OrKoN Sep 25, 2025
39d56ad
Update Chrome (for Testing) PIN
Sep 25, 2025
737e9d9
Fix the version calculation script
OrKoN Sep 25, 2025
03453b2
Delay click logging events.
danilsomsikov Sep 25, 2025
1a3a252
Switch to CfT metadata
OrKoN Sep 25, 2025
2ddbd54
RPP AI: add animation reasons to CLS output
jackfranklin Sep 25, 2025
9a03869
[InspectorView] Keep drawer orientation preference per dock position
ergunsh Sep 25, 2025
6f794b3
Decouple `CoverageListView` from `URLCoverageInfo`
danilsomsikov Sep 25, 2025
b96c982
[AskAi]: Fix typo in URL for CLSCulprits.
finnurbreki Sep 25, 2025
f8e0ea3
Move filtering bits out of the CoverageListView to the CoverageView.
danilsomsikov Sep 25, 2025
a771927
[GdpIntegration] Do not check for eligibility if the user already has…
ergunsh Sep 25, 2025
5c49fef
[AiAssistance] Make "Turn on" button an inline span to wrap around text
ergunsh Sep 25, 2025
e395624
Enhanced traces: add privacy information icons when exporting
jackfranklin Sep 25, 2025
5d3072c
AI: move call frame description onto PerformanceTraceFormatter
jackfranklin Sep 25, 2025
615502b
[a11y] Fix using `aria-label` instead of `.title` on `devtools-button`
ergunsh Sep 25, 2025
45ab229
[Lighthouse] Link to build documentation in README.chromium
Sep 25, 2025
51be2d2
[AI] Use composition instead of dep injection for perf formatters
Sep 25, 2025
2d6e3ee
Update Chrome (for Testing) PIN
Sep 26, 2025
4093847
Update chromium devtools checklist for basic support
hanselfmu-chromium Sep 26, 2025
fcc4349
[GdpIntegration] Do not use frequency information in subscription pla…
ergunsh Sep 26, 2025
81d43d0
Use the non-hosted test helpers in cxx_extension tests
pfaffe Sep 26, 2025
b02c907
Add @starting-style debugging support
bramus Sep 26, 2025
0e9780e
[InspectorView] Fix not opening the drawer in correct position when i…
ergunsh Sep 26, 2025
b4e88d8
Add screenshot tests to BlockedURLsPane
pfaffe Sep 26, 2025
0ef5b06
[e2e] Fix flaky user-metrics test
Lightning00Blade Sep 25, 2025
8f8436b
Update Chrome (for Testing) PIN
Sep 26, 2025
fd438ec
Update DevTools DEPS (trusted)
Sep 26, 2025
d65aeaf
[e2e] Enable test that was disabled
Lightning00Blade Sep 26, 2025
243723c
[InspectorView] Fix setting jslog context for toggle orientation button
ergunsh Sep 26, 2025
89f191f
[RPP] Prevent wrongly excluding scripts from legacy/dupe JS insights
Sep 26, 2025
77804ac
RPP: Fix maximum call stack when loading enhanced trace
paulirish Sep 26, 2025
e13c80d
Update Chrome (for Testing) PIN
Sep 27, 2025
79e8742
Update DevTools DEPS (trusted)
Sep 27, 2025
40ca86c
Update Chrome (for Testing) PIN
Sep 27, 2025
ad8438e
Update DevTools DEPS (trusted)
Sep 27, 2025
4022ba3
Update Chrome (for Testing) PIN
Sep 28, 2025
4bbd98b
AI Chat Panel with Multi-Agent Framework (#1)
tysonthomas9 May 12, 2025
f2180cb
Update README.md
tysonthomas9 May 12, 2025
4cd390a
update readme
tysonthomas9 May 13, 2025
f3110e8
Update README.md
tysonthomas9 May 13, 2025
c7334f7
Update Documentation (#2)
tysonthomas9 May 13, 2025
78bf9ab
Update docs and agent
tysonthomas9 May 13, 2025
b15e10b
Updated documentation
tysonthomas9 May 13, 2025
c96cc23
Update readme
tysonthomas9 May 14, 2025
846d0d2
Add support for different models using litellm (#6)
tysonthomas9 May 19, 2025
6c5cbb5
Refactor code to smaller files and code cleanup (#8)
tysonthomas9 May 21, 2025
5544631
Fix duplicate message, settings and agent deselect bug (#9)
tysonthomas9 May 23, 2025
6480b1a
Update README.md with LiteLLM support
tysonthomas9 May 23, 2025
e4c9da2
Add document viewer and prompt edit feature (#11)
tysonthomas9 May 31, 2025
361c2a4
Evaluation Framework (#12)
tysonthomas9 Jun 9, 2025
4c05154
Readme.md: fixed steps to run the project (#13)
olesho Jun 9, 2025
bd14301
fix: report rendering (#14)
tysonthomas9 Jun 10, 2025
d8ab200
Refactor LLM SDK
tysonthomas9 Jun 16, 2025
3115e2e
Tracing with Langfuse (#19)
olesho Jun 30, 2025
cd43c48
Add support for VectorDB and Document Semantic Search (#15)
tysonthomas9 Jun 30, 2025
0c70287
More enhancements and big fixes (#20)
tysonthomas9 Jul 9, 2025
41b4a4d
Feat/external eval server (#23)
olesho Jul 18, 2025
d7af13a
Minor enhancements (#24)
tysonthomas9 Jul 21, 2025
7776f6f
Minor update (#27)
tysonthomas9 Jul 22, 2025
a5c4713
Fix OAuth Implementation (#29)
tysonthomas9 Jul 25, 2025
df89e51
Feat/external eval server part 2 (#28)
olesho Jul 25, 2025
7dc8e21
Version tracker, tracing enhancements and ui changes (#26)
tysonthomas9 Aug 7, 2025
1188eb7
fix the schema extractor and bump version (#33)
tysonthomas9 Aug 7, 2025
1976da7
Add GPT 5 support (#34)
tysonthomas9 Aug 7, 2025
fbbe93c
Add support for Open Router GPT-5 (#35)
tysonthomas9 Aug 7, 2025
7ada202
Add Claude Code GitHub Workflow (#36)
tysonthomas9 Aug 15, 2025
75ee770
Feat/evals ready (#37)
olesho Aug 16, 2025
59fc54a
Extended tracing to all tool calls (#38)
olesho Aug 17, 2025
db491a9
Dockerize devtools frontend (#39)
olesho Aug 26, 2025
3c5bb91
Fixed docker build (#40)
olesho Aug 29, 2025
be45174
Update agent framework structure (#43)
tysonthomas9 Sep 6, 2025
27bd2d3
Fix the model config issue, OpenRouter Oauth issue and model refresh …
tysonthomas9 Sep 9, 2025
4d23d95
Feat/automation build (#48)
olesho Sep 12, 2025
4ac1cdb
Add initial MCP version with SDK imports (#44)
tysonthomas9 Sep 13, 2025
c89bcae
fix: build issue with latest main merge (#49)
tysonthomas9 Sep 13, 2025
634a6b2
MCP OAuth Support and more updates (#51)
tysonthomas9 Sep 22, 2025
d482826
Local Dockerised Eval Server (#52)
olesho Sep 24, 2025
03b04cc
fix build
tysonthomas9 Sep 28, 2025
cb56591
Merge branch 'main' into ChromeDevTools-main
tysonthomas9 Sep 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 the V8 project authors. All rights reserved.
# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Expand Down
30 changes: 6 additions & 24 deletions .vscode/devtools-workspace-launch.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,25 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Run unit tests in VS Code debugger",
"preLaunchTask": "1-build_Debug",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "test", "front_end"],
"port": 7722,
"timeout": 30000,
"browserLaunchLocation": "workspace",
"outputCapture": "std",
"trace": true
},
{
"type": "node",
"request": "launch",
"name": "Run end-to-end tests in VS Code debugger",
"preLaunchTask": "1-build_Debug",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "test", "test/e2e"]
},
{
"type": "node",
"request": "launch",
"name": "Run test",
"name": "Run current test file",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "test", "--", "${file}"]
},
{
"type": "node",
"request": "launch",
"name": "Debug test",
"name": "Debug current test file",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"runtimeArgs": ["run", "test", "--", "--debug", "${file}"]
"runtimeArgs": ["run", "test", "--", "--debug", "${file}"],
"env": {
"VSCODE_DEBUGGER": true
}
}
]
}
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
AbdAlRahman Gad <abdobngad@gmail.com>
Ajay Panthagani <ajaypanthagani321@gmail.com>
Alesandro Ortiz <alesandro@alesandroortiz.com>
Alex Ho <wjhe1016@gmail.com>
Alexander Stammbach <alexander@stammbach.io>
Alexey Rodionov <fluorescent.hallucinogen@gmail.com>
Ameen Basha <ameenbasha111@gmail.com>
Expand Down
16 changes: 8 additions & 8 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ vars = {
'build_with_chromium': False,

'build_url': 'https://chromium.googlesource.com/chromium/src/build.git',
'build_revision': '7133d7642a7f3a61dd3154f8685a6018c1f159a0',
'build_revision': 'dd54bc718b7c5363155660d12b7965ea9f87ada9',

'buildtools_url': 'https://chromium.googlesource.com/chromium/src/buildtools.git',
'buildtools_revision': '958004daacdd90070d44b236a1581c81d71740ca',
'buildtools_revision': '88a3274e7b0c6314c84ed202ee6377d1cf9e22b0',

'depot_tools_url': 'https://chromium.googlesource.com/chromium/tools/depot_tools.git',
'depot_tools_revision': '3accee0833540add4e5e608d222e01a768d9f94e',
'depot_tools_revision': '73e46667ed3a1326cf564747737b4e11137d7f29',

'inspector_protocol_url': 'https://chromium.googlesource.com/deps/inspector_protocol',
'inspector_protocol_revision': '07272ab9a30fd555890fda0718f4c2c25931653a',
'inspector_protocol_revision': '1ac1ec6d0c61c081cc73793e491b987beecccde1',

# Keeping track of the last time we rolled the browser protocol files.
'chromium_browser_protocol_revision' : 'a0857bc5fc46c520d7fe71beb1b0a0d7b0e60136',
'chromium_browser_protocol_revision' : 'c0cd408650a942d836b07c15facd3f4fede1d578',

'clang_format_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git',
'clang_format_revision': '37f6e68a107df43b7d7e044fd36a13cbae3413f2',

'emscripten_tag': 'ade9d780ff17c88d81aa13860361743e3c1e1396',

# GN CIPD package version.
'gn_version': 'git_revision:5d0a4153b0bcc86c5a23310d5b648a587be3c56d',
'gn_version': 'git_revision:81b24e01531ecf0eff12ec9359a555ec3944ec4e',

'cmake_version': 'version:2@3.21.3',

Expand All @@ -49,7 +49,7 @@ vars = {
# Chrome version used for tests. It should be regularly updated to
# match the Canary version listed here:
# https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json
'chrome': '142.0.7409.0',
'chrome': '142.0.7439.0',

# 'magic' text to tell depot_tools that git submodules should be accepted but
# but parity with DEPS file is expected.
Expand All @@ -59,7 +59,7 @@ vars = {
'non_git_source': 'True',

# siso CIPD package version
'siso_version': 'git_revision:02cbec18d7b18a0733fec402f2e90ff071b98f63',
'siso_version': 'git_revision:acfc39d4c923834851300e8676daf8fc47e53a2d',
}

# Only these hosts are allowed for dependencies in this DEPS file.
Expand Down
99 changes: 87 additions & 12 deletions PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
`git cl presubmit -v -v` to debug presubmit checks.
"""

import re
import sys
import six
import time
Expand All @@ -27,16 +28,24 @@
r'^front_end[\\/]core[\\/]common[\\/]Color\.ts$', # Apple copyright
r'^front_end[\\/]core[\\/]common[\\/]Object\.ts$', # Apple copyright
r'^front_end[\\/]core[\\/]common[\\/]ResourceType\.ts$', # Apple copyright
r'^front_end[\\/]core[\\/]dom_extension[\\/]DOMExtension\.ts$', # Apple copyright
# Apple copyright
r'^front_end[\\/]core[\\/]dom_extension[\\/]DOMExtension\.ts$',
r'^front_end[\\/]core[\\/]platform[\\/]UIString\.ts$', # Apple copyright
r'^front_end[\\/]core[\\/]sdk[\\/]Resource\.ts$', # Apple copyright
r'^front_end[\\/]core[\\/]sdk[\\/]Script\.ts$', # Apple copyright
r'^front_end[\\/]ui[\\/]legacy[\\/]components[\\/]data_grid[\\/]DataGrid\.ts$', # Apple copyright
r'^front_end[\\/]third_party[\\/].*', # 3rd party code
# Apple copyright
r'^front_end[\\/]ui[\\/]legacy[\\/]components[\\/]data_grid[\\/]DataGrid\.ts$',
r'^node_modules[\\/].*', # 3rd party code
r'^scripts[\\/]build[\\/]build_inspector_overlay\.py$', # Lines too long
r'^scripts[\\/]build[\\/]code_generator_frontend\.py$',
r'^scripts[\\/]deps[\\/]manage_node_deps\.py$', # Lines too long
r'front_end[\\/]generated[\\/]ARIAProperties\.ts$' # Auto-generated files
# Auto-generated files
r'front_end[\\/]generated[\\/]InspectorBackendCommands\.ts$'
]


def _ExecuteSubProcess(input_api,
output_api,
script_path,
Expand Down Expand Up @@ -246,13 +255,7 @@ def CheckDevToolsLint(input_api, output_api):
]

lint_related_directories = [
input_api.os_path.join(input_api.PresubmitLocalPath(), 'node_modules',
'eslint'),
input_api.os_path.join(input_api.PresubmitLocalPath(), 'node_modules',
'stylelint'),
input_api.os_path.join(input_api.PresubmitLocalPath(), 'node_modules',
'@typescript-eslint'),
input_api.os_path.join(scripts_directory, 'eslint_rules'),
input_api.os_path.join(input_api.PresubmitLocalPath(), 'node_modules'),
]

lint_config_files = _GetAffectedFiles(
Expand Down Expand Up @@ -400,9 +403,38 @@ def CheckNodeModules(input_api, output_api):
if not Path(file_path).is_file():
results.extend([
output_api.PresubmitError(
"node_modules/%s is missing. Use npm run install-deps to re-create it."
"node_modules/%s is missing. Use `npm run install-deps` to re-create it."
% file)
])

node_module_files = _GetAffectedFiles(input_api, [
input_api.os_path.join(input_api.PresubmitLocalPath(), 'node_modules')
], [], [])

# If the changes are above 100 assume that touching the node_modules
# was intentional
if len(node_module_files) == 0 or len(node_module_files) > 100:
return results

message = (
"Changes to `node_modules` detected.\n" +
"This is third party code and should not be modified.\n" +
"`node_module` are mainly used in testing infra\n" +
"For bug fixes and features usually you should not need this change.\n"
+ "Was this change intentional?")
results.extend([
output_api.PresubmitPromptWarning(
message,
locations=[
output_api.PresubmitResultLocation(
# Location expects relative path
# But _GetAffectedFiles returns us absolute path
input_api.os_path.relpath(
node_module_files[0],
input_api.PresubmitLocalPath()), ),
])
])

return results


Expand All @@ -416,7 +448,7 @@ def CheckNoUncheckedFiles(input_api, output_api):
out, _ = process.communicate()
if process.returncode != 0:
files_changed_process = input_api.subprocess.Popen(
['git', 'diff', '--name-only'],
['git', 'diff'],
stdout=input_api.subprocess.PIPE,
stderr=input_api.subprocess.STDOUT)
files_changed, _ = files_changed_process.communicate()
Expand All @@ -430,6 +462,50 @@ def CheckNoUncheckedFiles(input_api, output_api):
return []


def CheckKnownContextValues(input_api, output_api):
"""Ensure all additions to `KnownContextValues.ts` following the naming convention.

This check ensures that all new cases added to the enum in `KnownContextValues.ts`
follow the extended Kebab Case naming convention. Specifically it doesn't look at
unchanged lines, because there are various existing values that cannot be changed
(easily).
"""
# This regexp matches the one we use in `StringUtilities.isExtendedKebabCase()`.
kebab_case_re = re.compile(
r"^([a-z0-9]+(?:-[a-z0-9]+)*\.)*[a-z0-9]+(?:-[a-z0-9]+)*$")
local_path = input_api.os_path.join('front_end', 'ui', 'visual_logging',
'KnownContextValues.ts')
invalid_contexts = []
for f in filter(
lambda x: (x.LocalPath() == local_path and x.Action() == 'M'),
input_api.AffectedFiles()):
# Loop only through the changed lines of the affected file.
for _, line in f.ChangedContents():
match = re.search(r"\s+'(.+)',", line)
if match:
context = match.group(1)
if not kebab_case_re.match(context):
invalid_contexts.append(context)
continue

if not invalid_contexts:
return []
return [
output_api.PresubmitError(
message=f"Invalid jslog context(s): {', '.join(invalid_contexts)}",
long_text=
("""The jslog contexts must follow the extended Kebab Case naming convention, where
words are separated with either a dash (`-`) or a dot (`.`), and all characters
must be lower-case alphanumeric.
"""),
locations=[
output_api.PresubmitResultLocation(file_path=local_path)
],
)
]



# Canned check wrappers below.


Expand Down Expand Up @@ -466,7 +542,6 @@ def CheckGenderNeutral(input_api, output_api):
return input_api.canned_checks.CheckGenderNeutral(input_api, output_api)



def CheckAuthorizedAuthor(input_api, output_api):
return input_api.canned_checks.CheckAuthorizedAuthor(
input_api,
Expand Down
2 changes: 1 addition & 1 deletion build
Submodule build updated from 7133d7 to dd54bc
2 changes: 1 addition & 1 deletion build_overrides/build.gni
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2016 The Chromium project authors. All rights reserved.
# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Expand Down
2 changes: 1 addition & 1 deletion buildtools
Submodule buildtools updated from 958004 to 88a327
13 changes: 8 additions & 5 deletions config/gni/devtools_grd_files.gni
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ grd_files_bundled_sources = [
"front_end/Images/frame-crossed.svg",
"front_end/Images/frame-icon.svg",
"front_end/Images/frame.svg",
"front_end/Images/gdp-logo-standalone.svg",
"front_end/Images/gdp-logo-dark.png",
"front_end/Images/gdp-logo-light.png",
"front_end/Images/gear-filled.svg",
"front_end/Images/gear.svg",
"front_end/Images/gears.svg",
Expand Down Expand Up @@ -1063,6 +1064,7 @@ grd_files_unbundled_sources = [
"front_end/core/sdk/CSSQuery.js",
"front_end/core/sdk/CSSRule.js",
"front_end/core/sdk/CSSScope.js",
"front_end/core/sdk/CSSStartingStyle.js",
"front_end/core/sdk/CSSStyleDeclaration.js",
"front_end/core/sdk/CSSStyleSheetHeader.js",
"front_end/core/sdk/CSSSupports.js",
Expand Down Expand Up @@ -1186,6 +1188,9 @@ grd_files_unbundled_sources = [
"front_end/models/ai_assistance/data_formatters/UnitFormatters.js",
"front_end/models/ai_assistance/debug.js",
"front_end/models/ai_assistance/injected.js",
"front_end/models/ai_assistance/performance/AICallTree.js",
"front_end/models/ai_assistance/performance/AIContext.js",
"front_end/models/ai_assistance/performance/AIQueries.js",
"front_end/models/ai_code_completion/AiCodeCompletion.js",
"front_end/models/ai_code_completion/debug.js",
"front_end/models/autofill_manager/AutofillManager.js",
Expand Down Expand Up @@ -1443,6 +1448,7 @@ grd_files_unbundled_sources = [
"front_end/panels/ai_assistance/components/ExploreWidget.js",
"front_end/panels/ai_assistance/components/MarkdownRendererWithCodeBlock.js",
"front_end/panels/ai_assistance/components/ScrollPinHelper.js",
"front_end/panels/ai_assistance/components/PerformanceAgentMarkdownRenderer.js",
"front_end/panels/ai_assistance/components/UserActionRow.js",
"front_end/panels/ai_assistance/components/chatView.css.js",
"front_end/panels/ai_assistance/components/exploreWidget.css.js",
Expand Down Expand Up @@ -2214,14 +2220,10 @@ grd_files_unbundled_sources = [
"front_end/panels/timeline/timelineSelectorStatsView.css.js",
"front_end/panels/timeline/timelineStatusDialog.css.js",
"front_end/panels/timeline/timelineTreeView.css.js",
"front_end/panels/timeline/utils/AICallTree.js",
"front_end/panels/timeline/utils/AIContext.js",
"front_end/panels/timeline/utils/EntryNodes.js",
"front_end/panels/timeline/utils/FreshRecording.js",
"front_end/panels/timeline/utils/Helpers.js",
"front_end/panels/timeline/utils/IgnoreList.js",
"front_end/panels/timeline/utils/ImageCache.js",
"front_end/panels/timeline/utils/InsightAIContext.js",
"front_end/panels/timeline/utils/Treemap.js",
"front_end/panels/web_audio/WebAudioModel.js",
"front_end/panels/web_audio/WebAudioView.js",
Expand All @@ -2234,6 +2236,7 @@ grd_files_unbundled_sources = [
"front_end/panels/whats_new/releaseNoteView.css.js",
"front_end/services/puppeteer/PuppeteerConnection.js",
"front_end/services/trace_bounds/TraceBounds.js",
"front_end/services/tracing/FreshRecording.js",
"front_end/services/tracing/PerformanceTracing.js",
"front_end/services/tracing/TracingManager.js",
"front_end/services/window_bounds/WindowBoundsService.js",
Expand Down
3 changes: 2 additions & 1 deletion config/gni/devtools_image_files.gni
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ devtools_image_files = [
"toolbarResizerVertical.png",
"touchCursor_2x.png",
"touchCursor.png",
"gdp-logo-light.png",
"gdp-logo-dark.png",
]

devtools_svg_sources = [
Expand Down Expand Up @@ -166,7 +168,6 @@ devtools_svg_sources = [
"frame-crossed.svg",
"frame-icon.svg",
"frame.svg",
"gdp-logo-standalone.svg",
"gear-filled.svg",
"gear.svg",
"gears.svg",
Expand Down
3 changes: 1 addition & 2 deletions config/owner/COMMON_OWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
file://config/owner/ENG_REVIEW_OWNERS

aixba@chromium.org
alexrudenko@chromium.org
alinavarkki@chromium.org
andoli@chromium.org
Expand All @@ -16,8 +15,8 @@ kprokopenko@chromium.org
leese@chromium.org
mathias@chromium.org
nancyly@chromium.org
nechaev@chromium.org
nharshunova@chromium.org
nroscino@chromium.org
nvitkov@chromium.org
paulirish@chromium.org
petermueller@chromium.org
Expand Down
13 changes: 12 additions & 1 deletion config/typescript/tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": ["esnext", "dom", "dom.iterable", "webworker", "webworker.iterable"],
"target": "ES2023",
"lib": [
"ES2023",
"ES2024.Promise",
"ESNext.Iterator",
"ESNext.Collection",
"ESNext.Array",
"dom",
"dom.iterable",
"webworker",
"webworker.iterable"
],
"outDir": "ignored-for-vscode"
},
"include": [
Expand Down
Loading