Commit Graph
25452 Commits
Author SHA1 Message Date
Kim-Anh Tran c698f451d9 Reduce paddings for style and box editors
Screenshots: https://imgur.com/a/0BPDtY9
Bug: none
Change-Id: I558c579060d84a17b2ff39c7a7a66aef4bd91f13
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415800
Auto-Submit: Kim-Anh Tran <kimanh@chromium.org>
Reviewed-by: Kateryna Prokopenko <kprokopenko@chromium.org>
Commit-Queue: Kateryna Prokopenko <kprokopenko@chromium.org>
2025-03-31 07:08:06 -07:00
devtools-ci-autoroll-builder 8f5d339bb7 Roll browser-protocol
This roll requires a manual review. See http://go/reviewed-rolls for guidance.

In case of failures or errors, reach out to someone from config/owner/COMMON_OWNERS.

Roll created at https://cr-buildbucket.appspot.com/build/8718882819977049313

R=devtools-waterfall-sheriff-onduty@rotations.google.com

Bug: none
Change-Id: Idd3d0b1de31dc784a35eac2b497aa3c74af8a563
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6414692
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2025-03-31 06:29:56 -07:00
Philip Pfaffe 53fc6d324c [elements] align slot adorner
Fixed: 402089780
Change-Id: Ic6378a332a9aca6f00ad78faf0d0c0767b1dd767
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6407775
Auto-Submit: Philip Pfaffe <pfaffe@chromium.org>
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
Reviewed-by: Alina Varkki <alinavarkki@chromium.org>
2025-03-31 06:07:28 -07:00
Jack Franklin 61e38de4a0 Increase 10s timeout on tracing tests to 15s
We have seen more timeouts recently, which is probably in part because
the functionality of the engine has been extended. Let's see if a higher
limit increases stability on the bots.

Bug: none
Change-Id: I8eade981a07865bd4d2f0d3a18c7cd88218c20c8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415797
Reviewed-by: Eric Leese <leese@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Eric Leese <leese@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
2025-03-31 06:01:23 -07:00
Jack Franklin 664654157c RPP: ensure labels being edited get drawn above others
Which makes it easier to edit them in the event that other labels are
overlapping.

Fixed: 406938980
Change-Id: I30f7d7232ac2ecc3e9f5a213f007bd53cf0bef3f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415908
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Alina Varkki <alinavarkki@chromium.org>
Reviewed-by: Alina Varkki <alinavarkki@chromium.org>
2025-03-31 05:39:34 -07:00
devtools-ci-autoroll-builder f53ea2f095 Update Chrome (for Testing) PIN
Chromium pin updated to 136.0.7101.0

Roll created at https://cr-buildbucket.appspot.com/build/8718882819977049313

Bug: none
Change-Id: If6b62baf238367a967eb1a5e4ac4089c90e2a0cd
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415510
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2025-03-31 05:38:30 -07:00
Nikolay Vitkov 3c6f9de893 [AI Assistance] Don't hide PatchWidget while applying changes
We try to see if any changes need to be applied but
we already stashed them thus on update the PatchWidget
disappears.

Fixed: 406217587
Change-Id: I87528f082e713b43076363cdd71d430dd6ea8631
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415793
Auto-Submit: Nikolay Vitkov <nvitkov@chromium.org>
Reviewed-by: Ergün Erdoğmuş <ergunsh@chromium.org>
Commit-Queue: Ergün Erdoğmuş <ergunsh@chromium.org>
2025-03-31 04:48:20 -07:00
Nikolay Vitkov b00393cd97 [eslint] Fix type checking in custom EsLint rules
Either fix or suppress the errors for now

Bug: 407085691
Change-Id: I45c5bd4c3644571ddaebcba45914c209ebfa46f5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415909
Auto-Submit: Nikolay Vitkov <nvitkov@chromium.org>
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
Reviewed-by: Danil Somsikov <dsv@chromium.org>
Commit-Queue: Danil Somsikov <dsv@chromium.org>
2025-03-31 04:42:11 -07:00
Nikolay Vitkov 935df521b1 [AI Assistance] Ignore changes that don't have a diff
Updates the lineDiff to return empty array of changes
when both the original and the changed text are
equal.
Then check in the CombinedDiffView whether there were
actual diff before rendering.

Bug: 406699819
Change-Id: I3f637f22b42a0eb4853b9897c2ea08fc632f79ea
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6404313
Reviewed-by: Ergün Erdoğmuş <ergunsh@chromium.org>
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
2025-03-31 04:00:29 -07:00
Kim-Anh Tran 6c5d77f8f4 [GM3Restyling] Update filter bar in experiments settings
This updates the filter bar to the updated filter in the experiments
settings.

Before: https://i.imgur.com/oniQF3F.png
After: https://i.imgur.com/V6L8Rtp.png
Fixed: 407480170
Change-Id: Ieae203a2f3576bfa3696d1e08f7b99b60c459735
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415792
Reviewed-by: Kateryna Prokopenko <kprokopenko@chromium.org>
Commit-Queue: Kateryna Prokopenko <kprokopenko@chromium.org>
Commit-Queue: Kim-Anh Tran <kimanh@chromium.org>
Auto-Submit: Kim-Anh Tran <kimanh@chromium.org>
2025-03-31 03:54:59 -07:00
Kim-Anh Tran 36943d1130 [GM3Restyling] Hide layers information if nothing can be shown
This changes the layers panel to only show the empty state if nothing
can be shown yet.

Before: https://i.imgur.com/jC0gqBa.png
After: https://i.imgur.com/VvoIxie.png
Fixed: 400383914
Change-Id: I0ea7d8438d86dc8a000b09582739368a4ac9b171
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415488
Reviewed-by: Kateryna Prokopenko <kprokopenko@chromium.org>
Commit-Queue: Kateryna Prokopenko <kprokopenko@chromium.org>
Auto-Submit: Kim-Anh Tran <kimanh@chromium.org>
2025-03-31 03:28:07 -07:00
Philip Pfaffe 3b548905b3 Partially revert crrev.com/c/6403238
Undo the test script changes, which broke the integrated checkout
workflow.

Bug: none
Change-Id: I1a29f605949265510c15725b1fd370b9ddd369ec
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415791
Auto-Submit: Philip Pfaffe <pfaffe@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
2025-03-31 03:09:07 -07:00
Nikolay Vitkov f591172202 [eslint] Fix extension-api
We need to proved the tsconfig so EsLint can lint correctly

Bug: none
Change-Id: If2ee68deef76e51e4a9096e417e9c6bb01ba7e67
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6407772
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
2025-03-31 02:36:29 -07:00
Danil Somsikov bbd3ef7096 Do not replace function parameters
Bug: 400353541
Change-Id: Ia77304e4cde91b216b9e4f90bfc2fba645c576ad
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6409254
Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
Commit-Queue: Danil Somsikov <dsv@chromium.org>
2025-03-31 02:28:04 -07:00
Jack Franklin b2557558ff RPP: fix mistaken instruction in Perf prompt
Bug: none
Change-Id: I8100315ff8b5eeb9b150ab32d3f963371688a864
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415790
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
Commit-Queue: Andres Olivares <andoli@chromium.org>
2025-03-31 02:20:58 -07:00
Philip Pfaffe 79c3b12631 [css value tracing] cap the maximum width of the tooltip
See bug for screenshot.

Fixed: 404535761
Change-Id: I9d94779eb01374d377a2f6d78ed68afc711cbbc9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6415768
Commit-Queue: Kim-Anh Tran <kimanh@chromium.org>
Auto-Submit: Philip Pfaffe <pfaffe@chromium.org>
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
2025-03-31 01:47:01 -07:00
Jack Franklin 78d3973605 Reland "RPP: create new annotations AI agent"
This is a reland of commit 9995b96203

Original change's description:
> RPP: create new annotations AI agent
>
> Required mostly for metrics so we can track its usage accurately rather
> than bundled in with the existing "Ask AI" integration.
>
> (Googlers: see the attached bug for a link to the backend CL, this needs
> to land first before this can land).
>
> Bug: 406795908
> Change-Id: Ibf0fff042f72a6e622e9d9d9e87769a71feb23af
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6407494
> Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org>
> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>

Bug: 406795908
Change-Id: I0c3bc41014a1f1f120fbb4f68f701eafcb4216a0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6405318
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org>
2025-03-31 01:29:30 -07:00
Philip Pfaffe cdcca1ad4e Check file access on the host side of the extension api
Fixed: 406034851
Change-Id: I125bfa572ba9e987569e8524da99de84db83d389
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6401296
Reviewed-by: Danil Somsikov <dsv@chromium.org>
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
2025-03-31 00:40:50 -07:00
devtools-ci-autoroll-builder 4091180134 Update Chrome (for Testing) PIN
Chromium pin updated to 136.0.7100.0

Roll created at https://cr-buildbucket.appspot.com/build/8718916799054713345

Bug: none
Change-Id: Ib19d46b065d15337c133c9cb494c214e7cc2f92b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6414968
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2025-03-31 00:24:22 -07:00
devtools-ci-autoroll-builder bad7f7c656 Update DevTools DEPS (trusted)
Rolling buildtools: https://chromium.googlesource.com/chromium/src/buildtools/+log/ac0421e..6f35929

Roll created at https://cr-buildbucket.appspot.com/build/8718916799054713345

Bug: none
Change-Id: I082bdf9a7486eb31196b3bc0ea9942be83be8f0b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6414948
Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2025-03-31 00:23:18 -07:00
devtools-ci-autoroll-builder e9da51da2e Update Chrome (for Testing) PIN
Chromium pin updated to 136.0.7096.0

Roll created at https://cr-buildbucket.appspot.com/build/8719097992811764721

Bug: none
Change-Id: If18ae8511e3f7cc7a7dffb07580b16c9ef6db748
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6410853
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2025-03-28 20:46:08 -07:00
devtools-ci-autoroll-builder 70dd637939 Update DevTools DEPS (trusted)
Rolling buildtools: https://chromium.googlesource.com/chromium/src/buildtools/+log/244e7cf..ac0421e

Roll created at https://cr-buildbucket.appspot.com/build/8719097992811764721

Bug: none
Change-Id: Ie648e640d53007439852e425c770d7b798f07325
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6411136
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2025-03-28 20:40:09 -07:00
Adam Raine f2ba87197e Revert "[NetworkRequestDetails] Fix initiator row styling"
This reverts commit 6333612700.

Reason for revert: Obsolete with https://crrev.com/6404821

Original change's description:
> [NetworkRequestDetails] Fix initiator row styling
>
> The initiator row was separated because the link can be very long. This
> CL groups the initiator with everything else but applies `ellipis` to
> contain the size.
>
> Bug: 406864076
> Change-Id: I7088b64f7b3154e457a46f515b35908102c7cd5e
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6404927
> Auto-Submit: Adam Raine <asraine@chromium.org>
> Commit-Queue: Adam Raine <asraine@chromium.org>
> Reviewed-by: Paul Irish <paulirish@chromium.org>

Bug: 406864076
Change-Id: I9fa423e170455f4235bb5feb7c77a35691f6b3a7
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6410873
Commit-Queue: Adam Raine <asraine@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2025-03-28 18:13:45 -07:00
Nikolay Vitkov 4eac8f8231 [eslint] Run type checking on custom rules
Currently behind a flag, as there are a lot of error.
This CL fixes some of them.

Bug: 407085691
Change-Id: I736472ff5a9d8c46e45a1ce89a42199774d9075f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6410471
Auto-Submit: Nikolay Vitkov <nvitkov@chromium.org>
Reviewed-by: Danil Somsikov <dsv@chromium.org>
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
2025-03-28 16:08:54 -07:00
Connor Clark 1bbd38cc8d [RPP] Remove table-layout: fixed from Table component
Bug: none
Change-Id: I29719ca6bbf4924c1a3066c34e76405f0e5d8abc
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6410711
Reviewed-by: Paul Irish <paulirish@chromium.org>
Commit-Queue: Connor Clark <cjamcl@chromium.org>
Commit-Queue: Paul Irish <paulirish@chromium.org>
Auto-Submit: Connor Clark <cjamcl@chromium.org>
2025-03-28 15:25:11 -07:00
Connor Clark 39b158a8da [RPP] Remove Duplicated JavaScript insight from experimental
Also configures the "initialView" when opening the treemap from this
insight card.

Fixed: 394373632
Change-Id: Ic0ed412193a337d7d68e031d14a664516bb8d6ee
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6408022
Commit-Queue: Paul Irish <paulirish@chromium.org>
Commit-Queue: Connor Clark <cjamcl@chromium.org>
Auto-Submit: Connor Clark <cjamcl@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
2025-03-28 14:00:27 -07:00
Adam Raine 42fe2c4d98 [LiveMetrics] Render field data phase column on the right
Fixed: 406826928
Change-Id: I7bd68732e5db30c7e55f2c2b4eb446d0c677c93c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6404928
Commit-Queue: Paul Irish <paulirish@chromium.org>
Commit-Queue: Adam Raine <asraine@chromium.org>
Auto-Submit: Adam Raine <asraine@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
2025-03-28 13:15:54 -07:00
Adam Raine 6333612700 [NetworkRequestDetails] Fix initiator row styling
The initiator row was separated because the link can be very long. This
CL groups the initiator with everything else but applies `ellipis` to
contain the size.

Bug: 406864076
Change-Id: I7088b64f7b3154e457a46f515b35908102c7cd5e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6404927
Auto-Submit: Adam Raine <asraine@chromium.org>
Commit-Queue: Adam Raine <asraine@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
2025-03-28 12:50:32 -07:00
Andrés Olivares 89847dd997 [RPP] Sort sample events after running SamplesIntegrator
With https://crrev.com/c/6394268 events created for samples with a trace
id were added after the ones created for all the obtained samples. As a
consequence, the containing array ended up unsorted. This can cause
an error  where an unordered event is unexpectedly found when
building the tree hierarchy in the trace engine.

To fix this, the containing array is ordered at the end of the
buildProfileCalls, which contains the main implementation of the
SamplesIntegrator.

Bug: none
Change-Id: I9e26e7890b91f5be1510e4fbc7c29e577aed4ed0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6408651
Commit-Queue: Paul Irish <paulirish@chromium.org>
Auto-Submit: Andres Olivares <andoli@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
2025-03-28 11:57:01 -07:00
Connor Clark 61c9086ba8 [RPP] Fix type failure in insights AI getSuggestions
Back-to-back CLs with indirect impact on each other caused this.

Bug: 405925760
Change-Id: I44a00e678ec71a87717b57c70416d8f53f13909b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6409451
Commit-Queue: Paul Irish <paulirish@chromium.org>
Commit-Queue: Connor Clark <cjamcl@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
Auto-Submit: Connor Clark <cjamcl@chromium.org>
2025-03-28 11:55:58 -07:00
Jack Franklin ed77ee4244 RPP: add default suggestions for each Insight
Bug: 405925760
Change-Id: I12b70506b58bf684fc55162d6be99df4012b6a41
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6397060
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Nancy Li <nancyly@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Nancy Li <nancyly@chromium.org>
2025-03-28 10:31:21 -07:00
Connor Clark c029e350fc [RPP] Add Legacy JavaScript insight model
Bug: 394373852
Change-Id: I97b0ee1af0b025dddfc691a11137c84f6c28c135
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6405705
Commit-Queue: Paul Irish <paulirish@chromium.org>
Auto-Submit: Connor Clark <cjamcl@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
2025-03-28 10:09:03 -07:00
Jack Franklin b12601e996 RPP: skip layout shift cluster unit test
Bug: 406981939
Change-Id: I0033bff92181ed9541b0dc05e1bedad07c5e2bd2
No-Tree-Checks: True
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6408652
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Andres Olivares <andoli@chromium.org>
Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
Reviewed-by: Alina Varkki <alinavarkki@chromium.org>
2025-03-28 09:48:18 -07:00
Jack Franklin d8698b71e3 Annotations: new prompt to reduce "responsiveness"
The mention of responsiveness in the prompt really made the AI use
it...a lot! This version seems better. By asking the AI to not focus so
much on "user visible impact" we reduce how much it talks about "user
interaction responsiveness" which really isn't helpful.

Bug: 400357484
Change-Id: Id9f594b3af34bd733e6a3fe61c21aeef0cb1a1ed
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6408872
Commit-Queue: Alina Varkki <alinavarkki@chromium.org>
Reviewed-by: Alina Varkki <alinavarkki@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
2025-03-28 09:44:33 -07:00
Andrés Olivares cee49a9b62 [RPP] Fix network request details layout
Margins and spacing between items was off.
Before: https://screenshot.googleplex.com/3Rz759PHWKxbFqp
After: https://screenshot.googleplex.com/3xTGaLkE2E5dqco

Fixed: 406990013
Change-Id: I5f7ec7f1bb2ad5b5a2fab0acf5fc6eae3edfedb8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6404821
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2025-03-28 09:27:48 -07:00
Philip Pfaffe cb1e1ed98e Automatically reopen tooltips on rerender
When a tooltip gets detached without being closed and then gets replaced by a tooltip with the same id, the new tooltip is automatically reopend once connected. This addresses an issue in the styles tab where property values are rerendered entirely on changes.

Fixed: 404720158
Change-Id: I9e0f40f42898343faf112dc92127463fc7cab7f8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6387117
Auto-Submit: Philip Pfaffe <pfaffe@chromium.org>
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
Reviewed-by: Kateryna Prokopenko <kprokopenko@chromium.org>
2025-03-28 08:28:05 -07:00
Mike West 0a15a0f000 Refactor SRIMessageSignatureIssue.
This CL doesn't introduce any behavioral change, but simply reworks the
implementation of `SRIMessageSignatureIssue` for clarity and concision.

Bug: 381044049
Change-Id: I726aa4e5f9249f1d2f1992f64c1b9821cf3ac8c0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6395499
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2025-03-28 08:13:19 -07:00
Kim-Anh Tran 7de602ae97 [GM3Restyling] Update swatch popover helper and CSSPlugin
Both open the color picker in different environments (GlassPane, and Codemirror Tooltips).

Screenshots: https://imgur.com/a/js6wjcU
Bug: 406706611
Change-Id: I14e78949c6246dada6897604e9d1f5c6169d398e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6400616
Reviewed-by: Kateryna Prokopenko <kprokopenko@chromium.org>
Commit-Queue: Kim-Anh Tran <kimanh@chromium.org>
2025-03-28 07:56:51 -07:00
Eric Leese 3dffede8b4 Change error path rewriting to work in full chromium checkout
Instead of calculating the path relative to the root of the
DevTools source tree, we now just remove "../../" to get the
relative path. This makes terminal links in vscode work in
full Chromium checkouts as well as devtools only checkouts.

Bug: None
Change-Id: I7bf410c353c5929bc9a0ef064449fa88f3bc1264
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6405079
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org>
2025-03-28 07:14:10 -07:00
Kateryna Prokopenko 4ec68419bb [GM3Restyling] Update GlassPane tooltip styles
Screenshot: https://imgur.com/a/rhQmTVl

Bug: 406466030
Change-Id: I0444c3f8bd029b277ba17a0e8c445d5fc3827754
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6403633
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
Auto-Submit: Kateryna Prokopenko <kprokopenko@chromium.org>
Commit-Queue: Kateryna Prokopenko <kprokopenko@chromium.org>
2025-03-28 07:12:28 -07:00
Mike West 3fd2e5f67c [SRI Message Signatures] Add an issue for integrity mismatches.
We're now emitting a devtools issue when blocking a response due to
signature-based integrity mismatches. This CL allows devtools to render
those issues when they appear.

This is the Devtools side of a two-sided patch:

1.  (Chromium) https://crrev.com/c/6394978
2.  (Devtools) https://crrev.com/c/6396680 [You are here]

Bug: 406424762
Change-Id: Iab6817bc42e96ddb080324183c8ba8668b773b41
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6396680
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
2025-03-28 07:06:25 -07:00
devtools-ci-autoroll-builder f8ac7f1115 Roll browser-protocol
This roll requires a manual review. See http://go/reviewed-rolls for guidance.

In case of failures or errors, reach out to someone from config/owner/COMMON_OWNERS.

Roll created at https://cr-buildbucket.appspot.com/build/8719154614336360705

R=devtools-waterfall-sheriff-onduty@rotations.google.com

Bug: none
Change-Id: Icce628cee263057ad4833e080d972a50749ad771
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6405895
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
2025-03-28 07:01:21 -07:00
Benedikt Meurer 1022e32645 [npm] Allow to select (unstable) features with npm start.
This adds an option `--enable-unstable-features`, which now also turns
on multimodal support for Freestyler.

It also adds `--enable-features` and `--disable-features`, to allow more
fine-grained control over the exact feature set when necessary.

Fixed: 406941932
Change-Id: I7fcecbba833a2e0a66166890aa5af218ae2a8f7e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6404318
Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org>
2025-03-28 06:40:16 -07:00
Wolfgang Beyer 6353dded50 [Patch agent] Remove first-run-disclaimer
The disclaimer was only needed for connecting workspaces from within
the patch agent UI. Since the patch agent now only uses workspaces if
they have already been set up before via the Sources panel, the
patch agent's first-run-disclaimer can be removed.

Fixed: 406686142
Change-Id: I18b28475ac9904fd65a8041f96d36986804169c1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6405319
Commit-Queue: Ergün Erdoğmuş <ergunsh@chromium.org>
Reviewed-by: Ergün Erdoğmuş <ergunsh@chromium.org>
Auto-Submit: Wolfgang Beyer <wolfi@chromium.org>
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
2025-03-28 05:55:58 -07:00
devtools-ci-autoroll-builder ea6ee6962f Update Chrome (for Testing) PIN
Chromium pin updated to 136.0.7095.0

Roll created at https://cr-buildbucket.appspot.com/build/8719154614336360705

Bug: none
Change-Id: I0d6b6042aad05959fb0e59d209a92f9a66284584
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6405894
Commit-Queue: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
2025-03-28 05:43:41 -07:00
Ergun Erdogmus d0889db8ba [Memory] Release all animations before memory operations
This is a workaround to remove user facing issue of having detached
elements in the profiles because of the animations panel.

What happens is, we keep the animations for replay in the animations panel.
However, when a DOM node is removed; we still keep the
animation related to the DOM node in the animations panel and
this causes the node to be retained and show up in the memory
profiles as detached elements.

Fixed: 400635410
Change-Id: I686799c1069978fbb78250d88ae6459a5ee26572
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6406316
Reviewed-by: Danil Somsikov <dsv@chromium.org>
Commit-Queue: Ergün Erdoğmuş <ergunsh@chromium.org>
2025-03-28 05:27:11 -07:00
Jack Franklin 2dfe19495e RPP: disable flaking LayoutShiftDetails test
I will follow-up and investigate but disabling to get tree green.

Bug: 406981939
Change-Id: I7e2a546795ef26f218d4fea35086bf9e4ac77d7a
No-Tree-Checks: True
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6406895
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Ergün Erdoğmuş <ergunsh@chromium.org>
Reviewed-by: Ergün Erdoğmuş <ergunsh@chromium.org>
2025-03-28 05:25:01 -07:00
Connor Clark e7a6489e5c Enable projectService for TypeScript files in eslint config
Enabling this is required for rules that need to use the types as
resolved by the TypeScript compiler.

The no-floating-promises rule was missing some stuff due to missing
types, so this CL resolves that too. Also, return-await kicked up more
stuff.

A warm run of `npm run lint` went from ~23s to ~35s on my M1 Mac.

Bug: 406518012
Change-Id: I0c413e2ca14ee903851fd8404e490335c7f8aae0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6397499
Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
2025-03-28 05:02:27 -07:00
Nikolay Vitkov acf22bf573 Move to build deps to devDeps
This is not part of the bundled part.
Make that separation.

Bug: none
Change-Id: I9f8dda77b0526cb2b2f0cb7e8d4ac2469137894d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6406322
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
2025-03-28 05:01:24 -07:00
Jack Franklin 5c9a3b6b59 Karma: apply patch to prevent timeouts after test complete
In github.com/karma-runner/karma/pull/3852 it is suggested that the 30s
timeout issue with Karma can be seen when:

1. All the tests complete, which sets the state of Karma to
   "disconnected"
2. But there is some async activity which logs, or something. This
   causes Karma to restart its 30s timeout, but no more messages will be
   received.

This is a bit experimental, but trying this patch to see if it has a
positive impact on CQ.

Bug: 406729910
Change-Id: Iaaa9247c801e193e5782a0da4857d804bcc45a92
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6407593
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
2025-03-28 04:41:42 -07:00