[security] Render the origin display with Lit [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Hojeong Park (Gerrit)

unread,
Jun 25, 2026, 12:37:26 PM (9 days ago) Jun 25
to Danil Somsikov, devtools-rev...@chromium.org
Attention needed from Danil Somsikov

Hojeong Park added 1 comment

File front_end/panels/security/SecurityPanel.ts
Line 535, Patchset 1:export function createHighlightedUrl(url: Platform.DevToolsPath.UrlString, securityState: string): Element {
Danil Somsikov . resolved
Why don't we use the new function right away? It is only used in tests and at single point in this file. There you can simply do
```
render(
renderHighlightedUrl(createHighlightedUrl(origin, originState.securityState),
originDisplay);
```
Hojeong Park
Thanks. Done for the origin view.                                                                                                                                                                       

But I kept createHighlightedUrl since SecurityPanelSidebar also uses it and needs an Element there. SettingsUI.createControlForSetting follows the same pattern. What do you think?
Open in Gerrit

Related details

Attention is currently required from:
  • Danil Somsikov
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
Gerrit-Change-Number: 7969697
Gerrit-PatchSet: 3
Gerrit-Owner: Hojeong Park <park...@gmail.com>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Attention: Danil Somsikov <d...@chromium.org>
Gerrit-Comment-Date: Thu, 25 Jun 2026 16:37:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Danil Somsikov <d...@chromium.org>
unsatisfied_requirement
open
diffy

Danil Somsikov (Gerrit)

unread,
Jun 25, 2026, 12:55:55 PM (9 days ago) Jun 25
to Hojeong Park, devtools-rev...@chromium.org
Attention needed from Hojeong Park

Danil Somsikov voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Hojeong Park
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
Gerrit-Change-Number: 7969697
Gerrit-PatchSet: 3
Gerrit-Owner: Hojeong Park <park...@gmail.com>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Attention: Hojeong Park <park...@gmail.com>
Gerrit-Comment-Date: Thu, 25 Jun 2026 16:55:50 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Alina Varkki (Gerrit)

unread,
Jun 30, 2026, 5:37:34 AM (4 days ago) Jun 30
to Hojeong Park, Danil Somsikov, devtools-rev...@chromium.org
Attention needed from Hojeong Park

Alina Varkki voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Hojeong Park
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
Gerrit-Change-Number: 7969697
Gerrit-PatchSet: 3
Gerrit-Owner: Hojeong Park <park...@gmail.com>
Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Attention: Hojeong Park <park...@gmail.com>
Gerrit-Comment-Date: Tue, 30 Jun 2026 09:37:30 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Hojeong Park (Gerrit)

unread,
Jun 30, 2026, 9:51:57 AM (4 days ago) Jun 30
to Alina Varkki, Danil Somsikov, devtools-rev...@chromium.org

Hojeong Park added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Hojeong Park . resolved

Thanks for the review. This is ready to submit, but I don't have permission. Could you submit this for me?

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
Gerrit-Change-Number: 7969697
Gerrit-PatchSet: 3
Gerrit-Owner: Hojeong Park <park...@gmail.com>
Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Comment-Date: Tue, 30 Jun 2026 13:51:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Danil Somsikov (Gerrit)

unread,
Jun 30, 2026, 9:54:21 AM (4 days ago) Jun 30
to Hojeong Park, Alina Varkki, devtools-rev...@chromium.org
Attention needed from Hojeong Park

Danil Somsikov voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Hojeong Park
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
Gerrit-Change-Number: 7969697
Gerrit-PatchSet: 3
Gerrit-Owner: Hojeong Park <park...@gmail.com>
Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Attention: Hojeong Park <park...@gmail.com>
Gerrit-Comment-Date: Tue, 30 Jun 2026 13:54:16 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Hojeong Park (Gerrit)

unread,
Jun 30, 2026, 1:47:58 PM (4 days ago) Jun 30
to devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, Danil Somsikov, Alina Varkki, devtools-rev...@chromium.org
Attention needed from Danil Somsikov

Hojeong Park added 1 comment

Patchset-level comments
Hojeong Park . resolved

The failing checks are DevTools web tests that dump the deep DOM.

This seems to need a Chromium-side rebaseline. What do you think?

Open in Gerrit

Related details

Attention is currently required from:
  • Danil Somsikov
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
Gerrit-Change-Number: 7969697
Gerrit-PatchSet: 3
Gerrit-Owner: Hojeong Park <park...@gmail.com>
Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Attention: Danil Somsikov <d...@chromium.org>
Gerrit-Comment-Date: Tue, 30 Jun 2026 17:47:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Danil Somsikov (Gerrit)

unread,
Jul 2, 2026, 4:35:13 AM (2 days ago) Jul 2
to Hojeong Park, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, Alina Varkki, devtools-rev...@chromium.org
Attention needed from Hojeong Park

Danil Somsikov added 1 comment

Patchset-level comments
Hojeong Park . unresolved

The failing checks are DevTools web tests that dump the deep DOM.

This seems to need a Chromium-side rebaseline. What do you think?

Danil Somsikov

Yup. Disable the chromium test first (in the TestExpectations file), land this, wait for the roll, and rebaseline and re-enable then.

Open in Gerrit

Related details

Attention is currently required from:
  • Hojeong Park
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
    Gerrit-Change-Number: 7969697
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hojeong Park <park...@gmail.com>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
    Gerrit-Attention: Hojeong Park <park...@gmail.com>
    Gerrit-Comment-Date: Thu, 02 Jul 2026 08:35:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Hojeong Park <park...@gmail.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Hojeong Park (Gerrit)

    unread,
    Jul 3, 2026, 1:49:38 AM (yesterday) Jul 3
    to devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, Danil Somsikov, Alina Varkki, devtools-rev...@chromium.org
    Attention needed from Alina Varkki and Danil Somsikov

    Hojeong Park added 1 comment

    Patchset-level comments
    File-level comment, Patchset 3:
    Hojeong Park . resolved

    The failing checks are DevTools web tests that dump the deep DOM.

    This seems to need a Chromium-side rebaseline. What do you think?

    Danil Somsikov

    Yup. Disable the chromium test first (in the TestExpectations file), land this, wait for the roll, and rebaseline and re-enable then.

    Hojeong Park

    Thanks for explaining. I made a CL to disable the Chromium tests: crrev.com/c/8038580

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alina Varkki
    • Danil Somsikov
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
    Gerrit-Change-Number: 7969697
    Gerrit-PatchSet: 4
    Gerrit-Attention: Alina Varkki <alina...@chromium.org>
    Gerrit-Attention: Danil Somsikov <d...@chromium.org>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 05:49:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Hojeong Park <park...@gmail.com>
    Comment-In-Reply-To: Danil Somsikov <d...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Danil Somsikov (Gerrit)

    unread,
    Jul 3, 2026, 4:34:21 AM (yesterday) Jul 3
    to Hojeong Park, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, Alina Varkki, devtools-rev...@chromium.org
    Attention needed from Alina Varkki and Hojeong Park

    Danil Somsikov voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alina Varkki
    • Hojeong Park
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
    Gerrit-Change-Number: 7969697
    Gerrit-PatchSet: 4
    Gerrit-Owner: Hojeong Park <park...@gmail.com>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
    Gerrit-Attention: Alina Varkki <alina...@chromium.org>
    Gerrit-Attention: Hojeong Park <park...@gmail.com>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 08:34:17 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alina Varkki (Gerrit)

    unread,
    Jul 3, 2026, 5:07:49 AM (yesterday) Jul 3
    to Hojeong Park, Danil Somsikov, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
    Attention needed from Hojeong Park

    Alina Varkki voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hojeong Park
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
    Gerrit-Change-Number: 7969697
    Gerrit-PatchSet: 4
    Gerrit-Owner: Hojeong Park <park...@gmail.com>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
    Gerrit-Attention: Hojeong Park <park...@gmail.com>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 09:07:46 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Hojeong Park (Gerrit)

    unread,
    Jul 3, 2026, 10:03:37 AM (yesterday) Jul 3
    to Alina Varkki, Danil Somsikov, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org

    Hojeong Park added 1 comment

    Patchset-level comments
    File-level comment, Patchset 4 (Latest):
    Hojeong Park . resolved

    Since CL 8038580 has landed, would it be okay to land this CL?

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
    Gerrit-Change-Number: 7969697
    Gerrit-PatchSet: 4
    Gerrit-Owner: Hojeong Park <park...@gmail.com>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 14:03:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    Danil Somsikov (Gerrit)

    unread,
    Jul 3, 2026, 10:39:36 AM (yesterday) Jul 3
    to Hojeong Park, Alina Varkki, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
    Attention needed from Hojeong Park

    Danil Somsikov voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hojeong Park
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
    Gerrit-Change-Number: 7969697
    Gerrit-PatchSet: 4
    Gerrit-Owner: Hojeong Park <park...@gmail.com>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
    Gerrit-Attention: Hojeong Park <park...@gmail.com>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 14:39:32 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com (Gerrit)

    unread,
    Jul 3, 2026, 11:10:40 AM (yesterday) Jul 3
    to Hojeong Park, Danil Somsikov, Alina Varkki, devtools-rev...@chromium.org

    devtools-fro...@luci-project-accounts.iam.gserviceaccount.com submitted the change

    Change information

    Commit message:
    [security] Render the origin display with Lit

    `SecurityOriginView` renders its security-state icon and highlighted URL
    with Lit in `#renderOriginDisplay`, called on construction and on
    security state changes. `createHighlightedUrl` is kept for
    `SecurityPanelSidebar`.
    Bug: None
    Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
    Reviewed-by: Alina Varkki <alina...@chromium.org>
    Reviewed-by: Danil Somsikov <d...@chromium.org>
    Commit-Queue: Danil Somsikov <d...@chromium.org>
    Files:
    • M AUTHORS
    • M front_end/panels/security/SecurityPanel.test.ts
    • M front_end/panels/security/SecurityPanel.ts
    Change size: M
    Delta: 3 files changed, 63 insertions(+), 23 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Danil Somsikov, +1 by Alina Varkki
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I3e848731515f51efe4e989609a7604613fc8e986
    Gerrit-Change-Number: 7969697
    Gerrit-PatchSet: 5
    Gerrit-Owner: Hojeong Park <park...@gmail.com>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages